[PATCH net 0/3] net/mlx5e: Report zero bandwidth for non-ETS traffic
From: Tariq Toukan <tariqt@nvidia.com>
Date: 2026-06-22 11:30:14
Also in:
linux-rdma, lkml
From: Tariq Toukan <tariqt@nvidia.com>
Date: 2026-06-22 11:30:14
Also in:
linux-rdma, lkml
Hi,
The IEEE 802.1Qaz standard restricts bandwidth allocation percentages
to Enhanced Transmission Selection (ETS) traffic classes; STRICT,
VENDOR, and CB Shaper TSA types carry no bandwidth semantics. Two
problems exist in the mlx5e DCBNL ETS implementation: the get path
reports 100% bandwidth for all TCs regardless of TSA type due to a
hardware limitation, and the set path neither rejects non-zero
bandwidth values for non-ETS TCs nor rejects the unsupported CB
Shaper TSA altogether. The first issue was introduced by commit
820c2c5e773d ("net/mlx5e: Read ETS settings directly from firmware")
and the latter two by commit 08fb1dacdd76 ("net/mlx5e: Support DCBNL
IEEE ETS").
This series by Alexei Lazar fixes the get path to report zero
bandwidth for non-ETS traffic classes, adds validation to reject
non-zero bandwidth for non-ETS TCs on the set path, and rejects CB
Shaper TSA configurations that the driver does not support.
Regards,
Tariq
Alexei Lazar (3):
net/mlx5e: Report zero bandwidth for non-ETS traffic classes
net/mlx5e: Validate bandwidth for non-ETS traffic classes
net/mlx5e: Reject unsupported CB Shaper TSA in ETS validation
.../ethernet/mellanox/mlx5/core/en_dcbnl.c | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
base-commit: d07d80b6a129a44538cda1549b7acf95154fb197
--
2.44.0