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

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

Example:
$ bridge fdb flush dev vx10 port 1111
This will flush all fdb entries pointing to vx10 with destination port
1111.

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