Thread (5 messages) flat view 5 messages, 2 authors, 2021-09-27
STALE1783d

[PATCH net 0/3] mv88e6xxx: MTU fixes

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-09-26 17:58:26

These three patches fix MTU issues reported by 曹煜.

There are two different ways of configuring the MTU in the hardware.
The 6161 family is using the wrong method. Some of the marvell switch
enforce the MTU when the port is used for CPU/DSA, some don't.
Because of the extra header, the MTU needs increasing with this
overhead.

Andrew Lunn (3):
  dsa: mv88e6xxx: 6161: Use chip wide MAX MTU
  dsa: mv88e6xxx: Fix MTU definition
  dsa: mv88e6xxx: Include tagger overhead when setting MTU for DSA and
    CPU ports

 drivers/net/dsa/mv88e6xxx/chip.c    | 17 ++++++++++-------
 drivers/net/dsa/mv88e6xxx/chip.h    |  1 +
 drivers/net/dsa/mv88e6xxx/global1.c |  2 ++
 drivers/net/dsa/mv88e6xxx/port.c    |  2 ++
 4 files changed, 15 insertions(+), 7 deletions(-)

-- 
2.33.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help