aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorJonas Gorski <[email protected]>2024-10-04 10:47:18 +0200
committerPaolo Abeni <[email protected]>2024-10-08 10:42:27 +0200
commit680a8217dc00dc7e7da57888b3c053289b60eb2b (patch)
tree9e280206dcb89be93ddbcd37f523b6edefd43a4a /rust/helpers
parent42fb3acf6826c6764ba79feb6e15229b43fd2f9f (diff)
net: dsa: b53: fix max MTU for 1g switches
JMS_MAX_SIZE is the ethernet frame length, not the MTU, which is payload without ethernet headers. According to the datasheets maximum supported frame length for most gigabyte swithes is 9720 bytes, so convert that to the expected MTU when using VLAN tagged frames. Fixes: 6ae5834b983a ("net: dsa: b53: add MTU configuration support") Signed-off-by: Jonas Gorski <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions