summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2019-05-01 08:38:30 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-05-03 10:15:13 -0300
commit8f4426aa19fcdb9326ac44154a117b1a3a5ae126 (patch)
tree5e6182eef269cbec156a56569a8bb38c9443c00e /drivers/infiniband/core
parent4f33dd41b24c1e3494a6ea6c7839ea068343f809 (diff)
downloadlinux-8f4426aa19fcdb9326ac44154a117b1a3a5ae126.tar.bz2
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: e126ba97dba9 ("mlx5: Add driver for Mellanox Connect-IB adapters") Fixes: a4774e9095de ("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>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions