]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Assign DSCP for R-RoCE QPs Address Path
authorMajd Dibbiny <majd@mellanox.com>
Wed, 18 Jan 2017 12:10:35 +0000 (14:10 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 14 Feb 2017 15:14:25 +0000 (10:14 -0500)
commit50fe43b3c5d3b0d7feaec3bba0dc6d640e7b1b39
tree632e11fffbecfc40bc16144ad0f860e1ac1d9309
parent981a31313e47fe5ccbd2f14fd02bbd90d527a680
IB/mlx5: Assign DSCP for R-RoCE QPs Address Path

For Routable RoCE QPs, the DSCP should be set in the QP's
address path.

The DSCP's value is derived from the traffic class.

Fixes: 851d30e0ec1a ("IB/mlx5: Add RoCE fields to Address Vector")
Cc: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c