]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Move FDB add/del implementation inside DSA
authorArkadi Sharshevsky <arkadis@mellanox.com>
Sun, 6 Aug 2017 13:15:43 +0000 (16:15 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:48:48 +0000 (14:48 -0700)
commit2ef4236cffea8fac5802d996259dadeb1f8df4cb
treeb7ab94f7edaa8002438f4b514025a50760fe364a
parentc536016beb203ebddc7ea0c834a8911ee048bf7c
net: dsa: Move FDB add/del implementation inside DSA

Currently DSA uses switchdev's implementation of FDB add/del ndos. This
patch moves the implementation inside DSA in order to support the legacy
way for static FDB configuration.

Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa_priv.h
net/dsa/legacy.c
net/dsa/slave.c