[net v5 PATCH] net: stmmac: replace priv->speed with the portTransmitRate from the tc-cbs parameters

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Tue Jun 11 20:00:33 PDT 2024


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Sat,  8 Jun 2024 22:35:24 +0800 you wrote:
> The current cbs parameter depends on speed after uplinking,
> which is not needed and will report a configuration error
> if the port is not initially connected. The UAPI exposed by
> tc-cbs requires userspace to recalculate the send slope anyway,
> because the formula depends on port_transmit_rate (see man tc-cbs),
> which is not an invariant from tc's perspective. Therefore, we
> use offload->sendslope and offload->idleslope to derive the
> original port_transmit_rate from the CBS formula.
> 
> [...]

Here is the summary with links:
  - [net,v5] net: stmmac: replace priv->speed with the portTransmitRate from the tc-cbs parameters
    https://git.kernel.org/netdev/net/c/be27b8965297

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-arm-kernel mailing list