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. _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
