[PATCH net-next v2 0/3] net: dsa: push switchdev prepare phase in FDB ops

Vivien Didelot
2015-10-08T15:35:11Z

This patchset pushes the switchdev prepare phase for the FDB add and del
operations down to the DSA drivers. Currently only mv88e6xxx is affected.

Since the dump requires a bit of refactoring in the driver, it'll come in a
future patchset.

Changes in v2:
* forward declare switchdev structs instead of fixing the dsa.h include.

Vivien Didelot (3):
net: dsa: add port_fdb_prepare
net: dsa: push prepare phase in port_fdb_add
net: dsa: use switchdev obj in port_fdb_del

drivers/net/dsa/mv88e6171.c | 1 +
drivers/net/dsa/mv88e6352.c | 1 +
drivers/net/dsa/mv88e6xxx.c | 24 ++++++++++++++++++------
drivers/net/dsa/mv88e6xxx.h | 8 ++++++--
include/net/dsa.h | 11 +++++++++--
net/dsa/slave.c | 11 +++++++----
6 files changed, 42 insertions(+), 14 deletions(-)

--
2.6.0