aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
diff options
context:
space:
mode:
authorVipul Pandya <vipul@chelsio.com>2013-01-07 13:11:53 +0000
committerRoland Dreier <roland@purestorage.com>2013-02-14 15:51:56 -0800
commit325abead6cc7ef50572c53b1adc4d2442234b50f (patch)
tree59f77611c4b59024635f7c03128e828b2af03192 /drivers/infiniband/hw/cxgb4/iw_cxgb4.h
parentRDMA/cxgb4: Display streaming mode error only if detected in RTS (diff)
downloadlinux-dev-325abead6cc7ef50572c53b1adc4d2442234b50f.tar.xz
linux-dev-325abead6cc7ef50572c53b1adc4d2442234b50f.zip
RDMA/cxgb4: Keep QP referenced until TID released
The driver is currently releasing the last ref on the QP too early. This can cause bus errors due to HW still fetching WRs from the HW queue. The fix is to keep a qp ref until we release the HW TID. Signed-off-by: Vipul Pandya <vipul@chelsio.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/cxgb4/iw_cxgb4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
index 9c1644fb0259..0aaaa0e81f29 100644
--- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
+++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h
@@ -716,6 +716,7 @@ enum c4iw_ep_flags {
ABORT_REQ_IN_PROGRESS = 1,
RELEASE_RESOURCES = 2,
CLOSE_SENT = 3,
+ QP_REFERENCED = 5,
};
enum c4iw_ep_history {