mbox series

[net,0/3] mv88e6xxx: MTU fixes

Message ID 20210926174126.1987355-1-andrew@lunn.ch (mailing list archive)
Headers show
Series mv88e6xxx: MTU fixes | expand

Message

Andrew Lunn Sept. 26, 2021, 5:41 p.m. UTC
These three patches fix MTU issues reported by 曹煜.

There are two different ways of configuring the MTU in the hardware.
The 6161 family is using the wrong method. Some of the marvell switch
enforce the MTU when the port is used for CPU/DSA, some don't.
Because of the extra header, the MTU needs increasing with this
overhead.

Andrew Lunn (3):
  dsa: mv88e6xxx: 6161: Use chip wide MAX MTU
  dsa: mv88e6xxx: Fix MTU definition
  dsa: mv88e6xxx: Include tagger overhead when setting MTU for DSA and
    CPU ports

 drivers/net/dsa/mv88e6xxx/chip.c    | 17 ++++++++++-------
 drivers/net/dsa/mv88e6xxx/chip.h    |  1 +
 drivers/net/dsa/mv88e6xxx/global1.c |  2 ++
 drivers/net/dsa/mv88e6xxx/port.c    |  2 ++
 4 files changed, 15 insertions(+), 7 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 27, 2021, 12:40 p.m. UTC | #1
Hello:

This series was applied to netdev/net.git (refs/heads/master):

On Sun, 26 Sep 2021 19:41:23 +0200 you wrote:
> These three patches fix MTU issues reported by 曹煜.
> 
> There are two different ways of configuring the MTU in the hardware.
> The 6161 family is using the wrong method. Some of the marvell switch
> enforce the MTU when the port is used for CPU/DSA, some don't.
> Because of the extra header, the MTU needs increasing with this
> overhead.
> 
> [...]

Here is the summary with links:
  - [net,1/3] dsa: mv88e6xxx: 6161: Use chip wide MAX MTU
    https://git.kernel.org/netdev/net/c/fe23036192c9
  - [net,2/3] dsa: mv88e6xxx: Fix MTU definition
    https://git.kernel.org/netdev/net/c/b92ce2f54c0f
  - [net,3/3] dsa: mv88e6xxx: Include tagger overhead when setting MTU for DSA and CPU ports
    https://git.kernel.org/netdev/net/c/b9c587fed61c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html