]> 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)
commitbb3f895c67a881668b38ccd8e3ce421108876e83
tree632e11fffbecfc40bc16144ad0f860e1ac1d9309
parente0b4cf98dd2b4551621a640106cf9a6efc9a45a8
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: 9dc4bcf52a50 ("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