Skip to content

Configure the MTU on DSA switches

Vladimir Oltean netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 1 replyIn review
  2. v38 patches 5 repliesSuperseded
  3. v210 patches 26 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches12 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8net: phy: bcm7xx: add jumbo frame configuration to PHYdrivers/net/phy/bcm-phy-lib.c drivers/net/phy/bcm-phy-lib.h drivers/net/phy/bcm7xxx.c +1 more+29 -00 replies
2/8bgmac: configure MTU and add support for frames beyond 8192 byte sizedrivers/net/ethernet/broadcom/bgmac.c drivers/net/ethernet/broadcom/bgmac.h+15 -20 replies
3/8net: dsa: configure the MTU for switch portsinclude/net/dsa.h net/dsa/dsa_priv.h net/dsa/master.c +3 more+181 -160 replies
4/8net: dsa: implement auto-normalization of MTU for bridge hardware datapathinclude/net/dsa.h net/dsa/dsa2.c net/dsa/dsa_priv.h +1 more+125 -10 replies
5/8net: dsa: b53: add MTU configuration supportdrivers/net/dsa/b53/b53_common.c+22 -50 replies
6/8net: dsa: sja1105: implement the port MTU callbacksdrivers/net/dsa/sja1105/sja1105.h drivers/net/dsa/sja1105/sja1105_main.c+47 -40 replies
7/8net: dsa: vsc73xx: make the MTU configurabledrivers/net/dsa/vitesse-vsc73xx-core.c+20 -100 replies
8/8net: dsa: felix: support changing the MTUdrivers/net/dsa/ocelot/felix.c drivers/net/ethernet/mscc/ocelot.c include/soc/mscc/ocelot.h+61 -100 replies

Reviews trailers per patch

6 of 8 patches have a Reviewed-by or Acked-by.

PatchScott BrandenFlorian FainelliArun ParameswaranRay Jui
1/8R-b A-b
2/8R-b R-b
3/8
4/8
5/8A-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 net-next 0/8] Configure the MTU on DSA switches

From: Vladimir Oltean <[email protected]>

This series adds support for configuring the MTU on front-panel switch ports, while seamlessly adapting the CPU port and the DSA master to the largest value plus the tagger overhead.

It also implements bridge MTU auto-normalization within the DSA core, as resulted after the feedback of the implementation of this feature inside the bridge driver in v2.

Support was added for quite a number of switches, in the hope that this series would gain some traction:
- sja1105
- felix
- vsc73xx
- b53 and rest of the platform

V3 of this series was submitted here:
https://patchwork.ozlabs.org/cover/1262394/

V2 of this series was submitted here:
https://patchwork.ozlabs.org/cover/1261471/

V1 of this series was submitted here:
https://patchwork.ozlabs.org/cover/1199868/

Murali Krishna Policharla (3):
net: phy: bcm7xx: add jumbo frame configuration to PHY
bgmac: configure MTU and add support for frames beyond 8192 byte size
net: dsa: b53: add MTU configuration support

Vladimir Oltean (5):
net: dsa: configure the MTU for switch ports
net: dsa: implement auto-normalization of MTU for bridge hardware
datapath
net: dsa: sja1105: implement the port MTU callbacks
net: dsa: vsc73xx: make the MTU configurable
net: dsa: felix: support changing the MTU

 drivers/net/dsa/b53/b53_common.c       |  27 ++-
 drivers/net/dsa/ocelot/felix.c         |  19 +++
 drivers/net/dsa/sja1105/sja1105.h      |   1 +
 drivers/net/dsa/sja1105/sja1105_main.c |  50 +++++-
 drivers/net/dsa/vitesse-vsc73xx-core.c |  30 ++--
 drivers/net/ethernet/broadcom/bgmac.c  |  12 ++
 drivers/net/ethernet/broadcom/bgmac.h  |   5 +-
 drivers/net/ethernet/mscc/ocelot.c     |  45 +++--
 drivers/net/phy/bcm-phy-lib.c          |  22 +++
 drivers/net/phy/bcm-phy-lib.h          |   1 +
 drivers/net/phy/bcm7xxx.c              |   4 +
 include/linux/brcmphy.h                |   2 +
 include/net/dsa.h                      |  16 ++
 include/soc/mscc/ocelot.h              |   7 +
 net/dsa/dsa2.c                         |   2 +-
 net/dsa/dsa_priv.h                     |  15 ++
 net/dsa/master.c                       |  21 +--
 net/dsa/port.c                         |  13 ++
 net/dsa/slave.c                        | 219 ++++++++++++++++++++++++-
 net/dsa/switch.c                       |  37 +++++
 20 files changed, 500 insertions(+), 48 deletions(-)
Signature · 1 line
2.17.1