[dpdk-dev] [PATCH v3 01/10] rte: change xstats to use integer ids

2016-05-30 Thread Remy Horton
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 ---

[dpdk-dev] [PATCH v3 01/10] rte: change xstats to use integer ids

2016-06-08 Thread Thomas Monjalon
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

[dpdk-dev] [PATCH v3 01/10] rte: change xstats to use integer ids

2016-06-08 Thread 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 field must be deprecated with an attribute. >

[dpdk-dev] [PATCH v3 01/10] rte: change xstats to use integer ids

2016-06-08 Thread Thomas Monjalon
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