linux-stable/drivers/infiniband
Eli Cohen c9b254955b IB/mlx5: Fix post send fence logic
If the caller specified IB_SEND_FENCE in the send flags of the work
request and no previous work request stated that the successive one
should be fenced, the work request would be executed without a fence.
This could result in RDMA read or atomic operations failure due to a MR
being invalidated. Fix this by adding the mlx5 enumeration for fencing
RDMA/atomic operations and fix the logic to apply this.

Fixes: e126ba97db ('mlx5: Add driver for Mellanox Connect-IB adapters')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-06-23 10:03:57 -04:00
..
core IB/uverbs: Initialize ib_qp_init_attr with zeros 2016-06-23 10:03:57 -04:00
hw IB/mlx5: Fix post send fence logic 2016-06-23 10:03:57 -04:00
sw IB/rdmavt: Annotate rvt_reset_qp() 2016-06-06 19:36:21 -04:00
ulp IB/IPoIB: Don't update neigh validity for unresolved entries 2016-06-07 10:49:48 -04:00
Kconfig IB/hfi1: Move driver out of staging 2016-05-26 11:35:14 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00