Re: [dpdk-dev] [PATCH] ethdev: fix xstats retrieve by id API

2017-10-11 Thread Ferruh Yigit
On 10/11/2017 8:22 AM, Lee Daly wrote: > From: Lee > > Fix xstats functions, rte_eth_xstats_get_names_by_id() > and rte_eth_xstats_get_by_id(), in current implementation > ethdev level reads all xstat values and filters out > the ones requested by the application. This behavior doesn't > benefit

[dpdk-dev] [PATCH] ethdev: fix xstats retrieve by id API

2017-10-11 Thread Lee Daly
From: Lee Fix xstats functions, rte_eth_xstats_get_names_by_id() and rte_eth_xstats_get_by_id(), in current implementation ethdev level reads all xstat values and filters out the ones requested by the application. This behavior doesn't benefit from PMD ops and doesn't provide the benefit the API