[openib-general] [PATCH/RFC 2.6.21] ehca: ehca_uverbs.c: refactor ehca_mmap() for better readability

Roland Dreier rdreier at cisco.com
Thu Jan 18 13:26:58 PST 2007


 > qpnum is actually only required from poll cq if srq is supported.
 > so ehca can just fill in NULL.

actually the IB spec requires QPN in the work completion if either SRQ
or base queue management extensions are supported.  I'm not sure why
though.  It seems at least for current code it is fine for ehca to
report wc->qp as NULL.

I've update the patch in my for-2.6.21 branch to do that, and pushed
it out.




More information about the general mailing list