This patchset modifies how queue statistics are presented by rte_eth_xstats_get() and each PMD's xstats_get().
Generic stats from the rte_eth_stats struct are presented by rte, and each PMD can augment those stats with extra stats that are available (if any). Currently ixgbe and i40e are the only NICs supporting queue xstats, and they have been updated to conform with the new method of presentation. Harry van Haaren (3): ethdev: xstats generic Q stats refactor ixgbe: refactor xstats queue handling i40e: refactor xstats queue handling drivers/net/i40e/i40e_ethdev.c | 112 +++++++++++++++++++-------------- drivers/net/ixgbe/ixgbe_ethdev.c | 132 ++++++++++++++++----------------------- lib/librte_ether/rte_ethdev.c | 10 +-- 3 files changed, 120 insertions(+), 134 deletions(-) -- 1.9.1