Skip to content

Commit b047dcf

Browse files
author
Jakub Ramaseuski
committed
RDMA/ionic: Add Makefile/Kconfig to kernel build environment
JIRA: https://issues.redhat.com/browse/RHEL-121486 commit 6603fbf Author: Abhijit Gangurde <abhijit.gangurde@amd.com> Date: Wed Sep 3 11:46:06 2025 +0530 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> Signed-off-by: Jakub Ramaseuski <jramaseu@redhat.com>
1 parent 69ffc45 commit b047dcf

File tree

7 files changed

+88
-0
lines changed

7 files changed

+88
-0
lines changed

Documentation/networking/device_drivers/ethernet/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Contents:
4949
neterion/s2io
5050
netronome/nfp
5151
pensando/ionic
52+
pensando/ionic_rdma
5253
smsc/smc9
5354
stmicro/stmmac
5455
ti/cpsw
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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

MAINTAINERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,15 @@ F: Documentation/networking/device_drivers/ethernet/amd/pds_core.rst
11431143
F: drivers/net/ethernet/amd/pds_core/
11441144
F: include/linux/pds/
11451145

1146+
AMD PENSANDO RDMA DRIVER
1147+
M: Abhijit Gangurde <abhijit.gangurde@amd.com>
1148+
M: Allen Hubbe <allen.hubbe@amd.com>
1149+
L: linux-rdma@vger.kernel.org
1150+
S: Maintained
1151+
F: Documentation/networking/device_drivers/ethernet/pensando/ionic_rdma.rst
1152+
F: drivers/infiniband/hw/ionic/
1153+
F: include/uapi/rdma/ionic-abi.h
1154+
11461155
AMD PMC DRIVER
11471156
M: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
11481157
L: platform-driver-x86@vger.kernel.org

drivers/infiniband/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ source "drivers/infiniband/hw/efa/Kconfig"
8585
source "drivers/infiniband/hw/erdma/Kconfig"
8686
source "drivers/infiniband/hw/hfi1/Kconfig"
8787
source "drivers/infiniband/hw/hns/Kconfig"
88+
source "drivers/infiniband/hw/ionic/Kconfig"
8889
source "drivers/infiniband/hw/irdma/Kconfig"
8990
source "drivers/infiniband/hw/mana/Kconfig"
9091
source "drivers/infiniband/hw/mlx4/Kconfig"

drivers/infiniband/hw/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ obj-$(CONFIG_INFINIBAND_HNS) += hns/
1515
obj-$(CONFIG_INFINIBAND_QEDR) += qedr/
1616
obj-$(CONFIG_INFINIBAND_BNXT_RE) += bnxt_re/
1717
obj-$(CONFIG_INFINIBAND_ERDMA) += erdma/
18+
obj-$(CONFIG_INFINIBAND_IONIC) += ionic/
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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

0 commit comments

Comments
 (0)