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>
Cette révision appartient à :
Jack Wang
2020-05-11 15:51:19 +02:00
révisé par Jason Gunthorpe
Parent 91b11610af
révision c013fbc1fd
4 fichiers modifiés avec 44 ajouts et 0 suppressions

Voir le fichier

@@ -5,3 +5,4 @@ obj-$(CONFIG_INFINIBAND_SRPT) += srpt/
obj-$(CONFIG_INFINIBAND_ISER) += iser/
obj-$(CONFIG_INFINIBAND_ISERT) += isert/
obj-$(CONFIG_INFINIBAND_OPA_VNIC) += opa_vnic/
obj-$(CONFIG_INFINIBAND_RTRS) += rtrs/

Voir le fichier

@@ -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.

Voir le fichier

@@ -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