The current extended ethernet statistics fetching involve doing several
string operations, which causes performance issues if there are lots of
statistics and/or network interfaces. This patch changes the API for
xstats to use integer identifiers instead of strings.
Signed-off-by: Remy Horton
---
2016-05-30 11:48, Remy Horton:
> struct rte_eth_xstats {
> + /* FIXME: Remove name[] once remaining drivers converted */
> char name[RTE_ETH_XSTATS_NAME_SIZE];
What is the plan? This field must be deprecated with an attribute.
We cannot have 2 different APIs depending of the driver.
Wha
'noon,
On 08/06/2016 10:37, Thomas Monjalon wrote:
> 2016-05-30 11:48, Remy Horton:
>> struct rte_eth_xstats {
>> +/* FIXME: Remove name[] once remaining drivers converted */
>> char name[RTE_ETH_XSTATS_NAME_SIZE];
>
> What is the plan? This field must be deprecated with an attribute.
>
2016-06-08 12:16, Remy Horton:
> 'noon,
>
> On 08/06/2016 10:37, Thomas Monjalon wrote:
> > 2016-05-30 11:48, Remy Horton:
> >> struct rte_eth_xstats {
> >> + /* FIXME: Remove name[] once remaining drivers converted */
> >>char name[RTE_ETH_XSTATS_NAME_SIZE];
> >
> > What is the plan? This
4 matches
Mail list logo