mbox series

[net,v2,0/2] net: dsa: Fix chip-wide frame size config in some drivers

Message ID 20240717090820.894234-1-martin@strongswan.org (mailing list archive)
Headers show
Series net: dsa: Fix chip-wide frame size config in some drivers | expand

Message

Martin Willi July 17, 2024, 9:08 a.m. UTC
Some DSA chips support a chip-wide frame size configurations, only. Some
drivers adjust that chip-wide setting for user port changes, overriding 
the frame size requirements on the CPU port that includes tagger overhead.

Fix the mv88e6xxx and b53 drivers and align them to the behavior of other
drivers.

v2: 
  - Skip chip-wide config for non-CPU ports instead of finding the maximim
    MTU over all ports
  - Add a patch fixing the b53 driver as well

v1: https://lore.kernel.org/netdev/20240716120808.396514-1-martin@strongswan.org/

Martin Willi (2):
  net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports
  net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports

 drivers/net/dsa/b53/b53_common.c | 3 +++
 drivers/net/dsa/mv88e6xxx/chip.c | 3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org July 18, 2024, 11:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Wed, 17 Jul 2024 11:08:18 +0200 you wrote:
> Some DSA chips support a chip-wide frame size configurations, only. Some
> drivers adjust that chip-wide setting for user port changes, overriding
> the frame size requirements on the CPU port that includes tagger overhead.
> 
> Fix the mv88e6xxx and b53 drivers and align them to the behavior of other
> drivers.
> 
> [...]

Here is the summary with links:
  - [net,v2,1/2] net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports
    https://git.kernel.org/netdev/net/c/66b6095c264e
  - [net,v2,2/2] net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports
    https://git.kernel.org/netdev/net/c/c5118072e228

You are awesome, thank you!