netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2-next 0/3] bond, bridge: add xstats json support
@ 2019-03-12 16:41 Nikolay Aleksandrov
  2019-03-12 16:41 ` [PATCH iproute2-next 1/3] ip: xstats: add json output support Nikolay Aleksandrov
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Nikolay Aleksandrov @ 2019-03-12 16:41 UTC (permalink / raw)
  To: netdev; +Cc: roopa, dsa, stephen, Nikolay Aleksandrov

Hi,
This set adds json output support to the xstats API (patch 01) and then
adds json support to the bridge xstats output (patch 02) and adds xstats
output support (both plain text and json) for the bonding (patch 03).
It doesn't change the bridge's plain text output, but it fixes an
inconsistency that could happen if new bridge xstats attributes were
added (print the interface name once for each group of xstats attrs).

Thanks,
 Nik


Nikolay Aleksandrov (3):
  ip: xstats: add json output support
  ip: bridge: add xstats json support
  ip: bond: add xstats support

 ip/ip_common.h         |   3 +
 ip/iplink_bond.c       | 167 +++++++++++++++++++++++++++++++++++++++-
 ip/iplink_bond_slave.c |   2 +
 ip/iplink_bridge.c     | 169 +++++++++++++++++++++++++----------------
 ip/iplink_xstats.c     |   3 +
 5 files changed, 276 insertions(+), 68 deletions(-)

-- 
2.17.2


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

end of thread, other threads:[~2019-03-15 21:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-12 16:41 [PATCH iproute2-next 0/3] bond, bridge: add xstats json support Nikolay Aleksandrov
2019-03-12 16:41 ` [PATCH iproute2-next 1/3] ip: xstats: add json output support Nikolay Aleksandrov
2019-03-12 16:41 ` [PATCH iproute2-next 2/3] ip: bridge: add xstats json support Nikolay Aleksandrov
2019-03-12 19:33   ` Stephen Hemminger
2019-03-12 19:42     ` nikolay
2019-03-12 23:51       ` Stephen Hemminger
2019-03-12 16:41 ` [PATCH iproute2-next 3/3] ip: bond: add xstats support Nikolay Aleksandrov
2019-03-15 21:03 ` [PATCH iproute2-next 0/3] bond, bridge: add xstats json support David Ahern

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