[PATCH net-next 0/4] net: dsa: simplify switchdev prepare phase

From: Vivien Didelot
Date: Thu Nov 30 2017 - 11:26:27 EST


This patch series brings no functional changes.

It removes the unused switchdev_trans arguments from the dsa_switch_ops
for both MDB and VLAN operations, and provides functions to prepare and
add these objects for a given bitmap of ports.

Vivien Didelot (4):
net: dsa: remove trans argument from vlan ops
net: dsa: remove trans argument from mdb ops
net: dsa: add switch vlan bitmap functions
net: dsa: add switch mdb bitmap functions

drivers/net/dsa/b53/b53_common.c | 6 +--
drivers/net/dsa/b53/b53_priv.h | 6 +--
drivers/net/dsa/dsa_loop.c | 9 ++--
drivers/net/dsa/lan9303-core.c | 6 +--
drivers/net/dsa/microchip/ksz_common.c | 12 ++---
drivers/net/dsa/mv88e6xxx/chip.c | 12 ++---
include/net/dsa.h | 20 +++----
net/dsa/switch.c | 97 +++++++++++++++++++++++-----------
8 files changed, 93 insertions(+), 75 deletions(-)

--
2.15.0