]> git.ipfire.org Git - people/arne_f/kernel.git/commitdiff
Merge branch 'Update-DSAs-FDB-API-and-perform-switchdev-cleanup'
authorDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:48:49 +0000 (14:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:49:17 +0000 (14:49 -0700)
Arkadi Sharshevsky says:

====================
Update DSA's FDB API and perform switchdev cleanup

The patchset adds support for configuring static FDB entries via the
switchdev notification chain. The current method for FDB configuration
uses the switchdev's bridge bypass implementation. In order to support
this legacy way and to perform the switchdev cleanup, the implementation
is moved inside DSA.

The DSA drivers cannot sync the software bridge with hardware learned
entries and use the switchdev's implementation of bypass FDB dumping.
Because they are the only ones using this functionality, the fdb_dump
implementation is moved from switchdev code into DSA.

Finally after this changes a major cleanup in switchdev can be done.

Please see individual patches for patch specific change logs.
v1->v2
- Split MDB/vlan dump removal into core/driver removal.

v2->v3
- The self implementation for FDB add/del is moved inside DSA.
====================

Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge