>> On a side note, I see from rc_pingpong that ibv_query_gid requires
>> an index, and that this index is asked to the user of the pingpong
>> program. What is that index about (the man page is not very
>> explicit)?  Cannot it be deduced in any way ?
> 
> It is the source GID of the local adaptor. Generally you can just use
> index 0, particularly on RoCEE..

thanks, this fixed my problem.

A couple questions:

is there any overhead associated with using GIDs?

man ibv_post_recv tells me that the GRH is written into the first 40 bytes of 
the receive buffer for UD QPs. Is that behavior only restricted to UD QPs, or 
should I plan the presence of this headers when using RC QPs ?

Thanks,
Xavier

--
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