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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
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.

Cheers,
 Nik

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(-)

-- 
2.1.4




[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux