mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-16 09:13:55 +08:00
533d1daea8
Several subsystems depend on INFINIBAND_ADDR_TRANS, which in turn depends
on INFINIBAND. However, when with CONFIG_INIFIBAND=m, this leads to a
link error when another driver using it is built-in. The
INFINIBAND_ADDR_TRANS dependency is insufficient here as this is
a 'bool' symbol that does not force anything to be a module in turn.
fs/cifs/smbdirect.o: In function `smbd_disconnect_rdma_work':
smbdirect.c:(.text+0x1e4): undefined reference to `rdma_disconnect'
net/9p/trans_rdma.o: In function `rdma_request':
trans_rdma.c:(.text+0x7bc): undefined reference to `rdma_disconnect'
net/9p/trans_rdma.o: In function `rdma_destroy_trans':
trans_rdma.c:(.text+0x830): undefined reference to `ib_destroy_qp'
trans_rdma.c:(.text+0x858): undefined reference to `ib_dealloc_pd'
Fixes: 9533b292a7
("IB: remove redundant INFINIBAND kconfig dependencies")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
28 lines
655 B
Plaintext
28 lines
655 B
Plaintext
|
|
config RDS
|
|
tristate "The RDS Protocol"
|
|
depends on INET
|
|
---help---
|
|
The RDS (Reliable Datagram Sockets) protocol provides reliable,
|
|
sequenced delivery of datagrams over Infiniband or TCP.
|
|
|
|
config RDS_RDMA
|
|
tristate "RDS over Infiniband"
|
|
depends on RDS && INFINIBAND && INFINIBAND_ADDR_TRANS
|
|
---help---
|
|
Allow RDS to use Infiniband as a transport.
|
|
This transport supports RDMA operations.
|
|
|
|
config RDS_TCP
|
|
tristate "RDS over TCP"
|
|
depends on RDS
|
|
---help---
|
|
Allow RDS to use TCP as a transport.
|
|
This transport does not support RDMA operations.
|
|
|
|
config RDS_DEBUG
|
|
bool "RDS debugging messages"
|
|
depends on RDS
|
|
default n
|
|
|