]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Do not generate CQE for RTR on QP flush
authorMustafa Ismail <mustafa.ismail@intel.com>
Tue, 3 Oct 2017 16:11:47 +0000 (11:11 -0500)
committerDoug Ledford <dledford@redhat.com>
Wed, 4 Oct 2017 19:29:39 +0000 (15:29 -0400)
commit580fbf148f03a0f76865dba2dc077ad270cf03c5
tree454b56780f1a78396c1662963fad36757a6a670f
parentab08f43b6526fb951529875cad1f9abbb2ebc10b
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: ab0ada4a69ba ("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>
drivers/infiniband/hw/i40iw/i40iw_uk.c
drivers/infiniband/hw/i40iw/i40iw_user.h