summaryrefslogtreecommitdiff
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 (GMT)
committerRoland Dreier <roland@purestorage.com>2013-02-14 23:51:56 (GMT)
commit325abead6cc7ef50572c53b1adc4d2442234b50f (patch)
tree59f77611c4b59024635f7c03128e828b2af03192 /drivers/infiniband/hw/cxgb4/iw_cxgb4.h
parent1557967bf921e787f0c9236c2899603d85f44d31 (diff)
downloadlinux-325abead6cc7ef50572c53b1adc4d2442234b50f.tar.xz
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 'drivers/infiniband/hw/cxgb4/iw_cxgb4.h')
-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 9c1644f..0aaaa0e 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 {