xstats _by_id() APIs are broken because ids known by user sent directly
to the PMDs.
ethdev xstat get by id APIs:
rte_eth_xstats_get_names_by_id() and rte_eth_xstats_get_by_id()
work on ids calculated as "basic stats + extended stats"
When an application asking for id less than "basic stats count
20/10/2017 02:03, Ferruh Yigit:
> ethdev xstat get by id APIs:
> rte_eth_xstats_get_names_by_id()
> rte_eth_xstats_get_by_id()
>
> Works on ids calculated as "basic stats + device specific stats"
>
> When an application asking for id less than "basic stats count", it is
> indeed asking basic stat
On Fri, Oct 20, 2017 at 01:03:50AM +0100, Ferruh Yigit wrote:
> ethdev xstat get by id APIs:
> rte_eth_xstats_get_names_by_id()
> rte_eth_xstats_get_by_id()
>
> Works on ids calculated as "basic stats + device specific stats"
>
> When an application asking for id less than "basic stats count", it
ethdev xstat get by id APIs:
rte_eth_xstats_get_names_by_id()
rte_eth_xstats_get_by_id()
Works on ids calculated as "basic stats + device specific stats"
When an application asking for id less than "basic stats count", it is
indeed asking basic stats nothing specific to device stats.
The dev_ops
4 matches
Mail list logo