netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: bridge: export vlan stats per-port with flags
@ 2016-08-17 10:53 Nikolay Aleksandrov
  2016-08-17 10:53 ` [PATCH net-next 1/2] net: bridge: consolidate bridge and port linkxstats calls Nikolay Aleksandrov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nikolay Aleksandrov @ 2016-08-17 10:53 UTC (permalink / raw)
  To: netdev; +Cc: roopa, davem, stephen, bridge, Nikolay Aleksandrov

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-19  6:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-17 10:53 [PATCH net-next 0/2] net: bridge: export vlan stats per-port with flags Nikolay Aleksandrov
2016-08-17 10:53 ` [PATCH net-next 1/2] net: bridge: consolidate bridge and port linkxstats calls Nikolay Aleksandrov
2016-08-17 10:53 ` [PATCH net-next 2/2] net: bridge: export vlan flags with the stats Nikolay Aleksandrov
2016-08-19  6:19 ` [PATCH net-next 0/2] net: bridge: export vlan stats per-port with flags David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).