mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] RDMA/irdma: fix Kconfig dependency
@ 2025-11-17 12:05 Wentao Guan
  2025-11-21 17:35 ` Nikolova, Tatyana E
  0 siblings, 1 reply; 3+ messages in thread
From: Wentao Guan @ 2025-11-17 12:05 UTC (permalink / raw)
  To: leon
  Cc: shiraz.saleem, tatyana.e.nikolova, linux-rdma, linux-kernel,
	zhanjun, niecheng1, Wentao Guan, stable

Any combination of (IDPF || ICE || I40E) can register auxiliary_dev,
so use '||' instead of '&&' in IRDMA config.

Cc: stable@vger.kernel.org
Fixes: 060842fed53f ("RDMA/irdma: Update Kconfig")
Fixes: fa0cf568fd76 ("RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw")
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>

---
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-11-22  5:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-17 12:05 [PATCH] RDMA/irdma: fix Kconfig dependency Wentao Guan
2025-11-21 17:35 ` Nikolova, Tatyana E
2025-11-22  5:28   ` Wentao Guan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®