forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RDS: Modularize RDMA and TCP transports
Enable the building of transports as modules. Also, improve consistency of Kconfig messages in relation to other protocols, and move build dependency on IB from the RDS core code to the rds_rdma module. Signed-off-by: Andy Grover <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information
Showing
4 changed files
with
35 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,28 @@ | ||
|
||
config RDS | ||
tristate "Reliable Datagram Sockets (RDS) (EXPERIMENTAL)" | ||
depends on INET && INFINIBAND_IPOIB && EXPERIMENTAL | ||
depends on INFINIBAND && INFINIBAND_ADDR_TRANS | ||
tristate "The RDS Protocol (EXPERIMENTAL)" | ||
depends on INET && EXPERIMENTAL | ||
---help--- | ||
RDS provides reliable, sequenced delivery of datagrams | ||
over Infiniband. | ||
The RDS (Reliable Datagram Sockets) protocol provides reliable, | ||
sequenced delivery of datagrams over Infiniband, iWARP, | ||
or TCP. | ||
|
||
config RDS_RDMA | ||
tristate "RDS over Infiniband and iWARP" | ||
depends on RDS && INFINIBAND && INFINIBAND_ADDR_TRANS | ||
---help--- | ||
Allow RDS to use Infiniband and iWARP 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 "Debugging messages" | ||
bool "RDS debugging messages" | ||
depends on RDS | ||
default n | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -203,6 +203,7 @@ int __init rds_rdma_init(void) | |
out: | ||
return ret; | ||
} | ||
module_init(rds_rdma_init); | ||
|
||
void rds_rdma_exit(void) | ||
{ | ||
|
@@ -211,4 +212,9 @@ void rds_rdma_exit(void) | |
rds_ib_exit(); | ||
rds_iw_exit(); | ||
} | ||
module_exit(rds_rdma_exit); | ||
|
||
MODULE_AUTHOR("Oracle Corporation <[email protected]>"); | ||
MODULE_DESCRIPTION("RDS: IB/iWARP transport"); | ||
MODULE_LICENSE("Dual BSD/GPL"); | ||
|