[openib-general] can i post a send request with 0 bytes with the inline bit enabled?

James Lentini jlentini at netapp.com
Mon Nov 21 07:25:30 PST 2005


Mellanox hardware interprets an sge with length 0 as a 2 GB buffer.

Your memory region is probably too small and therefore you receive a 
protection error.

james

On Mon, 21 Nov 2005, Dotan Barak wrote:

> Hi.
> 
> i tried to do following thing in user level: i posted a send request 
> with 0 bytes (the gather list length is 0) with the send opcode and 
> the inline bit was enabled and i got completion with error.
> 
> should the driver handle it? (and post send of 0 bytes with inline 
> enabled should generate good completion) or the user should know 
> that this scenario is illegal?
> 
> what do you think about it?
> 
> thanks
> Dotan Barak
> Software Verification Engineer
> Mellanox Technologies LTD
> Tel: +972-4-9097200 Ext: 231 Fax: +972-4-9593245
> P.O. Box 86 Yokneam 20692 ISRAEL.
> Home: +972-77-8841095  Cell: 052-4222383
> 
> [ May the fork be with you ]



More information about the general mailing list