1
linux/drivers/infiniband/ulp
Michael S. Tsirkin 518b1646f8 IPoIB/cm: Fix SRQ WR leak
SRQ WR leakage has been observed with IPoIB/CM: e.g. flipping ports on
and off will, with time, leak out all WRs and then all connections
will start getting RNR NAKs.  Fix this in the way suggested by spec:
move the QP being destroyed to the error state, wait for "Last WQE
Reached" event and then post WR on a "drain QP" connected to the same
CQ.  Once we observe a completion on the drain QP, it's safe to call
ib_destroy_qp.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-05-21 13:35:40 -07:00
..
ipoib IPoIB/cm: Fix SRQ WR leak 2007-05-21 13:35:40 -07:00
iser header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
srp IB: Add CQ comp_vector support 2007-05-06 21:18:11 -07:00