DPDK patches and discussions
 help / color / Atom feed
* [dpdk-dev] [PATCH] net/mlx5: make Tx scheduling xstats names compliant
@ 2020-11-19 19:18 Viacheslav Ovsiienko
  2020-11-22 12:59 ` Raslan Darawsheh
  0 siblings, 1 reply; 2+ messages in thread
From: Viacheslav Ovsiienko @ 2020-11-19 19:18 UTC (permalink / raw)
  To: dev; +Cc: rasland, matan, orika, thomas, iryzhov

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

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
---
 drivers/net/mlx5/mlx5_txpp.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/net/mlx5/mlx5_txpp.c b/drivers/net/mlx5/mlx5_txpp.c
index 8aad92f..2438bf1 100644
--- a/drivers/net/mlx5/mlx5_txpp.c
+++ b/drivers/net/mlx5/mlx5_txpp.c
@@ -19,14 +19,14 @@
 #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. */
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] net/mlx5: make Tx scheduling xstats names compliant
  2020-11-19 19:18 [dpdk-dev] [PATCH] net/mlx5: make Tx scheduling xstats names compliant Viacheslav Ovsiienko
@ 2020-11-22 12:59 ` Raslan Darawsheh
  0 siblings, 0 replies; 2+ messages in thread
From: Raslan Darawsheh @ 2020-11-22 12:59 UTC (permalink / raw)
  To: Slava Ovsiienko, dev
  Cc: Matan Azrad, Ori Kam, NBU-Contact-Thomas Monjalon, iryzhov

Hi,

> -----Original Message-----
> From: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> Sent: Thursday, November 19, 2020 9:18 PM
> To: dev@dpdk.org
> Cc: Raslan Darawsheh <rasland@nvidia.com>; Matan Azrad
> <matan@nvidia.com>; Ori Kam <orika@nvidia.com>; NBU-Contact-Thomas
> Monjalon <thomas@monjalon.net>; iryzhov@nfware.com
> Subject: [PATCH] net/mlx5: make Tx scheduling xstats names compliant
> 
> xstats names for Tx packet scheduling should be compliant with [1]
> 
> [1]
> https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdoc.d
> pdk.org%2Fguides%2Fprog_guide%2Fpoll_mode_drv.html%3Fhighlight%3Dx
> stats%23extended-statistics-
> api&amp;data=04%7C01%7Crasland%40nvidia.com%7C5991495fa463491652b
> 608d88cbff2c4%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C63741
> 4103323638044%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC
> JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=uGX
> tUteavgLxrXenPedgrToUKTjm%2B5zUkwTXEaOd3%2BQ%3D&amp;reserved
> =0
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
> ---
>  drivers/net/mlx5/mlx5_txpp.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 19:18 [dpdk-dev] [PATCH] net/mlx5: make Tx scheduling xstats names compliant Viacheslav Ovsiienko
2020-11-22 12:59 ` Raslan Darawsheh

DPDK patches and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox