]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: Add IFC bits for extended ETS rate limit bandwidth value
authorAlexei Lazar <alazar@nvidia.com>
Mon, 12 Jan 2026 06:50:08 +0000 (08:50 +0200)
committerLeon Romanovsky <leon@kernel.org>
Tue, 13 Jan 2026 08:43:00 +0000 (03:43 -0500)
commit49e41f3ea3f7545c732a0b399cb123173afc5cfe
tree64b72cb8e6a37ce5e1a5bffd697a55d7adc7f665
parentf0b2fde98065e49795ce6824837b3f53fdf16e5d
net/mlx5: Add IFC bits for extended ETS rate limit bandwidth value

Add hardware interface definitions to support extended bandwidth rate
limiting in the QoS Enhanced Transmission Selection (ETS) configuration.

The new fields include:
- max_bw_value: extended from 8-bit to 16-bit in ets_tcn_config_reg,
  simplifying the implementation by using a single field instead of
  separate MSB/LSB fields.
- qetcr_qshr_max_bw_val_msb: capability bit in qcam_qos_feature_cap_mask
  indicating device support for the extended 16-bit max_bw_value field.

These interface additions are prerequisites for increasing the per-TC
rate limit beyond 255 Gbps to support higher-bandwidth NICs.

Signed-off-by: Alexei Lazar <alazar@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1768200608-1543180-1-git-send-email-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
include/linux/mlx5/mlx5_ifc.h