* Re: [PATCH net] net/mlx5: Only set num_doorbells on a fully initialized SF
2026-10-26 8:45 [PATCH net] net/mlx5: Only set num_doorbells on a fully initialized SF Tariq Toukan
@ 2026-10-26 8:50 ` netdev-bot+sinfo
2026-10-26 9:35 ` sashiko-bot
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: netdev-bot+sinfo @ 2026-10-26 8:50 UTC (permalink / raw)
To: Tariq Toukan
Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
netdev, Paolo Abeni, Cosmin Ratiu, Dragos Tatulea, Gal Pressman,
Leon Romanovsky, open list, linux-rdma, Mark Bloch,
Saeed Mahameed, Simon Horman
Hi!
This is an automated message. This series looks like a fix, but its
commit messages seem to be missing some information:
- How the issue was discovered, e.g. hit in production, hit during
development, syzbot report, manual code inspection, LLM or static
analysis tool scan.
- Whether the issue was actually triggered, or is only theoretical
(e.g. found by code inspection). If it was triggered please include
the symptoms, like the stack trace or error messages.
- What hardware the change was tested on. For driver fixes please
mention the device (and if relevant firmware version) used for
testing, or say that the change was not tested on real hardware.
Please do not repost the series just to address the above. Instead,
reply to this email with the missing information, so that reviewers
can take it into account. If the series needs another revision for
other reasons, please include the information in the commit messages
then.
The evaluation is done by an LLM so it may be wrong, if you think
that is the case please reply and explain.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH net] net/mlx5: Only set num_doorbells on a fully initialized SF
2026-10-26 8:45 [PATCH net] net/mlx5: Only set num_doorbells on a fully initialized SF Tariq Toukan
2026-10-26 8:50 ` netdev-bot+sinfo
@ 2026-10-26 9:35 ` sashiko-bot
2026-10-28 12:21 ` Daniel Machon
2026-10-29 9:40 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-10-26 9:35 UTC (permalink / raw)
To: Tariq Toukan; +Cc: linux-rdma
> From: Cosmin Ratiu <cratiu@nvidia.com>
>
> The validation for the num_doorbells devlink param rejects values
> greater than num_channels. For lightweight SFs, this ends up accessing
> a NULL priv->eq_table, leading to a crash.
>
> Fix that by rejecting setting num_doorbells on uninitialized SFs.
>
> Fixes: 11bbcfb7668c ("net/mlx5e: Use the 'num_doorbells' devlink param")
> Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261026084503.4122732-1-tariqt@nvidia.com?part=1
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH net] net/mlx5: Only set num_doorbells on a fully initialized SF
2026-10-26 8:45 [PATCH net] net/mlx5: Only set num_doorbells on a fully initialized SF Tariq Toukan
2026-10-26 8:50 ` netdev-bot+sinfo
2026-10-26 9:35 ` sashiko-bot
@ 2026-10-28 12:21 ` Daniel Machon
2026-10-29 9:40 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 5+ messages in thread
From: Daniel Machon @ 2026-10-28 12:21 UTC (permalink / raw)
To: Tariq Toukan
Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
netdev, Paolo Abeni, Cosmin Ratiu, Dragos Tatulea, Gal Pressman,
Leon Romanovsky, open list, linux-rdma, Mark Bloch,
Saeed Mahameed, Simon Horman
> From: Cosmin Ratiu <cratiu@nvidia.com>
>
> The validation for the num_doorbells devlink param rejects values
> greater than num_channels. For lightweight SFs, this ends up accessing
> a NULL priv->eq_table, leading to a crash.
>
> Fix that by rejecting setting num_doorbells on uninitialized SFs.
>
> Fixes: 11bbcfb7668c ("net/mlx5e: Use the 'num_doorbells' devlink param")
> Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
> Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
> Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Daniel Machon <daniel.machon@microchip.com>
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH net] net/mlx5: Only set num_doorbells on a fully initialized SF
2026-10-26 8:45 [PATCH net] net/mlx5: Only set num_doorbells on a fully initialized SF Tariq Toukan
` (2 preceding siblings ...)
2026-10-28 12:21 ` Daniel Machon
@ 2026-10-29 9:40 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-10-29 9:40 UTC (permalink / raw)
To: Tariq Toukan
Cc: andrew+netdev, davem, edumazet, kuba, netdev, pabeni, cratiu,
dtatulea, gal, leon, linux-kernel, linux-rdma, mbloch, saeedm,
horms
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Mon, 26 Oct 2026 10:45:03 +0200 you wrote:
> From: Cosmin Ratiu <cratiu@nvidia.com>
>
> The validation for the num_doorbells devlink param rejects values
> greater than num_channels. For lightweight SFs, this ends up accessing
> a NULL priv->eq_table, leading to a crash.
>
> Fix that by rejecting setting num_doorbells on uninitialized SFs.
>
> [...]
Here is the summary with links:
- [net] net/mlx5: Only set num_doorbells on a fully initialized SF
https://git.kernel.org/netdev/net/c/fa503935c2d6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 5+ messages in thread