[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1471431190-27442-1-git-send-email-nikolay@cumulusnetworks.com>
Date: Wed, 17 Aug 2016 12:53:08 +0200
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: netdev@...r.kernel.org
Cc: roopa@...ulusnetworks.com, davem@...emloft.net,
stephen@...workplumber.org, bridge@...ts.linux-foundation.org,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Subject: [PATCH net-next 0/2] net: bridge: export vlan stats per-port with flags
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
Powered by blists - more mailing lists