Searched hist:c9b254955b9f8814966f5dabd34c39d0e0a2b437 (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/mlx5/ |
H A D | qp.h | diff c9b254955b9f8814966f5dabd34c39d0e0a2b437 Wed Jun 22 16:27:26 CEST 2016 Eli Cohen <eli@mellanox.com> 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: e126ba97dba9 ('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>
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | qp.c | diff c9b254955b9f8814966f5dabd34c39d0e0a2b437 Wed Jun 22 16:27:26 CEST 2016 Eli Cohen <eli@mellanox.com> 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: e126ba97dba9 ('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>
|