RFC: Immediate data support for SRP

Bart Van Assche
2015-07-16T15:25:37Z

Hello,

As you probably know for write requests "immediate data" means sending
the data in the same packet as the write command instead of sending it
as a separate packet. This approach improves performance and reduces
latency. Although support for immediate data has not been standardized,
it is easy to add to the SRP initiator and target drivers.
Implementations exist in the ib_srp-backport initiator driver and the
SCST SRP target driver (see also
https://github.com/bvanassche/ib_srp-backport and
http://sourceforge.net/p/scst/svn/HEAD/tree/trunk/srpt/). These
implementations are available since considerable time, work reliably,
are backwards compatible and support zero-copy. Since using immediate
data provides a measurable performance improvement I'm wondering whether
it would be acceptable to add support for immediate data to the SRP
drivers in the Linux kernel tree (ib_srp and ib_srpt) ?

Thanks,

Bart.