[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aEWdqycUQBuevEtZ@shredder>
Date: Sun, 8 Jun 2025 17:26:51 +0300
From: Ido Schimmel <idosch@...dia.com>
To: Petr Machata <petrm@...dia.com>
Cc: David Ahern <dsahern@...il.com>, netdev@...r.kernel.org,
Nikolay Aleksandrov <razor@...ckwall.org>
Subject: Re: [PATCH iproute2-next 3/4] lib: bridge: Add a module for
bridge-related helpers
On Fri, Jun 06, 2025 at 05:04:52PM +0200, 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>
> ---
> bridge/vlan.c | 50 +++++-------------------------------------------
> include/bridge.h | 11 +++++++++++
> lib/Makefile | 3 ++-
> lib/bridge.c | 47 +++++++++++++++++++++++++++++++++++++++++++++
> 4 files changed, 65 insertions(+), 46 deletions(-)
> create mode 100644 include/bridge.h
> create mode 100644 lib/bridge.c
Add file entry to MAINTAINERS?
Powered by blists - more mailing lists