Home
last modified time | relevance | path

Searched hist:ba551bc3bc22f3a9f16a31cd856b823e76489009 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot.hdiff ba551bc3bc22f3a9f16a31cd856b823e76489009 Thu Nov 14 09:03:25 CST 2019 Vladimir Oltean <vladimir.oltean@nxp.com> net: mscc: ocelot: adjust MTU on the CPU port in NPI mode

When using the NPI port, the DSA tag is passed through Ethernet, so the
switch's MAC needs to accept it as it comes from the DSA master. Increase
the MTU on the external CPU port to account for the length of the
injection header.

Without this patch, MTU-sized frames are dropped by the switch's CPU
port on xmit, which is especially obvious in TCP sessions.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Docelot.cdiff ba551bc3bc22f3a9f16a31cd856b823e76489009 Thu Nov 14 09:03:25 CST 2019 Vladimir Oltean <vladimir.oltean@nxp.com> net: mscc: ocelot: adjust MTU on the CPU port in NPI mode

When using the NPI port, the DSA tag is passed through Ethernet, so the
switch's MAC needs to accept it as it comes from the DSA master. Increase
the MTU on the external CPU port to account for the length of the
injection header.

Without this patch, MTU-sized frames are dropped by the switch's CPU
port on xmit, which is especially obvious in TCP sessions.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>