public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] RDMA/siw: Add missing Kconfig selections
@ 2022-08-31 16:30 Tom Talpey
  2022-09-01  6:47 ` Bernard Metzler
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Tom Talpey @ 2022-08-31 16:30 UTC (permalink / raw)
  To: Jason Gunthorpe, Leon Romanovsky, linux-rdma@vger.kernel.org,
	Bernard Metzler

The SoftiWARP Kconfig is missing "select" for CRYPTO and CRYPTO_CRC32C.

In addition, it improperly "depends on" LIBCRC32C, this should be a
"select", similar to net/sctp and others. As a dependency, SIW fails
to appear in generic configurations.

Signed-off-by: Tom Talpey <tom@talpey.com>
---
  drivers/infiniband/sw/siw/Kconfig | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/infiniband/sw/siw/Kconfig 
b/drivers/infiniband/sw/siw/Kconfig
index 1b5105cbabae..81b70a3eeb87 100644
--- a/drivers/infiniband/sw/siw/Kconfig
+++ b/drivers/infiniband/sw/siw/Kconfig
@@ -1,7 +1,10 @@
  config RDMA_SIW
         tristate "Software RDMA over TCP/IP (iWARP) driver"
-       depends on INET && INFINIBAND && LIBCRC32C
+       depends on INET && INFINIBAND
         depends on INFINIBAND_VIRT_DMA
+       select LIBCRC32C
+       select CRYPTO
+       select CRYPTO_CRC32C
         help
         This driver implements the iWARP RDMA transport over
         the Linux TCP/IP network stack. It enables a system with a

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

end of thread, other threads:[~2022-09-01 13:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-31 16:30 [PATCH] RDMA/siw: Add missing Kconfig selections Tom Talpey
2022-09-01  6:47 ` Bernard Metzler
2022-09-01  7:13 ` Leon Romanovsky
2022-09-01 12:25 ` Jason Gunthorpe
2022-09-01 12:32   ` Leon Romanovsky
2022-09-01 12:50     ` Tom Talpey
2022-09-01 12:51       ` Jason Gunthorpe
2022-09-01 13:14         ` Tom Talpey

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