Skip to content

DSA tag_8021q cleanup

Vladimir Oltean netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 6 repliesIn review
  2. v14 patches 21 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: dsa: tag_8021q: include missing refcount.hinclude/linux/dsa/8021q.h+1 -00 replies
2/4net: dsa: tag_8021q: setup tagging via a single function calldrivers/net/dsa/sja1105/sja1105_main.c include/linux/dsa/8021q.h net/dsa/tag_8021q.c+25 -171 reply
3/4net: dsa: tag_8021q: add a context structuredrivers/net/dsa/sja1105/sja1105.h drivers/net/dsa/sja1105/sja1105_main.c include/linux/dsa/8021q.h +1 more+216 -1731 reply
4/4Revert "net: dsa: Add more convenient functions for installing port VLANs"net/dsa/dsa_priv.h net/dsa/port.c net/dsa/slave.c+31 -383 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchFlorian Fainelli
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/4] DSA tag_8021q cleanup

From: Vladimir Oltean <[email protected]>

This small series tries to consolidate the VLAN handling in DSA a little bit. It reworks tag_8021q to be minimally invasive to the dsa_switch_ops structure. This makes the rest of the code a bit easier to follow.

Vladimir Oltean (4):
net: dsa: tag_8021q: include missing refcount.h
net: dsa: tag_8021q: setup tagging via a single function call
net: dsa: tag_8021q: add a context structure
Revert "net: dsa: Add more convenient functions for installing port
VLANs"

 drivers/net/dsa/sja1105/sja1105.h      |   3 +-
 drivers/net/dsa/sja1105/sja1105_main.c | 226 ++++++++++++++-----------
 include/linux/dsa/8021q.h              |  49 +++---
 net/dsa/dsa_priv.h                     |   2 -
 net/dsa/port.c                         |  33 ----
 net/dsa/slave.c                        |  34 +++-
 net/dsa/tag_8021q.c                    | 138 ++++++++-------
 7 files changed, 265 insertions(+), 220 deletions(-)
Signature · 1 line
2.25.1