All of lore.kernel.org
 help / color / mirror / Atom feed
From: Danil Kipnis <danil.kipnis@cloud.ionos.com>
To: linux-block@vger.kernel.org, linux-rdma@vger.kernel.org
Cc: axboe@kernel.dk, hch@infradead.org, sagi@grimberg.me,
	bvanassche@acm.org, leon@kernel.org, dledford@redhat.com,
	jgg@ziepe.ca, danil.kipnis@cloud.ionos.com,
	jinpu.wang@cloud.ionos.com, pankaj.gupta@cloud.ionos.com
Subject: [PATCH v14 13/25] RDMA/rtrs: include client and server modules into kernel compilation
Date: Mon,  4 May 2020 16:01:03 +0200	[thread overview]
Message-ID: <20200504140115.15533-14-danil.kipnis@cloud.ionos.com> (raw)
In-Reply-To: <20200504140115.15533-1-danil.kipnis@cloud.ionos.com>

From: Jack Wang <jinpu.wang@cloud.ionos.com>

Add rtrs Makefile, Kconfig and also corresponding lines into upper
layer infiniband/ulp files.

Signed-off-by: Danil Kipnis <danil.kipnis@cloud.ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
---
 drivers/infiniband/Kconfig           |  1 +
 drivers/infiniband/ulp/Makefile      |  1 +
 drivers/infiniband/ulp/rtrs/Kconfig  | 27 +++++++++++++++++++++++++++
 drivers/infiniband/ulp/rtrs/Makefile | 15 +++++++++++++++
 4 files changed, 44 insertions(+)
 create mode 100644 drivers/infiniband/ulp/rtrs/Kconfig
 create mode 100644 drivers/infiniband/ulp/rtrs/Makefile

diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig
index ade86388434f..477418b37786 100644
--- a/drivers/infiniband/Kconfig
+++ b/drivers/infiniband/Kconfig
@@ -107,6 +107,7 @@ source "drivers/infiniband/ulp/srpt/Kconfig"
 
 source "drivers/infiniband/ulp/iser/Kconfig"
 source "drivers/infiniband/ulp/isert/Kconfig"
+source "drivers/infiniband/ulp/rtrs/Kconfig"
 
 source "drivers/infiniband/ulp/opa_vnic/Kconfig"
 
diff --git a/drivers/infiniband/ulp/Makefile b/drivers/infiniband/ulp/Makefile
index 437813c7b481..4d0004b58377 100644
--- a/drivers/infiniband/ulp/Makefile
+++ b/drivers/infiniband/ulp/Makefile
@@ -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/
diff --git a/drivers/infiniband/ulp/rtrs/Kconfig b/drivers/infiniband/ulp/rtrs/Kconfig
new file mode 100644
index 000000000000..9092b62e6dc8
--- /dev/null
+++ b/drivers/infiniband/ulp/rtrs/Kconfig
@@ -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.
diff --git a/drivers/infiniband/ulp/rtrs/Makefile b/drivers/infiniband/ulp/rtrs/Makefile
new file mode 100644
index 000000000000..3898509be270
--- /dev/null
+++ b/drivers/infiniband/ulp/rtrs/Makefile
@@ -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
-- 
2.20.1


  parent reply	other threads:[~2020-05-04 14:02 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04 14:00 [PATCH v14 00/25] RTRS (former IBTRS) RDMA Transport Library and RNBD (former IBNBD) RDMA Network Block Device Danil Kipnis
2020-05-04 14:00 ` [PATCH v14 01/25] sysfs: export sysfs_remove_file_self() Danil Kipnis
2020-05-04 14:00 ` [PATCH v14 02/25] RDMA/rtrs: public interface header to establish RDMA connections Danil Kipnis
2020-05-04 14:00 ` [PATCH v14 03/25] RDMA/rtrs: private headers with rtrs protocol structs and helpers Danil Kipnis
2020-05-04 14:00 ` [PATCH v14 04/25] RDMA/rtrs: core: lib functions shared between client and server modules Danil Kipnis
2020-05-04 14:00 ` [PATCH v14 05/25] RDMA/rtrs: client: private header with client structs and functions Danil Kipnis
2020-05-04 14:00 ` [PATCH v14 06/25] RDMA/rtrs: client: main functionality Danil Kipnis
2020-05-04 14:00 ` [PATCH v14 07/25] RDMA/rtrs: client: statistics functions Danil Kipnis
2020-05-04 14:00 ` [PATCH v14 08/25] RDMA/rtrs: client: sysfs interface functions Danil Kipnis
2020-05-04 14:00 ` [PATCH v14 09/25] RDMA/rtrs: server: private header with server structs and functions Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 10/25] RDMA/rtrs: server: main functionality Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 11/25] RDMA/rtrs: server: statistics functions Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 12/25] RDMA/rtrs: server: sysfs interface functions Danil Kipnis
2020-05-04 14:01 ` Danil Kipnis [this message]
2020-05-04 14:01 ` [PATCH v14 14/25] RDMA/rtrs: a bit of documentation Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 15/25] block/rnbd: private headers with rnbd protocol structs and helpers Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 16/25] block/rnbd: client: private header with client structs and functions Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 17/25] block/rnbd: client: main functionality Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 18/25] block/rnbd: client: sysfs interface functions Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 19/25] block/rnbd: server: private header with server structs and functions Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 20/25] block/rnbd: server: main functionality Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 21/25] block/rnbd: server: functionality for IO submitting to block dev Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 22/25] block/rnbd: server: sysfs interface functions Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 23/25] block/rnbd: include client and server modules into kernel compilation Danil Kipnis
2020-05-05 21:33   ` kbuild test robot
2020-05-05 21:33     ` kbuild test robot
2020-05-07  7:05     ` Jinpu Wang
2020-05-07  7:12       ` Leon Romanovsky
2020-05-07  7:12         ` Leon Romanovsky
2020-05-07  7:37         ` Jinpu Wang
2020-05-04 14:01 ` [PATCH v14 24/25] block/rnbd: a bit of documentation Danil Kipnis
2020-05-04 14:01 ` [PATCH v14 25/25] MAINTAINERS: Add maintainers for RNBD/RTRS modules Danil Kipnis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200504140115.15533-14-danil.kipnis@cloud.ionos.com \
    --to=danil.kipnis@cloud.ionos.com \
    --cc=axboe@kernel.dk \
    --cc=bvanassche@acm.org \
    --cc=dledford@redhat.com \
    --cc=hch@infradead.org \
    --cc=jgg@ziepe.ca \
    --cc=jinpu.wang@cloud.ionos.com \
    --cc=leon@kernel.org \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=pankaj.gupta@cloud.ionos.com \
    --cc=sagi@grimberg.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.