kernel_optimize_test/drivers/infiniband/ulp/ipoib
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_cm.c IPoIB/cm: Fix SRQ WR leak 2007-05-21 13:35:40 -07:00
ipoib_fs.c
ipoib_ib.c IB/ipoib: Fix typos in error messages 2007-05-21 13:29:15 -07:00
ipoib_main.c IPoIB: Handle P_Key table reordering 2007-05-19 08:51:54 -07:00
ipoib_multicast.c IB/ipoib: Fix typos in error messages 2007-05-21 13:29:15 -07:00
ipoib_verbs.c IPoIB/cm: Fix SRQ WR leak 2007-05-21 13:35:40 -07:00
ipoib_vlan.c
ipoib.h IPoIB/cm: Fix SRQ WR leak 2007-05-21 13:35:40 -07:00
Kconfig
Makefile