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