[openib-general] ib_mad receive locking

Roland Dreier roland at topspin.com
Sun Sep 12 09:07:36 PDT 2004


    Hal> Hi, Now that there is a receive list per MAD layer QP, should
    Hal> there also be a receive lock per QP to minimize lock
    Hal> contention ? Right now, there is one receive lock for all MAD
    Hal> QPs (which is just QP0 and 1 now but will ultimately include
    Hal> redirected QPs).

Yes, I think the locking should be pretty fine-grained.  We definitely
don't want independent HCAs to serialize against each other, and it's
probably good even for different ports on the same HCA to be independent.

 - R.



More information about the general mailing list