* [PATCH mlx5-next] net/mlx5: Add IFC bits for extended ETS rate limit bandwidth value
@ 2026-01-12 6:50 Tariq Toukan
2026-01-13 8:45 ` Leon Romanovsky
0 siblings, 1 reply; 2+ messages in thread
From: Tariq Toukan @ 2026-01-12 6:50 UTC (permalink / raw)
To: Saeed Mahameed, Leon Romanovsky, Tariq Toukan, Mark Bloch,
netdev, linux-rdma, linux-kernel
Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn,
David S. Miller, Gal Pressman, Moshe Shemesh, Dragos Tatulea,
Alexei Lazar
From: Alexei Lazar <alazar@nvidia.com>
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>
---
include/linux/mlx5/mlx5_ifc.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h
index e844cfa4fe0a..775cb0c56865 100644
--- a/include/linux/mlx5/mlx5_ifc.h
+++ b/include/linux/mlx5/mlx5_ifc.h
@@ -11009,7 +11009,9 @@ struct mlx5_ifc_qcam_access_reg_cap_mask {
};
struct mlx5_ifc_qcam_qos_feature_cap_mask {
- u8 qcam_qos_feature_cap_mask_127_to_1[0x7F];
+ u8 qcam_qos_feature_cap_mask_127_to_5[0x7B];
+ u8 qetcr_qshr_max_bw_val_msb[0x1];
+ u8 qcam_qos_feature_cap_mask_3_to_1[0x3];
u8 qpts_trust_both[0x1];
};
@@ -11965,8 +11967,7 @@ struct mlx5_ifc_ets_tcn_config_reg_bits {
u8 reserved_at_20[0xc];
u8 max_bw_units[0x4];
- u8 reserved_at_30[0x8];
- u8 max_bw_value[0x8];
+ u8 max_bw_value[0x10];
};
struct mlx5_ifc_ets_global_config_reg_bits {
base-commit: f0b2fde98065e49795ce6824837b3f53fdf16e5d
--
2.31.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH mlx5-next] net/mlx5: Add IFC bits for extended ETS rate limit bandwidth value
2026-01-12 6:50 [PATCH mlx5-next] net/mlx5: Add IFC bits for extended ETS rate limit bandwidth value Tariq Toukan
@ 2026-01-13 8:45 ` Leon Romanovsky
0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2026-01-13 8:45 UTC (permalink / raw)
To: Saeed Mahameed, Mark Bloch, netdev, linux-rdma, linux-kernel,
Tariq Toukan
Cc: Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn,
David S. Miller, Gal Pressman, Moshe Shemesh, Dragos Tatulea,
Alexei Lazar
On Mon, 12 Jan 2026 08:50:08 +0200, Tariq Toukan wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] net/mlx5: Add IFC bits for extended ETS rate limit bandwidth value
https://git.kernel.org/rdma/rdma/c/49e41f3ea3f754
Best regards,
--
Leon Romanovsky <leon@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-13 8:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-12 6:50 [PATCH mlx5-next] net/mlx5: Add IFC bits for extended ETS rate limit bandwidth value Tariq Toukan
2026-01-13 8:45 ` Leon Romanovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®