Skip to contentSkip to conversation

IB/rxe: Change RDMA_RXE kconfig to use select

PATCH Applied Jason Gunthorpe 2 participants 2 messages Jan 26, 2018 – Jan 29, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IB/rxe: Change RDMA_RXE kconfig to use select

NET_UDP_TUNNEL is not user selectable, so it should be used as a select in kconfig.

CRYPTO_CRC32 is a required library for RDMA_RXE so it should active automatically, as most other CRYPTO_ users do.

---
 drivers/infiniband/sw/rxe/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Make configuring work better

drivers/infiniband/sw/rxe/Kconfig +2 -2
index 320bffc980d87d..bad4a576d7cf13 100644
@@ -1,8 +1,8 @@
 config RDMA_RXE
 	tristate "Software RDMA over Ethernet (RoCE) driver"
 	depends on INET && PCI && INFINIBAND
-	depends on NET_UDP_TUNNEL
-	depends on CRYPTO_CRC32
+	select NET_UDP_TUNNEL
+	select CRYPTO_CRC32
 	select DMA_VIRT_OPS
 	---help---
 	This driver implements the InfiniBand RDMA transport over
Signature · 6 lines
2.15.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20180126211833.GA26670-uk2M96/[email protected]

#2 lore raw
Quoted 9 lines · Jason Gunthorpe

NET_UDP_TUNNEL is not user selectable, so it should be used as a select in kconfig.

CRYPTO_CRC32 is a required library for RDMA_RXE so it should active automatically, as most other CRYPTO_ users do.

 drivers/infiniband/sw/rxe/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Applied

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html