Re: [PATCH rdma-rc] RDMA/mlx5: Set user priority for DCT

From: Jason Gunthorpe
Date: Wed Oct 06 2021 - 15:41:36 EST


On Wed, Oct 06, 2021 at 12:31:53PM +0300, Leon Romanovsky wrote:
> From: Patrisious Haddad <phaddad@xxxxxxxxxx>
>
> Currently, the driver doesn't set the PCP-based priority for DCT,
> hence DCT response packets are transmitted without user priority.
>
> Fix it by setting user provided priority in the eth_prio field
> in the DCT context, which in turn sets the value in the transmitted packet.
>
> Fixes: 776a3906b692 ("IB/mlx5: Add support for DC target QP")
> Signed-off-by: Patrisious Haddad <phaddad@xxxxxxxxxx>
> Reviewed-by: Maor Gottlieb <maorg@xxxxxxxxxx>
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>
> ---
> drivers/infiniband/hw/mlx5/qp.c | 2 ++
> 1 file changed, 2 insertions(+)

Applied to for-rc, thanks

Jason