netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2 net-next 0/3] iplink: add support for link xstats
@ 2017-02-15 14:23 Nikolay Aleksandrov
  2017-02-15 14:23 ` [PATCH iproute2 net-next 1/3] iplink: add support for xstats subcommand Nikolay Aleksandrov
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Nikolay Aleksandrov @ 2017-02-15 14:23 UTC (permalink / raw)
  To: netdev; +Cc: roopa, stephen, Nikolay Aleksandrov

Hi,
This set adds support for printing link xstats per link type. Currently
only the bridge and its ports support such call and it dumps the mcast
stats. This model makes it easy to use the same callback for both bridge
and bridge_slave link types. Patch 01 also updates the man page with the
new xstats link option and you can find an example in patch 02's commit
message.

Thanks,
 Nik


Nikolay Aleksandrov (3):
  iplink: add support for xstats subcommand
  iplink: bridge: add support for displaying xstats
  iplink: bridge_slave: add support for displaying xstats

 ip/Makefile              |   2 +-
 ip/ip_common.h           |  12 +++-
 ip/iplink.c              |   5 ++
 ip/iplink_bridge.c       | 153 +++++++++++++++++++++++++++++++++++++++++++++++
 ip/iplink_bridge_slave.c |   2 +
 ip/iplink_xstats.c       |  81 +++++++++++++++++++++++++
 man/man8/ip-link.8.in    |  12 ++++
 7 files changed, 264 insertions(+), 3 deletions(-)
 create mode 100644 ip/iplink_xstats.c

-- 
2.1.4

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

end of thread, other threads:[~2017-02-19  0:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-15 14:23 [PATCH iproute2 net-next 0/3] iplink: add support for link xstats Nikolay Aleksandrov
2017-02-15 14:23 ` [PATCH iproute2 net-next 1/3] iplink: add support for xstats subcommand Nikolay Aleksandrov
2017-02-15 14:23 ` [PATCH iproute2 net-next 2/3] iplink: bridge: add support for displaying xstats Nikolay Aleksandrov
2017-02-15 14:23 ` [PATCH iproute2 net-next 3/3] iplink: bridge_slave: " Nikolay Aleksandrov
2017-02-19  0:38 ` [PATCH iproute2 net-next 0/3] iplink: add support for link xstats Stephen Hemminger

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