[openib-general] Re: [PATCH] mthca - query qp
Roland Dreier
rdreier at cisco.com
Thu Mar 16 14:38:49 PST 2006
OK, I at least applied the error flow part of this patch, since that's
clearly something we want.
I need to think about how to handle the other attributes. Probably
anything that just copies values from the struct ib_qp passed in to
the function should at least be in the generic ib_query_qp function,
since there's no good reason for every low-level driver to duplicate it.
However I'm wondering whether we even have the right interface for
query QP at all. The only thing that the consumer couldn't have saved
off for themselves is the QP state, so maybe the right interface is
just an ib_query_qp_state() function that gives back the QP's current state.
- R.
More information about the general
mailing list