[openib-general] [PATCH] sa_query: require SA query registration
Sean Hefty
mshefty at ichips.intel.com
Tue Aug 8 09:59:44 PDT 2006
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
More information about the general
mailing list