summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorPetr Machata <petrm@mellanox.com>2018-11-21 08:02:39 +0000
committerDavid S. Miller <davem@davemloft.net>2018-11-21 17:10:31 -0800
commit5728ae0d17d27e14b7e5034f73a38b562cfcd5c5 (patch)
tree52165d6048424d67da760eb21f7cbbb95643b4b0 /usr
parent0ec566aacc26da9292cddfe7109a467ac8a8d9a6 (diff)
vxlan: Add hardware FDB learning
In order to allow devices to signal learning events to VXLAN, introduce two new switchdev messages: SWITCHDEV_VXLAN_FDB_ADD_TO_BRIDGE and SWITCHDEV_VXLAN_FDB_DEL_TO_BRIDGE. Listen to these notifications in the vxlan driver. The FDB entries learned this way have an NTF_EXT_LEARNED flag, and only entries marked as such can be unlearned by the _DEL_ event. They are also immediately marked as offloaded. This is the same behavior that the bridge driver observes. 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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions