From: Tariq Toukan <ttoukan.linux@gmail.com>
To: Tariq Toukan <tariqt@nvidia.com>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>
Cc: Saeed Mahameed <saeedm@nvidia.com>,
Leon Romanovsky <leon@kernel.org>, Mark Bloch <mbloch@nvidia.com>,
netdev@vger.kernel.org, linux-rdma@vger.kernel.org,
linux-kernel@vger.kernel.org, Gal Pressman <gal@nvidia.com>,
Moshe Shemesh <moshe@nvidia.com>,
Alexei Lazar <alazar@nvidia.com>,
Dragos Tatulea <dtatulea@nvidia.com>
Subject: Re: [PATCH net-next] net/mlx5e: Extend TC max ratelimit using max_bw_value_msb
Date: Tue, 3 Feb 2026 09:46:47 +0200 [thread overview]
Message-ID: <8df3e409-5e5c-4e11-8618-d7aca640cd33@gmail.com> (raw)
In-Reply-To: <20260203073021.1710806-2-tariqt@nvidia.com>
On 03/02/2026 9:30, Tariq Toukan wrote:
> From: Alexei Lazar <alazar@nvidia.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@nvidia.com>
> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
> Reviewed-by: Gal Pressman <gal@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.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/
next prev parent reply other threads:[~2026-02-03 7:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-03 7:30 [PATCH net-next] net/mlx5e: Extend TC max ratelimit Tariq Toukan
2026-02-03 7:30 ` [PATCH net-next] net/mlx5e: Extend TC max ratelimit using max_bw_value_msb Tariq Toukan
2026-02-03 7:46 ` Tariq Toukan [this message]
2026-02-05 5:30 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8df3e409-5e5c-4e11-8618-d7aca640cd33@gmail.com \
--to=ttoukan.linux@gmail.com \
--cc=alazar@nvidia.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=dtatulea@nvidia.com \
--cc=edumazet@google.com \
--cc=gal@nvidia.com \
--cc=kuba@kernel.org \
--cc=leon@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=mbloch@nvidia.com \
--cc=moshe@nvidia.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=saeedm@nvidia.com \
--cc=tariqt@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox