Re: [PATCH rdma-next] RDMA/mlx5: Use correct device num_ports when modify DC

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

 



On Thu, Apr 20, 2023 at 04:39:06AM +0300, Mark Zhang wrote:
> Just like other QP types, when modify DC, the port_num should be
> compared with dev->num_ports, instead of HCA_CAP.num_ports.
> Otherwise Multi-port vHCA on DC may not work.
> 
> Fixes: 776a3906b692 ("IB/mlx5: Add support for DC target QP")
> Signed-off-by: Mark Zhang <markzhang@xxxxxxxxxx>
> Reviewed-by: Maor Gottlieb <maorg@xxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx5/qp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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