15/10/2020 09:55, Igor Ryzhov: > Hi Thomas, > > Thanks for the slides, I checked the latest code and multicast/broadcast > counters mostly look standardized. But mlx5 adds the "port" word to all > its xstats names. I suppose you may be the right person to ask - is there > any specific reason for this?
No specific reason, I consider it as a bug. Please could you open a bugzilla ticket? > On Wed, Oct 14, 2020 at 12:45 PM Thomas Monjalon <tho...@monjalon.net> > wrote: > > > 14/10/2020 11:35, Igor Ryzhov: > > > Hi Ferruh, > > > > > > As rte_eth_stats is going to be changed, is it possible to add new > > counters > > > there? > > > For example, in/out multicast/broadcast packets. > > > > Good question. > > In order to avoid redundancy, I prefer focusing on xstats > > and plan deprecation of rte_eth_stats. > > > > The basic stats you are asking for should have standardized names > > and reserved ids in xstats API. > > Please see these slides: > > https://fast.dpdk.org/events/slides/DPDK-2019-09-Ethernet_Statistics.pdf