[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8df3e409-5e5c-4e11-8618-d7aca640cd33@gmail.com>
Date: Tue, 3 Feb 2026 09:46:47 +0200
From: Tariq Toukan <ttoukan.linux@...il.com>
To: Tariq Toukan <tariqt@...dia.com>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Andrew Lunn <andrew+netdev@...n.ch>, "David S. Miller" <davem@...emloft.net>
Cc: Saeed Mahameed <saeedm@...dia.com>, Leon Romanovsky <leon@...nel.org>,
Mark Bloch <mbloch@...dia.com>, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
Gal Pressman <gal@...dia.com>, Moshe Shemesh <moshe@...dia.com>,
Alexei Lazar <alazar@...dia.com>, Dragos Tatulea <dtatulea@...dia.com>
Subject: Re: [PATCH net-next] net/mlx5e: Extend TC max ratelimit using
max_bw_value_msb
On 03/02/2026 9:30, Tariq Toukan wrote:
> From: Alexei Lazar <alazar@...dia.com>
>
> The per-TC rate limit was restricted to 255 Gbps due to the 8-bit
> max_bw_value field in the QETC register.
> This limit is insufficient for newer, higher-bandwidth NICs.
>
> Extend the rate limit by using the full 16-bit max_bw_value field.
> This allows the finer 100Mbps granularity to be used for rates up to
> ~6.5 Tbps, instead of switching to 1Gbps granularity at higher rates.
>
> The extended range is only used when the device advertises support
> via the qetcr_qshr_max_bw_val_msb capability bit in the QCAM register.
>
> Signed-off-by: Alexei Lazar <alazar@...dia.com>
> Reviewed-by: Dragos Tatulea <dtatulea@...dia.com>
> Reviewed-by: Gal Pressman <gal@...dia.com>
> Signed-off-by: Tariq Toukan <tariqt@...dia.com>
Please ignore this one.
Mistakenly sent two similar patches (with a slight subject change).
Find the other one here:
https://lore.kernel.org/all/20260203073021.1710806-1-tariqt@nvidia.com/
Powered by blists - more mailing lists