linux_dsm_epyc7002/drivers/infiniband/hw
Majd Dibbiny 074fca3a18 RDMA/mlx5: Fix fence type for IB_WR_LOCAL_INV WR
Currently, for IB_WR_LOCAL_INV WR, when the next fence is None, the
current fence will be SMALL instead of Normal Fence.

Without this patch krping doesn't work on CX-5 devices and throws
following error:

The error messages are from CX5 driver are: (from server side)
[ 710.434014] mlx5_0:dump_cqe:278:(pid 2712): dump error cqe
[ 710.434016] 00000000 00000000 00000000 00000000
[ 710.434016] 00000000 00000000 00000000 00000000
[ 710.434017] 00000000 00000000 00000000 00000000
[ 710.434018] 00000000 93003204 100000b8 000524d2
[ 710.434019] krping: cq completion failed with wr_id 0 status 4 opcode 128 vender_err 32

Fixed the logic to set the correct fence type.

Fixes: 6e8484c5cf ("RDMA/mlx5: set UMR wqe fence according to HCA cap")
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-11-21 14:03:00 -07:00
..
bnxt_re RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
cxgb3 RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
cxgb4 First merge window pull request 2018-10-26 07:38:19 -07:00
hfi1 Revert "mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks" 2018-10-26 16:25:19 -07:00
hns RDMA/hns: Add FRMR support for hip08 2018-10-16 00:17:08 -06:00
i40iw RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
mlx4 RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
mlx5 RDMA/mlx5: Fix fence type for IB_WR_LOCAL_INV WR 2018-11-21 14:03:00 -07:00
mthca RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
nes First merge window pull request 2018-10-26 07:38:19 -07:00
ocrdma RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
qedr RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
qib First merge window pull request 2018-10-26 07:38:19 -07:00
usnic RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
vmw_pvrdma RDMA/drivers: Use core provided API for registering device attributes 2018-10-17 03:45:01 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00