diff options
author | Jonas Gorski <[email protected]> | 2024-10-04 10:47:18 +0200 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-10-08 10:42:27 +0200 |
commit | 680a8217dc00dc7e7da57888b3c053289b60eb2b (patch) | |
tree | 9e280206dcb89be93ddbcd37f523b6edefd43a4a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 42fb3acf6826c6764ba79feb6e15229b43fd2f9f (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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions