[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<169929122563.9490.9075171205269038926.git-patchwork-notify@kernel.org>
Date: Mon, 06 Nov 2023 17:20:25 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ido Schimmel <idosch@...dia.com>
Cc: netdev@...r.kernel.org, dsahern@...il.com, stephen@...workplumber.org,
razor@...ckwall.org, mlxsw@...dia.com
Subject: Re: [PATCH iproute2-next v2] bridge: mdb: Add get support
Hello:
This patch was applied to iproute2/iproute2-next.git (main)
by David Ahern <dsahern@...nel.org>:
On Wed, 1 Nov 2023 09:45:10 +0200 you wrote:
> Implement MDB get functionality, allowing user space to query a single
> MDB entry from the kernel instead of dumping all the entries. Example
> usage:
>
> # bridge mdb add dev br0 port swp1 grp 239.1.1.1 vid 10
> # bridge mdb add dev br0 port swp2 grp 239.1.1.1 vid 10
> # bridge mdb add dev br0 port swp2 grp 239.1.1.5 vid 10
> # bridge mdb get dev br0 grp 239.1.1.1 vid 10
> dev br0 port swp1 grp 239.1.1.1 temp vid 10
> dev br0 port swp2 grp 239.1.1.1 temp vid 10
> # bridge -j -p mdb get dev br0 grp 239.1.1.1 vid 10
> [ {
> "index": 10,
> "dev": "br0",
> "port": "swp1",
> "grp": "239.1.1.1",
> "state": "temp",
> "flags": [ ],
> "vid": 10
> },{
> "index": 10,
> "dev": "br0",
> "port": "swp2",
> "grp": "239.1.1.1",
> "state": "temp",
> "flags": [ ],
> "vid": 10
> } ]
> # bridge mdb get dev br0 grp 239.1.1.1 vid 20
> Error: bridge: MDB entry not found.
> # bridge mdb get dev br0 grp 239.1.1.2 vid 10
> Error: bridge: MDB entry not found.
>
> [...]
Here is the summary with links:
- [iproute2-next,v2] bridge: mdb: Add get support
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=77138a2f9477
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists