[openib-general] Re: [PATCH] mad: add GID/class checking for matching received to sent MADs

Jack Morgenstein jackm at mellanox.co.il
Thu Mar 2 10:05:14 PST 2006


On Thursday 02 March 2006 17:49, Jack Morgenstein wrote:
>
>  	if (!(attr.ah_flags & IB_AH_GRH) && !(rwc->wc->wc_flags & IB_WC_GRH))
>  		return attr.dlid == rwc->wc->slid;
>  	else if ((attr.ah_flags & IB_AH_GRH) &&
Oops, 
I forgot to reverse the sense of the LID checking when receiving a response.
Need to have check the source LID of the send against the destination LID of 
the receive.

I'll get to this on Sunday.

- Jack



More information about the general mailing list