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(-)
--
2.25.1