Skip to content
Commit d35cc330 authored by Roland Dreier's avatar Roland Dreier
Browse files

IB/mthca: Simplify calls to mthca_cq_clean()



If a QP has separate send and receive CQs, then the send CQ will never
have receive completions from that QP in it.  So when cleaning the
send CQ, there's no need to pass in an SRQ pointer, even if the QP is
attached to an SRQ.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 951f7fc1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment