Re: [PATCH 7/9] IB/core: generic RDMA READ/WRITE API

Christoph Hellwig
2016-03-01T06:50:07Z

On Mon, Feb 29, 2016 at 03:12:55PM -0800, Bart Van Assche wrote:
> Hi Christoph,
>
> Are you aware that using max_sge is safe for some but not for all HCAs? See
> also http://thread.gmane.org/gmane.linux.drivers.rdma/22043.

It should be safe, and the mlx4 bug has been fixed by Sagi a while ago
in commit a5e14b ("mlx4: Expose correct max_sge_rd limit").