This patchset adds an implementation of the xstats_get() and xstats_reset() API to the following PMDs: virtio, igb, igbvf, ixgbe, ixgbevf, i40e, i40evf and fm10k.
The xstats API allows DPDK apps to gain access to extended statistics from each port on a NIC. These statistics are structured as per a scheme detailed in the patch for the doc/prog_guide. v2: Send correct patchset. Harry van Haaren (11): doc: add extended statistics notes doc: add extended statistics to prog_guide ethdev: update xstats_get() strings and Q handling virtio: add xstats() implementation igb: add xstats() implementation igbvf: add xstats() implementation ixgbe: update statistic strings to scheme ixgbevf: add xstats() functions to VF i40e: add xstats() implementation i40evf: add xstats() implementation fm10k: add xstats() implementation doc/guides/prog_guide/poll_mode_drv.rst | 51 ++++- doc/guides/rel_notes/release_2_2.rst | 12 ++ drivers/net/e1000/igb_ethdev.c | 195 +++++++++++++++++- drivers/net/fm10k/fm10k_ethdev.c | 69 +++++++ drivers/net/i40e/i40e_ethdev.c | 268 ++++++++++++++++++++++++- drivers/net/i40e/i40e_ethdev_vf.c | 89 +++++++- drivers/net/ixgbe/ixgbe_ethdev.c | 346 +++++++++++++++++++++++++++++--- drivers/net/virtio/virtio_ethdev.c | 82 +++++++- lib/librte_ether/rte_ethdev.c | 15 +- 9 files changed, 1075 insertions(+), 52 deletions(-) -- 1.9.1