linux/drivers/infiniband/hw
Bharat Potnuri 758f3340b8 iw_cxgb4: Atomically flush per QP HW CQEs
commit 2df19e19ae upstream.

When a CQ is shared by multiple QPs, c4iw_flush_hw_cq() needs to acquire
corresponding QP lock before moving the CQEs into its corresponding SW
queue and accessing the SQ contents for completing a WR.
Ignore CQEs if corresponding QP is already flushed.

Cc: stable@vger.kernel.org
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2018-05-09 09:51:53 +02:00
..
bnxt_re bnxt_re: changing the ip address shouldn't affect new connections 2017-12-14 09:53:14 +01:00
cxgb3 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cxgb4 iw_cxgb4: Atomically flush per QP HW CQEs 2018-05-09 09:51:53 +02:00
hfi1 IB/hfi1: Fix NULL pointer dereference when invalid num_vls is used 2018-05-09 09:51:53 +02:00
hns RDMA/hns: Avoid NULL pointer exception 2017-12-25 14:26:30 +01:00
i40iw i40iw: Zero-out consumer key on allocate stag for FMR 2018-04-26 11:02:05 +02:00
mlx4 IB/mlx4: Fix mlx4_ib_alloc_mr error flow 2018-03-03 10:24:32 +01:00
mlx5 IB/mlx5: Use unlimited rate when static rate is not supported 2018-05-09 09:51:53 +02:00
mthca License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nes IB: Correct MR length field to be 64-bit 2017-09-25 11:47:23 -04:00
ocrdma RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS 2018-03-24 11:01:27 +01:00
qedr RDMA/qedr: Parse vlan priority as sl 2017-10-04 15:18:18 -04:00
qib IB/qib: Fix comparison error with qperf compare/swap test 2018-02-22 15:42:14 +01:00
usnic License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vmw_pvrdma RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file 2018-03-24 11:01:29 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00