[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <68a2e74c-9dfc-27f0-fd3a-360e88e8b023@blackwall.org>
Date: Tue, 25 Apr 2023 09:47:49 +0300
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Ido Schimmel <idosch@...dia.com>, netdev@...r.kernel.org
Cc: dsahern@...il.com, stephen@...workplumber.org, liuhangbin@...il.com
Subject: Re: [PATCH iproute2-next 1/2] bridge: vlan: Add support for
neigh_suppress option
On 24/04/2023 19:09, Ido Schimmel wrote:
> Add support for the per-VLAN neigh_suppress option. Example:
>
> # bridge vlan set vid 10 dev swp1 neigh_suppress on
> # bridge -d -j -p vlan show dev swp1 vid 10
> [ {
> "ifname": "swp1",
> "vlans": [ {
> "vlan": 10,
> "state": "forwarding",
> "mcast_router": 1,
> "neigh_suppress": true
> } ]
> } ]
> # bridge -d vlan show dev swp1 vid 10
> port vlan-id
> swp1 10
> state forwarding mcast_router 1 neigh_suppress on
>
> # bridge vlan set vid 10 dev swp1 neigh_suppress off
> # bridge -d -j -p vlan show dev swp1 vid 10
> [ {
> "ifname": "swp1",
> "vlans": [ {
> "vlan": 10,
> "state": "forwarding",
> "mcast_router": 1,
> "neigh_suppress": false
> } ]
> } ]
> # bridge -d vlan show dev swp1 vid 10
> port vlan-id
> swp1 10
> state forwarding mcast_router 1 neigh_suppress off
>
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
> ---
> bridge/vlan.c | 18 ++++++++++++++++++
> man/man8/bridge.8 | 11 ++++++++++-
> 2 files changed, 28 insertions(+), 1 deletion(-)
>
Reviewed-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists