On 11/03/2015 08:03 PM, Christoph Hellwig wrote:
On Tue, Nov 03, 2015 at 12:50:59PM -0800, Bart Van Assche wrote:
Such a check wouldn't be that simple because the only way to perform such a
check is either by doubling the number of ib_map_mr_sg() calls or by
performing additional memory allocations.

The other option woud be to disallow gappy SG lists unless supported by
the hardware with a single MR similar to iSER.  While this would leave
the SRP protocol support for multiple SG entries per command unused it
would significantly simplify the driver.

Hello Christoph,

I will have a look into this after the kernel 4.4 merge window has been closed.

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

Reply via email to