diff options
| author | Petr Machata <[email protected]> | 2018-11-21 08:02:39 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-11-21 17:10:31 -0800 |
| commit | 5728ae0d17d27e14b7e5034f73a38b562cfcd5c5 (patch) | |
| tree | 52165d6048424d67da760eb21f7cbbb95643b4b0 /tools/testing/radix-tree/bitmap.c | |
| parent | 0ec566aacc26da9292cddfe7109a467ac8a8d9a6 (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 <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/bitmap.c')
0 files changed, 0 insertions, 0 deletions