]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r336392:
authorhselasky <hselasky@FreeBSD.org>
Thu, 2 Aug 2018 08:36:51 +0000 (08:36 +0000)
committerhselasky <hselasky@FreeBSD.org>
Thu, 2 Aug 2018 08:36:51 +0000 (08:36 +0000)
commit3e22e5afd63072ca883eee083ca8858f89055ef3
tree554eb25fabc00c27dfeee17477d1d1c3b6843a0d
parentd1e95c981548d99e976f333e240b242836a31224
MFC r336392:
Implement support for Differentiated Service Code Point, DSCP, in mlx5en(4).

The DSCP feature is controlled using a set of sysctl(8) fields under
the qos sysctl directory entry for mlx5en(4).

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.

Linux commit:
ed88451e1f2d400fd6a743d0a481631cf9f97550

Sponsored by: Mellanox Technologies
12 files changed:
sys/dev/mlx5/device.h
sys/dev/mlx5/driver.h
sys/dev/mlx5/mlx5_core/mlx5_core.h
sys/dev/mlx5/mlx5_core/mlx5_fw.c
sys/dev/mlx5/mlx5_core/mlx5_port.c
sys/dev/mlx5/mlx5_en/en.h
sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c
sys/dev/mlx5/mlx5_ib/mlx5_ib.h
sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
sys/dev/mlx5/mlx5_ib/mlx5_ib_qp.c
sys/dev/mlx5/mlx5_ifc.h
sys/dev/mlx5/port.h