diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2019-11-14 17:03:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-15 12:32:16 -0800 |
commit | ba551bc3bc22f3a9f16a31cd856b823e76489009 (patch) | |
tree | 3df385dbe165760a86d3ea260f6fa74e5df52df4 /drivers/net/plip | |
parent | f24711fddc36aa7286af724393ef7334b92c5702 (diff) | |
download | linux-ba551bc3bc22f3a9f16a31cd856b823e76489009.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/plip')
0 files changed, 0 insertions, 0 deletions