Re: [PATCH v2 net 0/3] Fixes for Felix DSA driver calculation of tc-taprio guard bands

From: patchwork-bot+netdevbpf
Date: Wed Sep 07 2022 - 09:00:27 EST


Hello:

This series was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Mon, 5 Sep 2022 20:01:22 +0300 you wrote:
> This series fixes some bugs which are not quite new, but date from v5.13
> when static guard bands were enabled by Michael Walle to prevent
> tc-taprio overruns.
>
> The investigation started when Xiaoliang asked privately what is the
> expected max SDU for a traffic class when its minimum gate interval is
> 10 us. The answer, as it turns out, is not an L1 size of 1250 octets,
> but 1245 octets, since otherwise, the switch will not consider frames
> for egress scheduling, because the static guard band is exactly as large
> as the time interval. The switch needs a minimum of 33 ns outside of the
> guard band to consider a frame for scheduling, and the reduction of the
> max SDU by 5 provides exactly for that.
>
> [...]

Here is the summary with links:
- [v2,net,1/3] net: dsa: felix: tc-taprio intervals smaller than MTU should send at least one packet
https://git.kernel.org/netdev/net/c/11afdc6526de
- [v2,net,2/3] net: dsa: felix: disable cut-through forwarding for frames oversized for tc-taprio
https://git.kernel.org/netdev/net/c/843794bbdef8
- [v2,net,3/3] net: dsa: felix: access QSYS_TAG_CONFIG under tas_lock in vsc9959_sched_speed_set
https://git.kernel.org/netdev/net/c/a4bb481aeb9d

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