This patchset adds the switchdev MDB object support to the DSA layer. The MDB support for the mv88e6xxx driver is very similar to the FDB support. The FDB operations care about unicast addresses while the MDB operations care about multicast addresses.
Both operation set load/purge/dump the Address Translation Table (ATU), thus common code is used. Changes in v2 based on Andrew's comments: - drop "group" in multicast database related doc and comment - change _one for more relevant _fid in mv88e6xxx_port_db_dump_one - return -EOPNOTSUPP if switchdev obj ID is neither _FDB nor _MDB Vivien Didelot (3): net: dsa: add MDB support net: dsa: mv88e6xxx: make switchdev DB ops generic net: dsa: mv88e6xxx: add MDB support Documentation/networking/dsa/dsa.txt | 23 +++++ drivers/net/dsa/mv88e6xxx/chip.c | 163 ++++++++++++++++++++++++++--------- include/net/dsa.h | 16 ++++ net/dsa/slave.c | 55 ++++++++++++ 4 files changed, 215 insertions(+), 42 deletions(-) -- 2.9.3