RDMA/i40iw: Fix for checking if the QP is destroyed
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Fri, 22 Apr 2016 19:14:28 +0000 (14:14 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:55 +0000 (16:32 -0400)
commitf8a4e76c75e572a8503410b8f863e7fa420236ba
treebe5e3e6561eb6d399297eb0d7ff71e65db046ba4
parent6c2f76197db63e337fb60b16800f234f6428c32d
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>
drivers/infiniband/hw/i40iw/i40iw_status.h
drivers/infiniband/hw/i40iw/i40iw_uk.c
drivers/infiniband/hw/i40iw/i40iw_verbs.c