linux-stable/drivers/infiniband/hw
Selvin Xavier c527572358 RDMA/bnxt_re: Fix Send Work Entry state check while polling completions
Some adapters need a fence Work Entry to handle retransmission.  Currently
the driver checks for this condition, only if the Send queue entry is
signalled. Implement the condition check, irrespective of the signalled
state of the Work queue entries

Failure to add the fence can result in access to memory that is already
marked as completed, triggering data corruption, transmission failure,
IOMMU failures, etc.

Fixes: 9152e0b722 ("RDMA/bnxt_re: HW workarounds for handling specific conditions")
Link: https://lore.kernel.org/r/1574671174-5064-3-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-01-03 15:27:22 -04:00
..
bnxt_re RDMA/bnxt_re: Fix Send Work Entry state check while polling completions 2020-01-03 15:27:22 -04:00
cxgb4 RDMA subsystem updates for 5.5 2019-11-27 10:17:28 -08:00
efa treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
hfi1 treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
hns RDMA subsystem updates for 5.5 2019-11-27 10:17:28 -08:00
i40iw IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
mlx4 IB/mlx4: Follow mirror sequence of device add during device removal 2019-12-12 15:38:15 -05:00
mlx5 IB/mlx5: Fix device memory flows 2019-12-12 16:55:36 -05:00
mthca IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
ocrdma IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
qedr RDMA subsystem updates for 5.5 2019-11-27 10:17:28 -08:00
qib RDMA/qib: Validate ->show()/store() callbacks before calling them 2019-11-14 11:49:15 -04:00
usnic mm/gup: add make_dirty arg to put_user_pages_dirty_lock() 2019-09-24 15:54:08 -07:00
vmw_pvrdma IB/umem: remove the dmasync argument to ib_umem_get 2019-11-17 10:37:00 -04:00
Makefile RDMA/iw_cxgb3: Remove the iw_cxgb3 module from kernel 2019-10-04 15:08:59 -03:00