-
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.
RDMA/rtrs: include client and server modules into kernel compilation
Add rtrs Makefile, Kconfig and also corresponding lines into upper layer infiniband/ulp files. Link: https://lore.kernel.org/r/20200511135131.27580-14-danil.kipnis@cloud.ionos.com Signed-off-by: Danil Kipnis <danil.kipnis@cloud.ionos.com> Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
- Loading branch information
Jack Wang
authored and
Jason Gunthorpe
committed
May 17, 2020
1 parent
91b1161
commit c013fbc
Showing
4 changed files
with
44 additions
and
0 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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
config INFINIBAND_RTRS | ||
tristate | ||
depends on INFINIBAND_ADDR_TRANS | ||
|
||
config INFINIBAND_RTRS_CLIENT | ||
tristate "RTRS client module" | ||
depends on INFINIBAND_ADDR_TRANS | ||
select INFINIBAND_RTRS | ||
help | ||
RDMA transport client module. | ||
|
||
RDMA Transport (RTRS) client implements a reliable transport layer | ||
and also multipathing functionality and that it is intended to be | ||
the base layer for a block storage initiator over RDMA. | ||
|
||
config INFINIBAND_RTRS_SERVER | ||
tristate "RTRS server module" | ||
depends on INFINIBAND_ADDR_TRANS | ||
select INFINIBAND_RTRS | ||
help | ||
RDMA transport server module. | ||
|
||
RDMA Transport (RTRS) server module processing connection and IO | ||
requests received from the RTRS client module, it will pass the | ||
IO requests to its user eg. RNBD_server. |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
rtrs-client-y := rtrs-clt.o \ | ||
rtrs-clt-stats.o \ | ||
rtrs-clt-sysfs.o | ||
|
||
rtrs-server-y := rtrs-srv.o \ | ||
rtrs-srv-stats.o \ | ||
rtrs-srv-sysfs.o | ||
|
||
rtrs-core-y := rtrs.o | ||
|
||
obj-$(CONFIG_INFINIBAND_RTRS) += rtrs-core.o | ||
obj-$(CONFIG_INFINIBAND_RTRS_CLIENT) += rtrs-client.o | ||
obj-$(CONFIG_INFINIBAND_RTRS_SERVER) += rtrs-server.o |