]> git.ipfire.org Git - thirdparty/iproute2.git/commit
bridge: vlan: add global mcast_querier_interval option
authorNikolay Aleksandrov <nikolay@nvidia.com>
Sat, 28 Aug 2021 11:08:00 +0000 (14:08 +0300)
committerDavid Ahern <dsahern@kernel.org>
Wed, 1 Sep 2021 03:28:12 +0000 (21:28 -0600)
commitebcee09ca1a7a871b1042d46cf46d66cf08d0921
treecda65ab859dd43dcb6b367a865876f03cf1c9521
parent3ae784f5898076414b1b6767d9562ee416374e9a
bridge: vlan: add global mcast_querier_interval option

Add control and dump support for the global mcast_querier_interval
option which controls the interval after which if no other router
queries are seen the bridge will start sending its own queries.
To be consistent with the same bridge-wide option the value is reported
with USER_HZ granularity and the same granularity is expected when
setting it.
Syntax:
 $ bridge vlan global set dev bridge vid 1 mcast_querier_interval 13000

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
bridge/vlan.c
man/man8/bridge.8