numam-dpdk/lib/librte_ethdev
Thomas Monjalon 1372d0cb2a ethdev: fix xstat name of basic stats per queue
As described in doc/guides/prog_guide/poll_mode_drv.rst,
the naming scheme for the xstats is parts separated with underscore:
	* direction
	* detail 1
	* detail 2
	* detail n
	* unit
where detail 1 can be "q" followed with a queue number.
It means the name of the stats per queue should be rx_qN_* or tx_qN_*.

The second underscore was missing so far.
Fixing the basic xstat names may be considered an API change,
that's why it should not be backported.

While fixing this mistake, some examples of the naming scheme
are given as part of the API documentation of rte_eth_xstat_name.
More proposals about standardizing statistics:
	http://fast.dpdk.org/events/slides/DPDK-2019-09-Ethernet_Statistics.pdf

Fixes: bd6aa172cf ("ethdev: fetch extended statistics with integer ids")

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Ciara Power <ciara.power@intel.com>
2020-10-16 19:47:55 +02:00
..
ethdev_private.c ethdev: move representor parsing functions 2018-10-26 22:14:06 +02:00
ethdev_private.h rename private header files 2019-10-27 22:03:06 +01:00
ethdev_profile.c ethdev: change vtune profiling approach 2018-08-28 15:27:39 +02:00
ethdev_profile.h ethdev: fix build when vtune profiling is on 2020-04-21 13:57:06 +02:00
ethdev_trace_points.c trace: simplify trace point registration 2020-07-05 21:34:21 +02:00
meson.build eal: add telemetry as dependency 2020-05-11 00:37:16 +02:00
rte_class_eth.c ethdev: use new ethernet parsing function 2019-07-08 21:26:52 +02:00
rte_dev_info.h ethdev: add definitions for EEPROM standards 2019-10-23 16:43:08 +02:00
rte_eth_ctrl.h ethdev: fix include of ethernet header file 2019-10-25 19:00:22 +02:00
rte_ethdev_core.h ethdev: make flow API thread safe 2020-10-16 00:44:58 +02:00
rte_ethdev_driver.h ethdev: introduce FEC API 2020-10-09 13:17:43 +02:00
rte_ethdev_pci.h ethdev: reset device and interrupt pointers on release 2020-09-30 19:19:13 +02:00
rte_ethdev_trace_fp.h ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
rte_ethdev_trace.h ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
rte_ethdev_vdev.h ethdev: remove redundant license text 2020-09-18 18:55:08 +02:00
rte_ethdev_version.map ethdev: introduce FEC API 2020-10-09 13:17:43 +02:00
rte_ethdev.c ethdev: fix xstat name of basic stats per queue 2020-10-16 19:47:55 +02:00
rte_ethdev.h ethdev: fix xstat name of basic stats per queue 2020-10-16 19:47:55 +02:00
rte_flow_driver.h ethdev: move RSS expansion code to mlx5 driver 2020-10-08 19:58:11 +02:00
rte_flow.c ethdev: make flow API thread safe 2020-10-16 00:44:58 +02:00
rte_flow.h ethdev: add eCPRI key fields to flow API 2020-07-13 02:11:30 +02:00
rte_mtr_driver.h ethdev: make device operations struct private 2020-09-18 18:55:08 +02:00
rte_mtr.c remove experimental tags from all symbol definitions 2019-06-29 19:04:43 +02:00
rte_mtr.h ethdev: replace license text with SPDX tag 2019-07-29 15:07:48 +02:00
rte_tm_driver.h ethdev: make device operations struct private 2020-09-18 18:55:08 +02:00
rte_tm.c ethdev: rename folder to library name 2018-04-27 18:01:00 +01:00
rte_tm.h ethdev: support TM for shaper config in packet mode 2020-09-18 18:55:10 +02:00