summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/i40iw/i40iw_user.h
diff options
context:
space:
mode:
authorMustafa Ismail <mustafa.ismail@intel.com>2017-10-03 19:11:47 +0300
committerDoug Ledford <dledford@redhat.com>2017-10-04 22:29:39 +0300
commitabae49e433c5b02b6ff583eee00321eee2bad18a (patch)
tree454b56780f1a78396c1662963fad36757a6a670f /drivers/infiniband/hw/i40iw/i40iw_user.h
parent1660a26adbb3aab6af0bb067e15a831f926c163a (diff)
downloadlinux-abae49e433c5b02b6ff583eee00321eee2bad18a.tar.xz
i40iw: Do not generate CQE for RTR on QP flush
If RTR WQE is posted and QP is flushed, a CQE is incorrectly generated for the RTR WQE. Add code to look for the RTR and not generate a CQE when QP is flushed. Fixes: 280cfc4b74e6 ("i40iw: user kernel shared files") Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com> Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/i40iw/i40iw_user.h')
-rw-r--r--drivers/infiniband/hw/i40iw/i40iw_user.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/i40iw/i40iw_user.h b/drivers/infiniband/hw/i40iw/i40iw_user.h
index 84be6f13b9c5..15e8f55983fd 100644
--- a/drivers/infiniband/hw/i40iw/i40iw_user.h
+++ b/drivers/infiniband/hw/i40iw/i40iw_user.h
@@ -376,6 +376,7 @@ struct i40iw_qp_uk {
u8 rwqe_polarity;
u8 rq_wqe_size;
u8 rq_wqe_size_multiplier;
+ bool first_sq_wq;
bool deferred_flag;
};