net: replace br_fdb_external_learn_* calls with switchdev notifier events
authorJiri Pirko <jiri@resnulli.us>
Thu, 15 Jan 2015 22:49:37 +0000 (23:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jan 2015 05:23:57 +0000 (00:23 -0500)
commit3aeb66176ffa8fefd7a9f7d37bda1d8adcf469a1
tree9f2232db459c95cf0d000ab95322c6b7aac86235
parent03bf0c281234028388108d0aee720954f5fe6924
net: replace br_fdb_external_learn_* calls with switchdev notifier events

This patch benefits from newly introduced switchdev notifier and uses it
to propagate fdb learn events from rocker driver to bridge. That avoids
direct function calls and possible use by other listeners (ovs).

Suggested-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c
include/linux/if_bridge.h
include/net/switchdev.h
net/bridge/br.c
net/bridge/br_fdb.c
net/bridge/br_private.h