]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Merge branch 'bridge-flush-vxlan-attr' into next
authorDavid Ahern <dsahern@kernel.org>
Fri, 20 Oct 2023 15:43:39 +0000 (09:43 -0600)
committerDavid Ahern <dsahern@kernel.org>
Fri, 20 Oct 2023 15:43:39 +0000 (09:43 -0600)
Amit Cohen  says:

====================

The merge commit f84e3f8cced9 ("Merge branch 'bridge-fdb-flush' into next")
added support for fdb flushing.

The kernel was extended to support flush for VXLAN device, so the
"bridge fdb flush" command should support new attributes.

Add support for flushing FDB entries based on the following:
* Source VNI
* Nexthop ID
* Destination VNI
* Destination Port
* Destination IP
* 'router' flag

With this set, flush works with attributes which are relevant for VXLAN
FDBs, for example:

$ bridge fdb flush dev vx10 vni 5000 dst 192.2.2.1
< flush all vx10 entries with VNI 5000 and destination IP 192.2.2.1 >

There are examples for each attribute in the respective commit messages.

Patch set overview:
Patch #1 prepares the code for adding support for 'port' keyword
Patches #2-#7 add support for new keywords in flush command
Patch #8 adds a note in man page

v2:
* Print 'nhid' instead of 'id' in the error in patch #3
* Use capital letters for 'ECMP' in man page in patch #3

====================

Signed-off-by: David Ahern <dsahern@kernel.org>

Trivial merge