dsa: mv88e6xxx: 6161: Use chip wide MAX MTU
authorAndrew Lunn <andrew@lunn.ch>
Sun, 26 Sep 2021 17:41:24 +0000 (19:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Sep 2021 12:31:10 +0000 (13:31 +0100)
commitfe23036192c95b66e60d019d2ec1814d0d561ffd
treedab78d569875e684dfd1729dc23b9a88b5b568bc
parentab609f25d19858513919369ff3d9a63c02cd9e2e
dsa: mv88e6xxx: 6161: Use chip wide MAX MTU

The datasheets suggests the 6161 uses a per port setting for jumbo
frames. Testing has however shown this is not correct, it uses the old
style chip wide MTU control. Change the ops in the 6161 structure to
reflect this.

Fixes: 1baf0fac10fb ("net: dsa: mv88e6xxx: Use chip-wide max frame size for MTU")
Reported by: 曹煜 <cao88yu@gmail.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c