]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit520bffa1e7133bc1c7fb165ecf1762c6cc26cebb
treedab78d569875e684dfd1729dc23b9a88b5b568bc
parentf043811728a85cffc19d946554b022ed294eca73
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: bf90e25f24c4 ("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