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

Hoang-Nam Nguyen HNGUYEN at de.ibm.com
Fri Jan 19 06:45:35 PST 2007


openib-general-bounces at openib.org wrote on 18.01.2007 16:26:58:
>  > 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.
Just want to make sure I understand this properly:
One day, if eHCA supports srq, will I have to set qp pointer with a
valid address or can I still leave it to NULL?
Roland, you are talking about QPN. By that you mean also qp pointer?
Regards
Nam





More information about the general mailing list