Hi, Roland! Why do you need the qp locked in mthca_poll_cq_one? Since the wr_id table has an entry per QP per WQE, and since you use atomics for the ref count, it seems you should not need this lock? Thanks, MST