Michael S. Tsirkin wrote:
>>For example, a callback function makes more sense passed
>>into a register call than every query call.
> 
> So ULPs will need multiple clients for multiple types of queries? Ugh.

I was thinking more of having the user pass in one or more callbacks into 
register.  If you look at the patch that adds ib_sa_send_mad(), there's very 
little difference between the implementation of any of the queries.  The 
differences result from the query callback prototype; otherwise their code 
could 
be exactly the same.

I think this can come later, but is a worthwhile change.

- Sean

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to