From: Thomas Monjalon Date: Wed, 29 Jun 2016 16:53:24 +0000 (+0200) Subject: ethdev: fix extended statistics description X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=cda8d58dc2a588a815af49aff6b501b8cdf001a6;hp=e039cc863be5f1c182658587335897c441ba647d;p=dpdk.git ethdev: fix extended statistics description The old structure rte_eth_xstats contained names and values. The new structure rte_eth_xstat contains ids and values. Fixes: bd6aa172cf35 ("ethdev: fetch extended statistics with integer ids") Fixes: e2aae1c1ced9 ("ethdev: remove name from extended statistic fetch") Signed-off-by: Thomas Monjalon Acked-by: Remy Horton --- diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 624096c028..54c1a7575e 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -2316,8 +2316,8 @@ int rte_eth_xstats_get_names(uint8_t port_id, * @param port_id * The port identifier of the Ethernet device. * @param xstats - * A pointer to a table of structure of type *rte_eth_xstats* - * to be filled with device statistics names and values. + * A pointer to a table of structure of type *rte_eth_xstat* + * to be filled with device statistics ids and values. * This parameter can be set to NULL if n is 0. * @param n * The size of the stats table, which should be large enough to store