OSDN Git Service

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)
commit38db25aeda8efc1eac268ab15e664e023a64fe18
treea015ab2c573e384dabc9c43cbae2d17a4f3f14aa
parent511aeaf46655d595f50e5e9f113836f19a78116b
parent29ab586c3d83f81c435e269cace9a1619afb5bbd
Merge branch 'Update-DSAs-FDB-API-and-perform-switchdev-cleanup'

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>