Re: Is SRP over RoCE possible?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2017-02-14 at 11:24 -0700, Robert LeBlanc wrote:
> I'm trying to get SRP working on my ConnectX-4-LX cards to see if it
> has the same problem as iSER does. When I try to connect the initiator
> to the target I get that opensm is not running. I tried all the umad
> devices without any luck. I found that someone had to modify the
> source to get it to work with RDMACM [0] and then another thread that
> specified that an option had to be passed to the ib_srpt module, but I
> don't see that option in modinfo and the Readme mentioned in the
> thread is not there[1]. If SRP should work, can someone help me figure
> out what I'm doing wrong here.

Hello Robert,

This is not yet possible with the upstream SRP drivers. I'm waiting for
the standardization of SRP over RoCE to add such support to the upstream
SRP drivers. But this is already possible today with the following
drivers:
- At the initiator side: https://github.com/bvanassche/ib_srp-backport
- At the target side: the SCST core + the SCST ib_srpt target driver and
  something like the following in /etc/modprobe.d/ib_srpt.conf:
  options ib_srpt rdma_cm_port=5000
- Since neither ibsrpdm nor srp_daemon support SRP over RoCE, login has
  to be performed by writing a login string into
  /sys/class/infiniband_srp/*/add_target. The format of that login string
  is id_ext=$ioc_guid,ioc_guid=$ioc_guid,dest=$dest where ioc_guid is the
  following parameter from the target system:
  /sys/module/ib_srpt/parameters/srpt_service_guid
  and where dest is [<IPv4 address>|<IPv6 address>]:<SRP RDMA/CM port number>

BTW, I have used these drivers to test and improve the SoftRoCE driver.

Bart.--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux