]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commit576d2e4e40315e8140c04be99cd057720d8a3817
tree6d4097e260d4612520f81f65c2eeae372c36bfda
parent6c7d2a75b512c64c910b69adf32dbaddb461910b
IB/mthca: Fix SRQ cleanup during QP destroy

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>
drivers/infiniband/hw/mthca/mthca_cq.c