Re: [net v2 PATCH] net: stmmac: No need to calculate speed divider when offload is disabled
From: patchwork-bot+netdevbpf
Date: Tue Jun 18 2024 - 21:00:42 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 17 Jun 2024 09:39:22 +0800 you wrote:
> commit be27b8965297 ("net: stmmac: replace priv->speed with
> the portTransmitRate from the tc-cbs parameters") introduced
> a problem. When deleting, it prompts "Invalid portTransmitRate
> 0 (idleSlope - sendSlope)" and exits. Add judgment on cbs.enable.
> Only when offload is enabled, speed divider needs to be calculated.
>
> Fixes: be27b8965297 ("net: stmmac: replace priv->speed with the portTransmitRate from the tc-cbs parameters")
> Signed-off-by: Xiaolei Wang <xiaolei.wang@xxxxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- [net,v2] net: stmmac: No need to calculate speed divider when offload is disabled
https://git.kernel.org/netdev/net/c/b8c43360f6e4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html