mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wentao Guan <guanwentao@uniontech.com>
To: leon@kernel.org
Cc: shiraz.saleem@intel.com, tatyana.e.nikolova@intel.com,
	linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
	zhanjun@uniontech.com, niecheng1@uniontech.com,
	Wentao Guan <guanwentao@uniontech.com>,
	stable@vger.kernel.org
Subject: [PATCH] RDMA/irdma: fix Kconfig dependency
Date: Mon, 17 Nov 2025 20:05:51 +0800	[thread overview]
Message-ID: <20251117120551.1672104-1-guanwentao@uniontech.com> (raw)

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


             reply	other threads:[~2025-11-17 12:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-17 12:05 Wentao Guan [this message]
2025-11-21 17:35 ` Nikolova, Tatyana E
2025-11-22  5:28   ` Wentao Guan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251117120551.1672104-1-guanwentao@uniontech.com \
    --to=guanwentao@uniontech.com \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=niecheng1@uniontech.com \
    --cc=shiraz.saleem@intel.com \
    --cc=stable@vger.kernel.org \
    --cc=tatyana.e.nikolova@intel.com \
    --cc=zhanjun@uniontech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®