[dpdk-dev] [RFC PATCH 1/2] ethdev: introduce internal rxq/txq stats API

David Marchand david.marchand at redhat.com
Fri Mar 15 14:30:05 CET 2019


On Thu, Mar 14, 2019 at 4:13 PM David Marchand <david.marchand at redhat.com>
wrote:

> Introduce a new api to retrieve per queue statistics from the drivers.
> The api objectives:
> - easily add some common per queue statistics and have it exposed
>   through the user xstats api while the user stats api is left untouched
> - remove the limitations on the per queue statistics count (inherited
>   from ixgbe) and avoid recurrent bugs on stats array overflow
>

I have looked at more drivers.
I will try to handle the case where drivers are only keeping tracks of per
q stats and aggregate then when called by .stats_get.
The drivers with hw counters would need both .stats_get and per q
functions, so I need to accomodate with this.
v2 rfc for next week unless someone totally disagrees with the approach
before :-)


-- 
David Marchand


More information about the dev mailing list