kernel-hacking-2024-linux-s.../drivers/net/dsa
Martin Willi c5118072e2 net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports
Broadcom switches supported by the b53 driver use a chip-wide jumbo frame
configuration. In the commit referenced with the Fixes tag, the setting
is applied just for the last port changing its MTU.

While configuring CPU ports accounts for tagger overhead, user ports do
not. When setting the MTU for a user port, the chip-wide setting is
reduced to not include the tagger overhead, resulting in an potentially
insufficient chip-wide maximum frame size for the CPU port.

As, by design, the CPU port MTU is adjusted for any user port change,
apply the chip-wide setting only for CPU ports. This aligns the driver
to the behavior of other switch drivers.

Fixes: 6ae5834b98 ("net: dsa: b53: add MTU configuration support")
Suggested-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Martin Willi <martin@strongswan.org>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-07-18 13:09:12 +02:00
..
b53 net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports 2024-07-18 13:09:12 +02:00
hirschmann net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
microchip net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
mv88e6xxx net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports 2024-07-18 13:09:12 +02:00
ocelot net: Add struct kernel_ethtool_ts_info 2024-07-15 08:02:26 -07:00
qca net: dsa: ar9331: constify struct regmap_bus 2024-07-05 17:02:20 -07:00
realtek
sja1105 Merge branch 'net-make-timestamping-selectable' 2024-07-15 08:02:30 -07:00
xrs700x net: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-26 07:28:08 -07:00
bcm_sf2.c
bcm_sf2.h
bcm_sf2_cfp.c
bcm_sf2_regs.h
dsa_loop.c
dsa_loop.h
dsa_loop_bdinfo.c
Kconfig net: dsa: vsc73xx: Implement the tag_8021q VLAN operations 2024-07-15 06:55:15 -07:00
lan9303-core.c dsa: lan9303: Fix mapping between DSA port number and PHY address 2024-07-04 19:19:21 -07:00
lan9303.h
lan9303_i2c.c net: Drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-06-26 07:28:08 -07:00
lan9303_mdio.c dsa: lan9303: consistent naming for PHY address parameter 2024-07-15 08:49:59 -07:00
lantiq_gswip.c
lantiq_pce.h
Makefile
mt7530-mdio.c
mt7530-mmio.c
mt7530.c
mt7530.h
mv88e6060.c
mv88e6060.h
rzn1_a5psw.c
rzn1_a5psw.h
vitesse-vsc73xx-core.c net: dsa: vsc73xx: start treating the BR_LEARNING flag 2024-07-15 06:55:16 -07:00
vitesse-vsc73xx-platform.c
vitesse-vsc73xx-spi.c
vitesse-vsc73xx.h net: dsa: vsc73xx: Add vlan filtering 2024-07-15 06:55:15 -07:00