[openib-general] Re: [PATCH] mad: add GID/class checking for	matching received to sent MADs
    Sean Hefty 
    mshefty at ichips.intel.com
       
    Thu Mar  2 10:07:29 PST 2006
    
    
  
Jack Morgenstein wrote:
> 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.
I'll wait for your updated patch then.  As part of your update, can you replace 
'16' with sizeof(sg)?
Thanks,
Sean
    
    
More information about the general
mailing list