[ofa-general] [PATCH] nfsrdma: fix connection/qp creation for mlx4,

James Lentini jlentini at netapp.com
Thu Jun 12 12:45:53 PDT 2008



On Thu, 12 Jun 2008, Vu Pham wrote:

> Hi James/Tom,
> 
> MLX4 transport (connectX HCA) need 2 extra S/G entries per work 
> request. One is for the header and one for the checksum at the end. 
> This patch will fix rpc rdma transport to create qp with 
> max_send_sge = device_cap.max_sge - 2 if low-level device hca is 
> connectX
> 
> thanks,
> -vu
> 
> 

Vu,

Many ULPs use the device's advertized maximum S/G count to size their 
S/G entries.

Did you consider changing the driver to advertize 2 less S/G entries? 

james



More information about the general mailing list