Skip to content

Commit 475f23b

Browse files
julianbrahajgunthorpe
authored andcommitted
RDMA/rxe: Fix missing kconfig dependency on CRYPTO
When RDMA_RXE is enabled and CRYPTO is disabled, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for CRYPTO_CRC32 Depends on [n]: CRYPTO [=n] Selected by [y]: - RDMA_RXE [=y] && (INFINIBAND_USER_ACCESS [=y] || !INFINIBAND_USER_ACCESS [=y]) && INET [=y] && PCI [=y] && INFINIBAND [=y] && INFINIBAND_VIRT_DMA [=y] This is because RDMA_RXE selects CRYPTO_CRC32, without depending on or selecting CRYPTO, despite that config option being subordinate to CRYPTO. Fixes: cee2688 ("IB/rxe: Offload CRC calculation when possible") Signed-off-by: Julian Braha <[email protected]> Link: https://lore.kernel.org/r/21525878.NYvzQUHefP@ubuntu-mate-laptop Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent 221384d commit 475f23b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/infiniband/sw/rxe/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ config RDMA_RXE
44
depends on INET && PCI && INFINIBAND
55
depends on INFINIBAND_VIRT_DMA
66
select NET_UDP_TUNNEL
7+
select CRYPTO
78
select CRYPTO_CRC32
89
help
910
This driver implements the InfiniBand RDMA transport over

0 commit comments

Comments
 (0)