diff options
author | Amit Cohen <[email protected]> | 2023-10-09 13:06:10 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-10-13 10:00:30 +0100 |
commit | 77b613efcc81a66665370f2fd6c7538747db7130 (patch) | |
tree | e21f42ba6f53677c584dbe92fdfdde3c3c9515fd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bfe36bf7811c3171e546a956377ea16e89ecf838 (diff) |
vxlan: vxlan_core: Do not skip default entry in vxlan_flush() by default
Currently, the function vxlan_flush() does not flush the default FDB entry
(an entry with all_zeros_mac and default VNI), as it is deleted at
vxlan_uninit(). When this function will be used for flushing FDB entries
from user space, it will have to flush also the default entry in case that
other parameters match (e.g., VNI, flags).
Extend 'struct vxlan_fdb_flush_desc' to include an indication whether
the default entry should be flushed or not. The default value (false)
indicates to flush it, adjust all the existing callers to set
'.ignore_default_entry' to true, so the current behavior will not be
changed.
Signed-off-by: Amit Cohen <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions