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, introduced by commit 820c2c5e773d ("net/mlx5e:
Read ETS settings directly from firmware"), and the set path does
not reject the unsupported CB Shaper TSA, introduced 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, and rejects CB Shaper TSA
configurations that the driver does not support.
Regards,
Tariq
V2:
- Dropped patch 2 "net/mlx5e: Validate bandwidth for non-ETS
traffic classes" (Jakub). We'll submit a more generic version of it.
V1:
https://lore.kernel.org/all/20260622112925.624795-1-tariqt@nvidia.com/ (local)
Alexei Lazar (2):
net/mlx5e: Report zero bandwidth for non-ETS traffic classes
net/mlx5e: Reject unsupported CB Shaper TSA in ETS validation
.../net/ethernet/mellanox/mlx5/core/en_dcbnl.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)
base-commit: 3f1f755366687d051174739fb99f7d560202f60b
--
2.44.0