]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbeec9ebc22608de3b04c7fb8af3bee8971866f14
treea015ab2c573e384dabc9c43cbae2d17a4f3f14aa
parent0553ed7a10c5dd2a7715e54cdcaa5960f135b35d
parent14e894c6f63afc5e653d5b2c575313bae8d35c7e
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>