[openib-general] [PATCH] 1/2 separate locking for send and receive q in mthca

Roland Dreier roland at topspin.com
Tue Feb 22 11:08:06 PST 2005


    Michael> Instead of doing this, how about something else I would
    Michael> prefer: we could avoid locking the QP on CQ poll
    Michael> altogether, if there is a separate last polled index that
    Michael> is written only by cq poll and read by qp post.  This
    Michael> index update would be protected by a cq lock.

Yes, that's a greate solution.  Splitting things up so that some
values are only written inside the WQ lock and some are only written
inside the CQ lock is a very clean solution.

 - R.



More information about the general mailing list