mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
c5118072e2
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:
|
||
---|---|---|
.. | ||
b53_common.c | ||
b53_mdio.c | ||
b53_mmap.c | ||
b53_priv.h | ||
b53_regs.h | ||
b53_serdes.c | ||
b53_serdes.h | ||
b53_spi.c | ||
b53_srab.c | ||
Kconfig | ||
Makefile |