From: Tatyana Nikolova tatyana.e.nikolova@intel.com
[ Upstream commit 060842fed53f77a73824c9147f51dc6746c1267a ]
Update Kconfig to add dependency on idpf module and add IPU E2000 to the list of supported devices.
Signed-off-by: Tatyana Nikolova tatyana.e.nikolova@intel.com Link: https://patch.msgid.link/20250827152545.2056-17-tatyana.e.nikolova@intel.com Tested-by: Jacob Moroni jmoroni@google.com Signed-off-by: Leon Romanovsky leon@kernel.org Signed-off-by: Sasha Levin sashal@kernel.org ---
LLM Generated explanations, may be completely bogus:
YES – the new dependency avoids a real build break that appears as soon as the GEN3/IDPF support series lands while keeping risk negligible.
- `drivers/infiniband/hw/irdma/ig3rdma_if.c` calls several IDPF-exported helpers (`idpf_idc_rdma_vc_send_sync`, `idpf_idc_request_reset`, `idpf_idc_vport_dev_ctrl`) unconditionally at lines 25, 73, and 188 (`drivers/infiniband/hw/irdma/ig3rdma_if.c:25`, `:73`, `:188`). If `CONFIG_INFINIBAND_IRDMA` is enabled without `CONFIG_IDPF`, modpost reports unresolved symbols and the build fails. - The patch adds the missing `depends on IDPF` requirement to the Kconfig entry (`drivers/infiniband/hw/irdma/Kconfig:6`), so broken configurations are filtered out at menuconfig time instead of failing late in the build. - The help text tweak (`drivers/infiniband/hw/irdma/Kconfig:10-11`) is purely informational and carries no risk. - No functional behavior changes or architectural upheaval are involved; it is a small, self-contained dependency fix squarely in stable’s remit.
drivers/infiniband/hw/irdma/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/infiniband/hw/irdma/Kconfig b/drivers/infiniband/hw/irdma/Kconfig index 5f49a58590ed7..0bd7e3fca1fbb 100644 --- a/drivers/infiniband/hw/irdma/Kconfig +++ b/drivers/infiniband/hw/irdma/Kconfig @@ -4,10 +4,11 @@ config INFINIBAND_IRDMA depends on INET depends on IPV6 || !IPV6 depends on PCI - depends on ICE && I40E + depends on IDPF && ICE && I40E select GENERIC_ALLOCATOR select AUXILIARY_BUS select CRC32 help - This is an Intel(R) Ethernet Protocol Driver for RDMA driver - that support E810 (iWARP/RoCE) and X722 (iWARP) network devices. + This is an Intel(R) Ethernet Protocol Driver for RDMA that + supports IPU E2000 (RoCEv2), E810 (iWARP/RoCEv2) and X722 (iWARP) + network devices.