summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2024-10-04 10:47:18 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-10-08 10:42:27 +0200
commit680a8217dc00dc7e7da57888b3c053289b60eb2b (patch)
tree9e280206dcb89be93ddbcd37f523b6edefd43a4a /tools/lib/python
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 <jonas.gorski@gmail.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions