]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement support for Differentiated Service Code Point, DSCP, in mlx5en(4).
authorHans Petter Selasky <hselasky@FreeBSD.org>
Tue, 17 Jul 2018 09:56:40 +0000 (09:56 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Tue, 17 Jul 2018 09:56:40 +0000 (09:56 +0000)
commited0cee0bf49511a7babf6ee2c67222b627481957
tree1fbae86eeb15f4f7222411a49c6fc78c2b5805cd
parentcda1e10ca0a6f89360494ab31f91eb920e395760
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

MFC after: 1 week
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