[PATCH 11/11] RDMA/cxi: wire the driver into the build
From: Doug Ledford
Date: Sat Oct 31 2026 - 00:37:32 EST
Add the Kconfig and Makefile hookup for the CXI RDMA driver and its
MAINTAINERS entry. INFINIBAND_CXIVERBS depends on HPE_SS1, since it
is an auxiliary client of the core driver.
Signed-off-by: Doug Ledford <doug.ledford@xxxxxxx>
---
MAINTAINERS | 9 ++++++++-
drivers/infiniband/Kconfig | 1 +
drivers/infiniband/hw/Makefile | 1 +
drivers/infiniband/hw/cxi/Kconfig | 11 +++++++++++
drivers/infiniband/hw/cxi/Makefile | 5 +++++
5 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 094263bfe4ad..1f0e3447377c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -11546,8 +11546,15 @@ HEWLETT PACKARD ENTERPRISE SLINGSHOT NIC DRIVER
M: Slingshot Open Source Team <slingshot-os-team@xxxxxxxxxxxxxxxxxx>
L: netdev@xxxxxxxxxxxxxxx
S: Supported
-F: include/linux/hpe
F: drivers/net/ethernet/hpe
+F: include/linux/hpe
+
+HEWLETT PACKARD ENTERPRISE CXIVERBS DRIVER
+M: Slingshot Open Source Team <slingshot-os-team@xxxxxxxxxxxxxxxxxx>
+L: linux-rdma@xxxxxxxxxxxxxxx
+S: Supported
+F: drivers/infiniband/hw/cxi
+F: include/uapi/rdma/cxiverbs-abi.h
HEWLETT-PACKARD SMART ARRAY RAID DRIVER (hpsa)
M: Don Brace <don.brace@xxxxxxxxxxxxx>
diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
index 086195758a8a..d0c8040f44c3 100644
--- a/drivers/infiniband/Kconfig
+++ b/drivers/infiniband/Kconfig
@@ -86,6 +86,7 @@ if !UML
source "drivers/infiniband/hw/bnxt_re/Kconfig"
source "drivers/infiniband/hw/bng_re/Kconfig"
source "drivers/infiniband/hw/cxgb4/Kconfig"
+source "drivers/infiniband/hw/cxi/Kconfig"
source "drivers/infiniband/hw/efa/Kconfig"
source "drivers/infiniband/hw/erdma/Kconfig"
source "drivers/infiniband/hw/hfi1/Kconfig"
diff --git a/drivers/infiniband/hw/Makefile b/drivers/infiniband/hw/Makefile
index c42b22ac3303..1ccd2c1be330 100644
--- a/drivers/infiniband/hw/Makefile
+++ b/drivers/infiniband/hw/Makefile
@@ -16,3 +16,4 @@ obj-$(CONFIG_INFINIBAND_BNXT_RE) += bnxt_re/
obj-$(CONFIG_INFINIBAND_BNG_RE) += bng_re/
obj-$(CONFIG_INFINIBAND_ERDMA) += erdma/
obj-$(CONFIG_INFINIBAND_IONIC) += ionic/
+obj-$(CONFIG_INFINIBAND_CXIVERBS) += cxi/
diff --git a/drivers/infiniband/hw/cxi/Kconfig b/drivers/infiniband/hw/cxi/Kconfig
new file mode 100644
index 000000000000..5efa83de744a
--- /dev/null
+++ b/drivers/infiniband/hw/cxi/Kconfig
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0-only
+config INFINIBAND_CXIVERBS
+ tristate "Hewlett Packard Network Adapter support"
+ depends on NETDEVICES && ETHERNET && PCI && HPE_SS1
+ depends on INFINIBAND_USER_ACCESS
+ select AUXILIARY_BUS
+ help
+ This driver provides low-level RDMA support for HPE's Cassini
+ Network Adapter. CXI supports RDMA features that can be used
+ for workloads (e.g. DPDK, MPI etc) that uses RDMA verbs to directly
+ access hardware from user-mode processes.
diff --git a/drivers/infiniband/hw/cxi/Makefile b/drivers/infiniband/hw/cxi/Makefile
new file mode 100644
index 000000000000..b096704947ff
--- /dev/null
+++ b/drivers/infiniband/hw/cxi/Makefile
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+obj-$(CONFIG_INFINIBAND_CXIVERBS) += cxiverbs.o
+
+cxiverbs-y := cxiverbs_drv.o cxiverbs_main.o cxiverbs_mr.o cxiverbs_qp.o \
+ cxiverbs_ct.o cxiverbs_counters.o
--
2.56.0