Skip to contentSkip to conversation

IB: Add SCSI RDMA Protocol (SRP) initiator

PATCH Superseded Roland Dreier 1 participant 1 message Sep 13, 2005

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IB: Add SCSI RDMA Protocol (SRP) initiator

Sorry to interrupt the SAS arguments, but...

Here's the latest version of the InfiniBand SRP initiator. I think it's ready for merging; I implemented error handling, which was the main thing pointed out from the generally positive reviews of my previous posting. I've done a decent amount of testing without seeing any problems, and John Kingman has also tested against his SRP target.

Since this is a completely new driver and can't break anything, assuming the code looks good, does it seem OK to merge for 2.6.14?

Thanks,
Roland

Add an InfiniBand SCSI RDMA Protocol (SRP) initiator. This lets us talk to InfiniBand SRP targets (storage devices).

---

 drivers/infiniband/Kconfig          |    2 
 drivers/infiniband/Makefile         |    1 
 drivers/infiniband/ulp/srp/Kbuild   |    3 
 drivers/infiniband/ulp/srp/Kconfig  |   11 
 drivers/infiniband/ulp/srp/ib_srp.c | 1637 +++++++++++++++++++++++++++++++++++
 drivers/infiniband/ulp/srp/ib_srp.h |  324 +++++++
 6 files changed, 1978 insertions(+), 0 deletions(-)

891de9c3d67dc4afc2e5c941bba96613bca81ae1

drivers/infiniband/Kconfig +2 -0
@@ -33,4 +33,6 @@ source "drivers/infiniband/hw/mthca/Kcon
 
 source "drivers/infiniband/ulp/ipoib/Kconfig"
 
+source "drivers/infiniband/ulp/srp/Kconfig"
+
 endmenu
drivers/infiniband/Makefile +1 -0
@@ -1,3 +1,4 @@
 obj-$(CONFIG_INFINIBAND)		+= core/
 obj-$(CONFIG_INFINIBAND_MTHCA)		+= hw/mthca/
 obj-$(CONFIG_INFINIBAND_IPOIB)		+= ulp/ipoib/
+obj-$(CONFIG_INFINIBAND_SRP)		+= ulp/srp/
drivers/infiniband/ulp/srp/Kbuild new file +3 -0
new file mode 100644
@@ -0,0 +1,3 @@
+EXTRA_CFLAGS += -Idrivers/infiniband/include
+
+obj-$(CONFIG_INFINIBAND_SRP)			+= ib_srp.o
drivers/infiniband/ulp/srp/Kconfig new file +11 -0
new file mode 100644
@@ -0,0 +1,11 @@
+config INFINIBAND_SRP
+	tristate "InfiniBand SCSI RDMA Protocol"
+	depends on INFINIBAND && SCSI
+	---help---
+	  Support for the SCSI RDMA Protocol over InfiniBand.  This
+	  allows you to access storage devices that speak SRP over
+	  InfiniBand.
+
+	  The SRP protocol is defined by the INCITS T10 technical
+	  committee.  See <http://www.t10.org/>.
+
drivers/infiniband/ulp/srp/ib_srp.c new file +1637 -0

1,637 lines not on this page · raw message

drivers/infiniband/ulp/srp/ib_srp.h new file +324 -0

324 lines not on this page · raw message