[openib-general] [PATCH 1/2] ib/core/uverbs: return sq_draining value in query_qp response

Roland Dreier rdreier at cisco.com
Wed Oct 25 07:09:47 PDT 2006


 > Finally, the ABI structure change is only a name change -
 > no need to increment the ABI version.

I don't believe this is true unfortunately.  If you have a new
libibverbs and an old kernel, then you will return the value of
en_sqd_async_notify to the consumer but tell the consumer that the
value represents sq_draining.

Fortunately ib_uverbs_query_qp_resp has some reserved slots we can use
for sq_draining.  However, this means that an old kernel will always
return 0 for sq_draining.  However I'm not sure if we could do better...

 - R.




More information about the general mailing list