]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: Add vxlan_fdb_replay()
authorPetr Machata <petrm@mellanox.com>
Fri, 7 Dec 2018 19:55:04 +0000 (19:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2018 20:59:08 +0000 (12:59 -0800)
commit5570e506feb1a9902e7bb50625fab671e3e50e88
tree6059aa62100cffc3add52b9a1651fa3cb6524fec
parent63cb8c401d46d94e6138eb81938ed8469ff201a0
vxlan: Add vxlan_fdb_replay()

When a VXLAN device becomes relevant to a driver (such as when it is
attached to an offloaded bridge), the driver will generally need to walk
the existing FDB entries and offload them.

Add a function vxlan_fdb_replay() to call a given notifier block for
each FDB entry with a given VNI.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c
include/net/vxlan.h