ethdev: expose generic and driver specific stats in xstats
authorMaryam Tahhan <maryam.tahhan@intel.com>
Wed, 15 Jul 2015 13:11:28 +0000 (14:11 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 17 Jul 2015 00:26:14 +0000 (02:26 +0200)
commitd4fef8b0d5e5ca4595086c5f78d43f9cb54c4228
treeeb677020d96b5ded654ff2bf8f265202784bc681
parentae4ac9a61636f2f2d9ecc8834a645aabcbe8a6d3
ethdev: expose generic and driver specific stats in xstats

Extend rte_eth_xstats_get to retrieve additional stats from the device
driver as well the ethdev generic stats.

Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_ether/rte_ethdev.c