[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200907182910.1285496-1-olteanv@gmail.com>
Date: Mon, 7 Sep 2020 21:29:06 +0300
From: Vladimir Oltean <olteanv@...il.com>
To: davem@...emloft.net
Cc: f.fainelli@...il.com, vivien.didelot@...il.com, andrew@...n.ch,
netdev@...r.kernel.org
Subject: [PATCH net-next 0/4] Some VLAN handling cleanup in DSA
From: Vladimir Oltean <vladimir.oltean@....com>
This small series tries to consolidate the VLAN handling in DSA a little
bit.
First, tag_8021q is reworked to be minimally invasive to the
dsa_switch_ops structure. This makes the rest of the code a bit easier
to follow.
Then, the configure_vlan_while_not_filtering flag is enabled by default,
so new drivers won't use the legacy behavior by mistake. This was done
after the recent conversation with Kurt Kanzenbach on the Hirschmann
Hellcreek review patches.
Vladimir Oltean (4):
net: dsa: tag_8021q: include missing refcount.h
net: dsa: tag_8021q: add a context structure
Revert "net: dsa: Add more convenient functions for installing port
VLANs"
net: dsa: set configure_vlan_while_not_filtering to true by default
drivers/net/dsa/b53/b53_common.c | 1 +
drivers/net/dsa/bcm_sf2.c | 1 +
drivers/net/dsa/dsa_loop.c | 1 -
drivers/net/dsa/lantiq_gswip.c | 3 +
drivers/net/dsa/microchip/ksz8795.c | 2 +
drivers/net/dsa/microchip/ksz9477.c | 2 +
drivers/net/dsa/mt7530.c | 1 -
drivers/net/dsa/mv88e6xxx/chip.c | 1 +
drivers/net/dsa/ocelot/felix.c | 1 -
drivers/net/dsa/qca/ar9331.c | 2 +
drivers/net/dsa/qca8k.c | 1 -
drivers/net/dsa/rtl8366rb.c | 2 +
drivers/net/dsa/sja1105/sja1105.h | 3 +-
drivers/net/dsa/sja1105/sja1105_main.c | 246 +++++++++++++++----------
include/linux/dsa/8021q.h | 49 ++---
net/dsa/dsa2.c | 2 +
net/dsa/dsa_priv.h | 2 -
net/dsa/port.c | 33 ----
net/dsa/slave.c | 63 ++++++-
net/dsa/tag_8021q.c | 138 ++++++++------
20 files changed, 319 insertions(+), 235 deletions(-)
--
2.25.1
Powered by blists - more mailing lists