]> www.infradead.org Git - users/hch/configfs.git/commit
net: dsa: b53: fix max MTU for BCM5325/BCM5365
authorJonas Gorski <jonas.gorski@gmail.com>
Fri, 4 Oct 2024 08:47:19 +0000 (10:47 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Oct 2024 08:42:27 +0000 (10:42 +0200)
commitca8c1f71c10193c270f772d70d34b15ad765d6a8
tree7daa8bed41948fd047f1c3affcccedcf03033c2e
parent680a8217dc00dc7e7da57888b3c053289b60eb2b
net: dsa: b53: fix max MTU for BCM5325/BCM5365

BCM5325/BCM5365 do not support jumbo frames, so we should not report a
jumbo frame mtu for them. But they do support so called "oversized"
frames up to 1536 bytes long by default, so report an appropriate MTU.

Fixes: 6ae5834b983a ("net: dsa: b53: add MTU configuration support")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/dsa/b53/b53_common.c