IB/mthca: Fix SRQ cleanup during QP destroy
authorJack Morgenstein <jackm@mellanox.co.il>
Thu, 15 Dec 2005 22:20:23 +0000 (14:20 -0800)
committerRoland Dreier <rolandd@cisco.com>
Thu, 15 Dec 2005 22:20:23 +0000 (14:20 -0800)
When cleaning up a CQ for a QP attached to SRQ, need to free an SRQ
WQE only if the CQE is a receive completion.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found