Re: [PATCH] dsa: tag_rtl4_a: Bump min packet size

From: Florian Fainelli
Date: Fri Oct 27 2023 - 17:23:23 EST


You would want your subject to be:

net: dsa: tag_rtl4_a: Bump min packet size

On 10/27/23 13:21, Linus Walleij wrote:
It was reported that the "LuCI" web UI was not working properly
with a device using the RTL8366RB switch. Disabling the egress
port tagging code made the switch work again, but this is not
a good solution as we want to be able to direct traffic to a
certain port.

It turns out that sometimes, but not always, small packets are
dropped by the switch for no reason.

And we are positive that the Ethernet MAC is also properly padding frames before having them ingress the switch?


If we pad the ethernet frames to a minimum of ETH_FRAME_LEN + FCS
(1518 bytes) everything starts working fine.

That is quite unprecedented, either the switch is very bogus or there is something else we do not fully understand...
--
Florian