[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <552e0ea4-f8b0-431a-9382-95adad7f2b9f@blackwall.org>
Date: Tue, 10 Jun 2025 15:21:28 +0300
From: Nikolay Aleksandrov <razor@...ckwall.org>
To: Petr Machata <petrm@...dia.com>, David Ahern <dsahern@...il.com>,
netdev@...r.kernel.org
Cc: Ido Schimmel <idosch@...dia.com>, bridge@...ts.linux-foundation.org
Subject: Re: [PATCH iproute2-next v2 3/4] lib: bridge: Add a module for
bridge-related helpers
On 6/9/25 19:05, Petr Machata wrote:
> `ip stats' displays a range of bridge_slave-related statistics, but not
> the VLAN stats. `bridge vlan' actually has code to show these. Extract the
> code to libutil so that it can be reused between the bridge and ip stats
> tools.
>
> Rename them reasonably so as not to litter the global namespace.
>
> Signed-off-by: Petr Machata <petrm@...dia.com>
> ---
>
> Notes:
> v2:
> - Add MAINTAINERS entry for the module
>
> MAINTAINERS | 2 ++
> bridge/vlan.c | 50 +++++-------------------------------------------
> include/bridge.h | 11 +++++++++++
> lib/Makefile | 3 ++-
> lib/bridge.c | 47 +++++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 67 insertions(+), 46 deletions(-)
> create mode 100644 include/bridge.h
> create mode 100644 lib/bridge.c
>
Acked-by: Nikolay Aleksandrov <razor@...ckwall.org>
Powered by blists - more mailing lists