Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RDMA/ionic: Add Makefile/Kconfig to kernel build environment

Add ionic to the kernel build environment.

Co-developed-by: Allen Hubbe <allen.hubbe@amd.com>
Signed-off-by: Allen Hubbe <allen.hubbe@amd.com>
Signed-off-by: Abhijit Gangurde <abhijit.gangurde@amd.com>
Link: https://patch.msgid.link/20250903061606.4139957-15-abhijit.gangurde@amd.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>

authored by

Abhijit Gangurde and committed by
Leon Romanovsky
6603fbf1 ea4c3996

+88
+1
Documentation/networking/device_drivers/ethernet/index.rst
··· 50 50 neterion/s2io 51 51 netronome/nfp 52 52 pensando/ionic 53 + pensando/ionic_rdma 53 54 smsc/smc9 54 55 stmicro/stmmac 55 56 ti/cpsw
+52
Documentation/networking/device_drivers/ethernet/pensando/ionic_rdma.rst
··· 1 + .. SPDX-License-Identifier: GPL-2.0+ 2 + 3 + =========================================================== 4 + RDMA Driver for the AMD Pensando(R) Ethernet adapter family 5 + =========================================================== 6 + 7 + AMD Pensando RDMA driver. 8 + Copyright (C) 2018-2025, Advanced Micro Devices, Inc. 9 + 10 + Overview 11 + ======== 12 + 13 + The ionic_rdma driver provides Remote Direct Memory Access functionality 14 + for AMD Pensando DSC (Distributed Services Card) devices. This driver 15 + implements RDMA capabilities as an auxiliary driver that operates in 16 + conjunction with the ionic ethernet driver. 17 + 18 + The ionic ethernet driver detects RDMA capability during device 19 + initialization and creates auxiliary devices that the ionic_rdma driver 20 + binds to, establishing the RDMA data path and control interfaces. 21 + 22 + Identifying the Adapter 23 + ======================= 24 + 25 + See Documentation/networking/device_drivers/ethernet/pensando/ionic.rst 26 + for more information on identifying the adapter. 27 + 28 + Enabling the driver 29 + =================== 30 + 31 + The ionic_rdma driver depends on the ionic ethernet driver. 32 + See Documentation/networking/device_drivers/ethernet/pensando/ionic.rst 33 + for detailed information on enabling and configuring the ionic driver. 34 + 35 + The ionic_rdma driver is enabled via the standard kernel configuration system, 36 + using the make command:: 37 + 38 + make oldconfig/menuconfig/etc. 39 + 40 + The driver is located in the menu structure at: 41 + 42 + -> Device Drivers 43 + -> InfiniBand support 44 + -> AMD Pensando DSC RDMA/RoCE Support 45 + 46 + Support 47 + ======= 48 + 49 + For general Linux RDMA support, please use the RDMA mailing 50 + list, which is monitored by AMD Pensando personnel:: 51 + 52 + linux-rdma@vger.kernel.org
+9
MAINTAINERS
··· 1176 1176 F: drivers/net/ethernet/amd/pds_core/ 1177 1177 F: include/linux/pds/ 1178 1178 1179 + AMD PENSANDO RDMA DRIVER 1180 + M: Abhijit Gangurde <abhijit.gangurde@amd.com> 1181 + M: Allen Hubbe <allen.hubbe@amd.com> 1182 + L: linux-rdma@vger.kernel.org 1183 + S: Maintained 1184 + F: Documentation/networking/device_drivers/ethernet/pensando/ionic_rdma.rst 1185 + F: drivers/infiniband/hw/ionic/ 1186 + F: include/uapi/rdma/ionic-abi.h 1187 + 1179 1188 AMD PMC DRIVER 1180 1189 M: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 1181 1190 L: platform-driver-x86@vger.kernel.org
+1
drivers/infiniband/Kconfig
··· 85 85 source "drivers/infiniband/hw/erdma/Kconfig" 86 86 source "drivers/infiniband/hw/hfi1/Kconfig" 87 87 source "drivers/infiniband/hw/hns/Kconfig" 88 + source "drivers/infiniband/hw/ionic/Kconfig" 88 89 source "drivers/infiniband/hw/irdma/Kconfig" 89 90 source "drivers/infiniband/hw/mana/Kconfig" 90 91 source "drivers/infiniband/hw/mlx4/Kconfig"
+1
drivers/infiniband/hw/Makefile
··· 14 14 obj-$(CONFIG_INFINIBAND_QEDR) += qedr/ 15 15 obj-$(CONFIG_INFINIBAND_BNXT_RE) += bnxt_re/ 16 16 obj-$(CONFIG_INFINIBAND_ERDMA) += erdma/ 17 + obj-$(CONFIG_INFINIBAND_IONIC) += ionic/
+15
drivers/infiniband/hw/ionic/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + # Copyright (C) 2018-2025, Advanced Micro Devices, Inc. 3 + 4 + config INFINIBAND_IONIC 5 + tristate "AMD Pensando DSC RDMA/RoCE Support" 6 + depends on NETDEVICES && ETHERNET && PCI && INET && IONIC 7 + help 8 + This enables RDMA/RoCE support for the AMD Pensando family of 9 + Distributed Services Cards (DSCs). 10 + 11 + To learn more, visit our website at 12 + <https://www.amd.com/en/products/accelerators/pensando.html>. 13 + 14 + To compile this driver as a module, choose M here. The module 15 + will be called ionic_rdma.
+9
drivers/infiniband/hw/ionic/Makefile
··· 1 + # SPDX-License-Identifier: GPL-2.0 2 + 3 + ccflags-y := -I $(srctree)/drivers/net/ethernet/pensando/ionic 4 + 5 + obj-$(CONFIG_INFINIBAND_IONIC) += ionic_rdma.o 6 + 7 + ionic_rdma-y := \ 8 + ionic_ibdev.o ionic_lif_cfg.o ionic_queue.o ionic_pgtbl.o ionic_admin.o \ 9 + ionic_controlpath.o ionic_datapath.o ionic_hw_stats.o