Thread (13 messages) 13 messages, 3 authors, 2025-06-10

Re: [PATCH iproute2-next v2 3/4] lib: bridge: Add a module for bridge-related helpers

From: Nikolay Aleksandrov <razor@blackwall.org>
Date: 2025-06-10 12:21:32
Also in: bridge

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@nvidia.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@blackwall.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help