dsa: mv88e6xxx: 6161: Use chip wide MAX MTU
authorAndrew Lunn <andrew@lunn.ch>
Sun, 26 Sep 2021 17:41:24 +0000 (19:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Oct 2021 13:55:54 +0000 (15:55 +0200)
commitee4d0495a65e366538063907c8b4459245620e0c
treedbb7d3bc815f1d91bb6fd815a746d8e8e56e8b7e
parentd35d95e8b9da638d27bce9552262e0c486138343
dsa: mv88e6xxx: 6161: Use chip wide MAX MTU

[ Upstream commit fe23036192c95b66e60d019d2ec1814d0d561ffd ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/dsa/mv88e6xxx/chip.c