diff options
author | Linus Walleij <[email protected]> | 2023-10-05 00:43:53 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-06 15:52:08 -0700 |
commit | 4f08c25702399a53129c5152c5598a3ab6360e1d (patch) | |
tree | f5b7d6d92a129dfe53f1f4b81fe33fc19d84941c /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 0ff85cb9ce6631d7615fbfc0f816696c71556843 (diff) |
net: ixp4xx_eth: Support changing the MTU
As we don't specify the MTU in the driver, the framework
will fall back to 1500 bytes and this doesn't work very
well when we try to attach a DSA switch:
eth1: mtu greater than device maximum
ixp4xx_eth c800a000.ethernet eth1: error -22 setting
MTU to 1504 to include DSA overhead
After locating an out-of-tree patch in OpenWrt I found
suitable code to set the MTU on the interface and ported
it and updated it. Now the MTU gets set properly.
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions