[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7c1e5059-5754-39dc-0b92-1647647ad767@blackwall.org>
Date: Thu, 23 Mar 2023 17:20:52 +0200
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Ido Schimmel <idosch@...dia.com>, netdev@...r.kernel.org
Cc: dsahern@...il.com, stephen@...workplumber.org, petrm@...dia.com,
mlxsw@...dia.com
Subject: Re: [PATCH iproute2-next 6/7] bridge: mdb: Add outgoing interface
support
On 21/03/2023 15:01, Ido Schimmel wrote:
> In a similar fashion to VXLAN FDB entries, allow user space to program
> and view the outgoing interface of VXLAN MDB entries. Specifically, add
> support for the 'MDBE_ATTR_IFINDEX' and 'MDBA_MDB_EATTR_IFINDEX'
> attributes in request and response messages, respectively.
>
> The outgoing interface will be forced during the underlay route lookup
> and is required when the underlay destination IP is multicast, as the
> multicast routing tables are not consulted.
>
> Example:
>
> # bridge mdb add dev vxlan0 port vxlan0 grp 239.1.1.1 permanent dst 198.51.100.1 via dummy10
>
> $ bridge -d -s mdb show
> dev vxlan0 port vxlan0 grp 239.1.1.1 permanent filter_mode exclude proto static dst 198.51.100.1 via dummy10 0.00
>
> $ bridge -d -s -j -p mdb show
> [ {
> "mdb": [ {
> "index": 10,
> "dev": "vxlan0",
> "port": "vxlan0",
> "grp": "239.1.1.1",
> "state": "permanent",
> "filter_mode": "exclude",
> "protocol": "static",
> "flags": [ ],
> "dst": "198.51.100.1",
> "via": "dummy10",
> "timer": " 0.00"
> } ],
> "router": {}
> } ]
>
> Signed-off-by: Ido Schimmel <idosch@...dia.com>
> ---
> bridge/mdb.c | 32 ++++++++++++++++++++++++++++++--
> man/man8/bridge.8 | 9 ++++++++-
> 2 files changed, 38 insertions(+), 3 deletions(-)
>
Reviewed-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists