aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/Kconfig
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2018-05-09 22:48:41 +0100
committerDoug Ledford <dledford@redhat.com>2018-05-15 10:48:16 -0400
commite02637e97d68a54b1527bc654bf8377eda310226 (patch)
tree8e129203e4d7641d359a2a3b7789cf08914a45ce /drivers/infiniband/sw/rxe/Kconfig
parentMerge tag 'mlx5-updates-2018-05-07' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux into k.o/wip/dl-for-next (diff)
downloadlinux-dev-e02637e97d68a54b1527bc654bf8377eda310226.tar.xz
linux-dev-e02637e97d68a54b1527bc654bf8377eda310226.zip
IB: Fix RDMA_RXE and INFINIBAND_RDMAVT dependencies for DMA_VIRT_OPS
DMA_VIRT_OPS requires that dma_addr_t is at least as wide as a pointer, which is expressed as a dependency on !64BIT || ARCH_DMA_ADDR_T_64BIT. For parisc64 this is not true, and if these IB modules are enabled, kconfig warns: WARNING: unmet direct dependencies detected for DMA_VIRT_OPS Depends on [n]: HAS_DMA [=y] && (!64BIT [=y] || ARCH_DMA_ADDR_T_64BIT) Selected by [m]: - INFINIBAND_RDMAVT [=m] && INFINIBAND [=m] && 64BIT [=y] && PCI [=y] - RDMA_RXE [=m] && INET [=y] && PCI [=y] && INFINIBAND [=m] Add dependencies to fix this. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/Kconfig')
-rw-r--r--drivers/infiniband/sw/rxe/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rxe/Kconfig b/drivers/infiniband/sw/rxe/Kconfig
index bad4a576d7cf..67ae960ab523 100644
--- a/drivers/infiniband/sw/rxe/Kconfig
+++ b/drivers/infiniband/sw/rxe/Kconfig
@@ -1,6 +1,7 @@
config RDMA_RXE
tristate "Software RDMA over Ethernet (RoCE) driver"
depends on INET && PCI && INFINIBAND
+ depends on !64BIT || ARCH_DMA_ADDR_T_64BIT
select NET_UDP_TUNNEL
select CRYPTO_CRC32
select DMA_VIRT_OPS