Re: [PATCH rdma-next] IB/mlx5: Return failure when rts2rts_qp_counters_set_id is not supported

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

 



On Sun, Jan 26, 2020 at 07:17:08PM +0200, Leon Romanovsky wrote:
> From: Mark Zhang <markz@xxxxxxxxxxxx>
> 
> When bind a QP with a counter and the QP state is not RESET, return
> failure if the rts2rts_qp_counters_set_id is not supported. This is
> to prevent cases like manual bind for Connect-IB devices from returning
> success when the feature is not supported.
> 
> Fixes: d14133dd4161 ("IB/mlx5: Support set qp counter")
> Signed-off-by: Mark Zhang <markz@xxxxxxxxxxxx>
> Reviewed-by: Maor Gottlieb <maorg@xxxxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx5/qp.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

Applied to for-rc, 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