net/mlx5: make Tx scheduling xstats names compliant
authorViacheslav Ovsiienko <viacheslavo@nvidia.com>
Thu, 19 Nov 2020 19:18:24 +0000 (19:18 +0000)
committerRaslan Darawsheh <rasland@nvidia.com>
Sun, 22 Nov 2020 14:37:02 +0000 (15:37 +0100)
xstats names for Tx packet scheduling should be compliant with [1]

[1] http://doc.dpdk.org/guides/prog_guide/poll_mode_drv.html?highlight=xstats#extended-statistics-api

Bugzilla ID: 558

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5_txpp.c

index 8aad92f..2438bf1 100644 (file)
 #include "mlx5_common_os.h"
 
 static const char * const mlx5_txpp_stat_names[] = {
-       "txpp_err_miss_int", /* Missed service interrupt. */
-       "txpp_err_rearm_queue", /* Rearm Queue errors. */
-       "txpp_err_clock_queue", /* Clock Queue errors. */
-       "txpp_err_ts_past", /* Timestamp in the past. */
-       "txpp_err_ts_future", /* Timestamp in the distant future. */
-       "txpp_jitter", /* Timestamp jitter (one Clock Queue completion). */
-       "txpp_wander", /* Timestamp jitter (half of Clock Queue completions). */
-       "txpp_sync_lost", /* Scheduling synchronization lost. */
+       "tx_pp_missed_interrupt_errors", /* Missed service interrupt. */
+       "tx_pp_rearm_queue_errors", /* Rearm Queue errors. */
+       "tx_pp_clock_queue_errors", /* Clock Queue errors. */
+       "tx_pp_timestamp_past_errors", /* Timestamp in the past. */
+       "tx_pp_timestamp_future_errors", /* Timestamp in the distant future. */
+       "tx_pp_jitter", /* Timestamp jitter (one Clock Queue completion). */
+       "tx_pp_wander", /* Timestamp wander (half of Clock Queue CQEs). */
+       "tx_pp_sync_lost", /* Scheduling synchronization lost. */
 };
 
 /* Destroy Event Queue Notification Channel. */