mbox series

[v2,net-next,0/4] DSA tag_8021q cleanup

Message ID 20200910164857.1221202-1-olteanv@gmail.com
Headers show
Series DSA tag_8021q cleanup | expand

Message

Vladimir Oltean Sept. 10, 2020, 4:48 p.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

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

Comments

David Miller Sept. 12, 2020, 12:30 a.m. UTC | #1
From: Vladimir Oltean <olteanv@gmail.com>
Date: Thu, 10 Sep 2020 19:48:53 +0300

> From: Vladimir Oltean <vladimir.oltean@nxp.com>
> 
> 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.

Series applied, thank you.