[openib-general] [PATCH] mad: Use thread context for callbacks due to locally handled MADs in handle_outgoing_smp

Sean Hefty mshefty at ichips.intel.com
Wed Dec 15 15:18:31 PST 2004


Hal Rosenstock wrote:

> On Wed, 2004-12-15 at 17:23, Hal Rosenstock wrote: 
> 
>>mad: Use thread context for callbacks due to locally handled MADs in 
>>handle_outgoing_smp
> 
> 
> I forgot to comment on the following relative to this change:
> I did not implement cancel looking at the local completion list for
> possible matches. If that is incorrect, it is straightforward to add
> this in.

I think that's okay.  Cancel will simply return (since it doesn't 
return anything), and the user's callback will be invoked soon after or 
before with the completion.  And it looked like the reference counting 
was there to handle deregistration.

- Sean



More information about the general mailing list