Skip to content

net: dsa: b53 & bcm_sf2 updates for 7278

Florian Fainelli netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 1 replyIn review
  2. v19 patches 1 replySuperseded

Changes in v2 from the cover letter

- fixed some code comments and arrange some code for easier reading

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9net: dsa: bcm_sf2: Fix overflow checksdrivers/net/dsa/bcm_sf2_cfp.c+3 -60 replies
2/9net: dsa: b53: Restore VLAN entries upon (re)configurationdrivers/net/dsa/b53/b53_common.c+15 -00 replies
3/9net: dsa: b53: Prevent tagged VLAN on port 7 for 7278drivers/net/dsa/b53/b53_common.c+8 -00 replies
4/9net: dsa: b53: Deny enslaving port 7 for 7278 into a bridgedrivers/net/dsa/b53/b53_common.c+6 -00 replies
5/9net: dsa: bcm_sf2: Disable learning for ASP portdrivers/net/dsa/bcm_sf2.c+9 -10 replies
6/9net: dsa: bcm_sf2: Check earlier for FLOW_EXT and FLOW_MAC_EXTdrivers/net/dsa/bcm_sf2_cfp.c+3 -20 replies
7/9net: dsa: bcm_sf2: Move writing of CFP_DATA(5) into slicing functionsdrivers/net/dsa/bcm_sf2_cfp.c+32 -320 replies
8/9net: dsa: bcm_sf2: Add support for matching VLAN TCIdrivers/net/dsa/bcm_sf2_cfp.c+38 -150 replies
9/9net: dsa: bcm_sf2: Support specifying VLAN tag egress ruledrivers/net/dsa/bcm_sf2_cfp.c+38 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/9] net: dsa: b53 & bcm_sf2 updates for 7278

Hi David, Andrew, Vivien,

This patch series contains some updates to the b53 and bcm_sf2 drivers specifically for the 7278 Ethernet switch.

The first patch is technically a bug fix so it should ideally be backported to -stable, provided that Dan also agress with my resolution on this.

Patches #2 through #4 are minor changes to the core b53 driver to restore VLAN configuration upon system resumption as well as deny specific bridge/VLAN operations on port 7 with the 7278 which is special and does not support VLANs.

Patches #5 through #9 add support for matching VLAN TCI keys/masks to the CFP code.

Changes in v2:

- fixed some code comments and arrange some code for easier reading

Florian Fainelli (9):
net: dsa: bcm_sf2: Fix overflow checks
net: dsa: b53: Restore VLAN entries upon (re)configuration
net: dsa: b53: Prevent tagged VLAN on port 7 for 7278
net: dsa: b53: Deny enslaving port 7 for 7278 into a bridge
net: dsa: bcm_sf2: Disable learning for ASP port
net: dsa: bcm_sf2: Check earlier for FLOW_EXT and FLOW_MAC_EXT
net: dsa: bcm_sf2: Move writing of CFP_DATA(5) into slicing functions
net: dsa: bcm_sf2: Add support for matching VLAN TCI
net: dsa: bcm_sf2: Support specifying VLAN tag egress rule

 drivers/net/dsa/b53/b53_common.c |  29 +++++++
 drivers/net/dsa/bcm_sf2.c        |  10 ++-
 drivers/net/dsa/bcm_sf2_cfp.c    | 139 ++++++++++++++++++++++---------
 3 files changed, 136 insertions(+), 42 deletions(-)
Signature · 1 line
2.17.1