linux/drivers/infiniband/hw
Jack Morgenstein 8f4426aa19 IB/mlx5: Add missing XRC options to QP optional params mask
The QP transition optional parameters for the various transition for XRC
QPs are identical to those for RC QPs.

Many of the XRC QP transition optional parameter bits are missing from the
QP optional mask table.  These omissions caused failures when doing XRC QP
state transitions.

For example, when trying to change the response timer of an XRC receive QP
via the RTS2RTS transition, the new timer value was ignored because
MLX5_QP_OPTPAR_RNR_TIMEOUT bit was missing from the optional params mask
for XRC qps for the RTS2RTS transition.

Fix this by adding the missing XRC optional parameters for all QP
transitions to the opt_mask table.

Fixes: e126ba97db ("mlx5: Add driver for Mellanox Connect-IB adapters")
Fixes: a4774e9095 ("IB/mlx5: Fix opt param mask according to firmware spec")
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-05-03 10:15:13 -03:00
..
bnxt_re ib/bnxt: Remove mention of idr_alloc from comment 2019-04-25 12:02:18 -03:00
cxgb3 IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
cxgb4 RDMA/cxgb4: Fix spelling mistake "immedate" -> "immediate" 2019-04-18 03:17:42 -03:00
hfi1 Merge branch 'rdma_mmap' into rdma.git for-next 2019-04-24 16:20:34 -03:00
hns Merge branch 'rdma_mmap' into rdma.git for-next 2019-04-24 16:20:34 -03:00
i40iw IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
mlx4 RDMA: Handle SRQ allocations by IB/core 2019-04-08 13:05:25 -03:00
mlx5 IB/mlx5: Add missing XRC options to QP optional params mask 2019-05-03 10:15:13 -03:00
mthca RDMA: Handle SRQ allocations by IB/core 2019-04-08 13:05:25 -03:00
nes IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
ocrdma RDMA/ocrdma: Remove use of idr use pci bdf instead 2019-04-12 10:59:02 -03:00
qedr RDMA/drivers: Convert easy drivers to use ib_device_set_netdev() 2019-04-09 10:14:54 -03:00
qib IB/{rdmavt, qib, hfi1}: Use new routine to release reference counts 2019-04-24 11:31:49 -03:00
usnic IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
vmw_pvrdma Merge branch 'rdma_mmap' into rdma.git for-next 2019-04-24 16:20:34 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00