netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v2 0/2] net: dsa: Fix chip-wide frame size config in some drivers
@ 2024-07-17  9:08 Martin Willi
  2024-07-17  9:08 ` [PATCH net v2 1/2] net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports Martin Willi
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Martin Willi @ 2024-07-17  9:08 UTC (permalink / raw)
  To: Andrew Lunn, Florian Fainelli, Vladimir Oltean, Chris Packham,
	Murali Krishna Policharla
  Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	netdev

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-18 11:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-17  9:08 [PATCH net v2 0/2] net: dsa: Fix chip-wide frame size config in some drivers Martin Willi
2024-07-17  9:08 ` [PATCH net v2 1/2] net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports Martin Willi
2024-07-17 11:46   ` Vladimir Oltean
2024-07-17  9:08 ` [PATCH net v2 2/2] net: dsa: b53: Limit chip-wide jumbo frame " Martin Willi
2024-07-17 11:46   ` Vladimir Oltean
2024-07-18 11:30 ` [PATCH net v2 0/2] net: dsa: Fix chip-wide frame size config in some drivers patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).