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

2017-10-19 Thread Ferruh Yigit
gt;> tho...@monjalon.net >>> Cc: dev@dpdk.org; Kozak, KubaX >>> Subject: Re: [dpdk-dev] [PATCH v2] ethdev: fix xstats retrieve by id API >>> >>> On 10/18/2017 4:10 AM, Ivan Malov wrote: >>>> On 10/12/2017 2:31 PM, Lee Daly wrote: >&g

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

2017-10-19 Thread Ivan Malov
On 10/12/2017 2:31 PM, 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 f

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

2017-10-19 Thread Ivan Malov
Kozak, KubaX > > Subject: Re: [dpdk-dev] [PATCH v2] ethdev: fix xstats retrieve by id API > > > > On 10/18/2017 4:10 AM, Ivan Malov wrote: > > > On 10/12/2017 2:31 PM, Lee Daly wrote: > > >> From: Lee > > >> > > >> Fix xstats

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

2017-10-19 Thread Van Haaren, Harry
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit > Sent: Wednesday, October 18, 2017 10:49 PM > To: Ivan Malov ; Daly, Lee ; > tho...@monjalon.net > Cc: dev@dpdk.org; Kozak, KubaX > Subject: Re: [dpdk-dev] [PATCH v2] ethdev: fix xstats retrieve by id API >

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

2017-10-18 Thread Ferruh Yigit
On 10/18/2017 4:10 AM, Ivan Malov wrote: > On 10/12/2017 2:31 PM, 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 t

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

2017-10-12 Thread Ferruh Yigit
On 10/12/2017 2:31 PM, 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 v2] ethdev: fix xstats retrieve by id API

2017-10-12 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