[PATCH] RDMA/irdma: fix Kconfig dependency
From: Wentao Guan
Date: Mon Nov 17 2025 - 07:07:03 EST
Any combination of (IDPF || ICE || I40E) can register auxiliary_dev,
so use '||' instead of '&&' in IRDMA config.
Cc: stable@xxxxxxxxxxxxxxx
Fixes: 060842fed53f ("RDMA/irdma: Update Kconfig")
Fixes: fa0cf568fd76 ("RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw")
Signed-off-by: Wentao Guan <guanwentao@xxxxxxxxxxxxx>
---
PS: found in stable v6.12.58, it makes IRDMA be removed when select ICE+I40E+(!IDPF).
---
---
drivers/infiniband/hw/irdma/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/irdma/Kconfig b/drivers/infiniband/hw/irdma/Kconfig
index 0bd7e3fca1fbb..83a55b23c1325 100644
--- a/drivers/infiniband/hw/irdma/Kconfig
+++ b/drivers/infiniband/hw/irdma/Kconfig
@@ -4,7 +4,7 @@ config INFINIBAND_IRDMA
depends on INET
depends on IPV6 || !IPV6
depends on PCI
- depends on IDPF && ICE && I40E
+ depends on IDPF || ICE || I40E
select GENERIC_ALLOCATOR
select AUXILIARY_BUS
select CRC32
base-commit: 9b9e43704d2b05514aeeaea36311addba2c72408
--
2.20.1