diff options
author | Sergei Antonov <[email protected]> | 2022-08-21 19:08:44 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-08-23 15:30:58 -0700 |
commit | 6c2c782fa0131a091a52bd0b75083fb24c28b6d3 (patch) | |
tree | 536e1944ce1e9c98a3156180159cfa42725f9925 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 52412f5543920378218f156d061d369f9d4d7a17 (diff) |
net: ftmac100: set max_mtu to allow DSA overhead setting
In case ftmac100 is used with a DSA switch, Linux wants to set MTU
to 1504 to accommodate for DSA overhead. With the default max_mtu
it leads to the error message:
ftmac100 92000000.mac eth0: error -22 setting MTU to 1504 to include DSA overhead
ftmac100 supports packet length 1518 (MAX_PKT_SIZE constant), so it is
safe to report it in max_mtu.
Signed-off-by: Sergei Antonov <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions