]> git.ipfire.org Git - thirdparty/iproute2.git/commit
bridge: fdb: support match on destination VNI in flush command
authorAmit Cohen <amcohen@nvidia.com>
Tue, 17 Oct 2023 10:55:28 +0000 (13:55 +0300)
committerDavid Ahern <dsahern@kernel.org>
Fri, 20 Oct 2023 15:42:53 +0000 (09:42 -0600)
commit9107073a78e40c55d3b67166a2713a70eba64de6
treecac45c441b43d3b820c4bbaa2ab9790f80a49e0b
parentf3c34db4be1d6db9ae465a76a328d8e3302ef30c
bridge: fdb: support match on destination VNI in flush command

Extend "fdb flush" command to match fdb entries with a specific destination
VNI.

Example:
$ bridge fdb flush dev vx10 vni 1000
This will flush all fdb entries pointing to vx10 with destination VNI 1000.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David Ahern <dsahern@kernel.org>
bridge/fdb.c
man/man8/bridge.8