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

From: Florian Fainelli
Date: Thu Nov 02 2023 - 18:25:07 EST


On 11/2/23 15:09, Linus Walleij wrote:
On Thu, Nov 2, 2023 at 7:43 PM Florian Fainelli <f.fainelli@xxxxxxxxx> wrote:

Looking at drivers/net/ethernet/cortina/gemini.c, should not we account
for when the MAC is used as a conduit and include the right amount of
"MTU" bytes? Something like this (compile tested only):

The DSA core already fixes this by adding the tag size to the MTU
of the conduit interface, so netdev->mtu is already 1504 for this
switch.

I found other oddities though so I'm digging into the driver!

Yes indeed, I forgot about that, never mind :)
--
Florian