[Bridge] [PATCH net-next 0/2] net: bridge: export vlan stats per-port with flags

Nikolay Aleksandrov nikolay at cumulusnetworks.com
Wed Aug 17 10:53:08 UTC 2016

This set adds the ability to export vlan stats per-port. Patch 01 makes
that possible by consolidating the bridge and port linkxstats calls. Then
patch 02 allows to dump the vlan entry flags in order to be able to
distinguish between bridge and port vlan entries when dumping the master
device vlan stats. That is needed because that call was implemented when
the stats API didn't have slave dumping capabilities and it dumps all vlan
stats (for both bridge and port entries). We also need it in order to print
the vlan flags when dumping the stats.


Nikolay Aleksandrov (2):
  net: bridge: consolidate bridge and port linkxstats calls
  net: bridge: export vlan flags with the stats

 include/uapi/linux/if_bridge.h |   2 +-
 net/bridge/br_netlink.c        | 115 ++++++++++++++---------------------------
 2 files changed, 41 insertions(+), 76 deletions(-)


More information about the Bridge mailing list