Re: [PATCH v2] bmips: bcm6368-enetsw: Bump max MTU

2023-10-02 Thread Linus Walleij
On Mon, Oct 2, 2023 at 12:25 AM Linus Walleij wrote: > Test with ping from host: > > PING 192.168.1.220 (192.168.1.220) 1472(1500) bytes of data. > 1480 bytes from 192.168.1.220: icmp_seq=1 ttl=64 time=0.723 ms > 1480 bytes from 192.168.1.220: icmp_seq=2 ttl=64 time=0.562 ms > 1480 bytes from 192

[PATCH v2] bmips: bcm6368-enetsw: Bump max MTU

2023-10-01 Thread Linus Walleij
The max frame size for this ethernet switch is 1536 bytes, excluding the VLAN headers, which is 1536 - VLAN_ETH_HLEN - VLAN_HLEN = 1536 - 18 - 4 = 1514 not ETH_DATA_LEN + ENETSW_TAG_SIZE = 1500 + 4 + 6 = 1510 as it is right now. The available overhead is needed when using the DSA switch with a