Re: [PATCH iproute2] iplink: add support for afstats subcommand

2017-03-10 Thread Stephen Hemminger
On Thu, 9 Mar 2017 12:43:36 + Robert Shearman wrote: > Add support for new afstats subcommand. This uses the new > IFLA_STATS_AF_SPEC attribute of RTM_GETSTATS messages to show > per-device, AF-specific stats. At the moment the kernel only supports > MPLS AF stats, so that is all that's imple

[PATCH iproute2] iplink: add support for afstats subcommand

2017-03-09 Thread Robert Shearman
Add support for new afstats subcommand. This uses the new IFLA_STATS_AF_SPEC attribute of RTM_GETSTATS messages to show per-device, AF-specific stats. At the moment the kernel only supports MPLS AF stats, so that is all that's implemented here. The print_num function is exposed from ipaddress.c to