summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/i40iw/i40iw_status.h
diff options
context:
space:
mode:
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>2016-04-22 22:14:28 +0300
committerDoug Ledford <dledford@redhat.com>2016-04-28 23:32:55 +0300
commitf8a4e76c75e572a8503410b8f863e7fa420236ba (patch)
treebe5e3e6561eb6d399297eb0d7ff71e65db046ba4 /drivers/infiniband/hw/i40iw/i40iw_status.h
parent6c2f76197db63e337fb60b16800f234f6428c32d (diff)
downloadlinux-f8a4e76c75e572a8503410b8f863e7fa420236ba.tar.xz
RDMA/i40iw: Fix for checking if the QP is destroyed
Fix for checking if the QP associated with a completion has been destroyed while processing CQ elements. If that is the case, move the CQ head to the next element and continue completion processing. Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com> Signed-off-by: Faisal Latif <faisal.latif@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_status.h')
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw_status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_status.h b/drivers/infiniband/hw/i40iw/i40iw_status.h
index b0110c15e044..91c421762f06 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_status.h
+++ b/drivers/infiniband/hw/i40iw/i40iw_status.h
@@ -95,6 +95,7 @@ enum i40iw_status_code {
I40IW_ERR_INVALID_MAC_ADDR = -65,
I40IW_ERR_BAD_STAG = -66,
I40IW_ERR_CQ_COMPL_ERROR = -67,
+ I40IW_ERR_QUEUE_DESTROYED = -68
};
#endif