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

From: Vivien Didelot
Date: Wed Nov 08 2017 - 12:20:22 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 function to prepare and
add these objects for a given bitmap of ports.

Vivien Didelot (6):
net: dsa: remove trans argument from mdb ops
net: dsa: return after mdb prepare phase
net: dsa: add switch mdb bitmap functions
net: dsa: remove trans argument from vlan ops
net: dsa: return after vlan prepare phase
net: dsa: add switch vlan 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 | 93 ++++++++++++++++++++++++----------
8 files changed, 93 insertions(+), 71 deletions(-)

--
2.15.0