Re: Is SRP over RoCE possible?

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

 



Trying to add "options ib_srpt rdma_cm_port=5000" gives me this error.

[   25.318411] ib_srpt: unknown parameter 'rdma_cm_port' ignored

This is on 4.10-rc4.
----------------
Robert LeBlanc
PGP Fingerprint 79A2 9CA4 6CC4 45DD A904  C70E E654 3BB2 FA62 B9F1


On Tue, Feb 14, 2017 at 11:45 AM, Bart Van Assche
<Bart.VanAssche@xxxxxxxxxxx> wrote:
> 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.
> Western Digital Corporation (and its subsidiaries) E-mail Confidentiality Notice & Disclaimer:
>
> This e-mail and any files transmitted with it may contain confidential or legally privileged information of WDC and/or its affiliates, and are intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the e-mail in its entirety from your system.
>
--
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