Re: [PATCH rdma-next] IB/mlx5: Add missing XRC options to QP optional params mask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 01, 2019 at 08:38:30AM +0300, Leon Romanovsky wrote:
> From: Jack Morgenstein <jackm@xxxxxxxxxxxxxxxxxx>
> 
> 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@xxxxxxxxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx5/qp.c | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)

Applied to for-next thanks

Jason




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux