[openib-general] [PATCH] agent: Fix agent_mad_send PCI mapping and gather address and length

Sean Hefty mshefty at ichips.intel.com
Fri Nov 12 09:21:50 PST 2004


Hal Rosenstock wrote:

> On Wed, 2004-11-10 at 11:59, Roland Dreier wrote:
> 
>>    Sean> What exactly does it mean then when process_mad returns
>>    Sean> success?  Do any of the return bits from process_mad
>>    Sean> indicate that the MAD was for the HCA driver?
>>
>>SUCCESS means that process_mad didn't encounter any errors.  If REPLY
>>or CONSUMED is set then process_mad actually handled the packet.
> 
> 
> I would assume that REPLY and CONSUMED are also mutually exclusive.

I believe that's the case, but maybe it would make more sense if they 
weren't, and let CONSUMED indicate that MAD was for the HCA driver.

 From an API perspective, I think we only need to know if the HCA driver 
intercepted the MAD, and if so, was a reply generated.

- Sean




More information about the general mailing list