[dpdk-stable] patch 'app/testpmd: fix RED byte stats' has been queued to LTS release 17.11.5

Yongseok Koh yskoh at mellanox.com
Fri Jan 11 11:31:34 CET 2019


Hi,

FYI, your patch has been queued to LTS release 17.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 01/13/19. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the patch applied
to the branch. If the code is different (ie: not only metadata diffs), due for example to
a change in context or macro names, please double check it.

Thanks.

Yongseok

---
>From b79e7b56f6fd695a121b8b7517ae7fafb34d65c5 Mon Sep 17 00:00:00 2001
From: Leah Tekoa <leah at ethernitynet.com>
Date: Thu, 25 Oct 2018 06:05:14 +0000
Subject: [PATCH] app/testpmd: fix RED byte stats

[ upstream commit 930a030d2afbd46b7a446305c9c9ae16a5a3b099 ]

Y stands for Yellow, R stands for Red.

Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and policing")

Signed-off-by: Leah Tekoa <leah at ethernitynet.com>
---
 app/test-pmd/cmdline_mtr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test-pmd/cmdline_mtr.c b/app/test-pmd/cmdline_mtr.c
index fc8279ffa..9666789bd 100644
--- a/app/test-pmd/cmdline_mtr.c
+++ b/app/test-pmd/cmdline_mtr.c
@@ -991,7 +991,7 @@ static void cmd_show_port_meter_stats_parsed(void *parsed_result,
 		printf("\tPkts R: %" PRIu64 "\n",
 			stats.n_pkts[RTE_MTR_RED]);
 	if (stats_mask & RTE_MTR_STATS_N_BYTES_RED)
-		printf("\tBytes Y: %" PRIu64 "\n",
+		printf("\tBytes R: %" PRIu64 "\n",
 			stats.n_bytes[RTE_MTR_RED]);
 	if (stats_mask & RTE_MTR_STATS_N_PKTS_DROPPED)
 		printf("\tPkts DROPPED: %" PRIu64 "\n",
-- 
2.11.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-01-11 02:29:11.485983164 -0800
+++ 0011-app-testpmd-fix-RED-byte-stats.patch	2019-01-11 02:29:10.756982000 -0800
@@ -1,12 +1,13 @@
-From 930a030d2afbd46b7a446305c9c9ae16a5a3b099 Mon Sep 17 00:00:00 2001
+From b79e7b56f6fd695a121b8b7517ae7fafb34d65c5 Mon Sep 17 00:00:00 2001
 From: Leah Tekoa <leah at ethernitynet.com>
 Date: Thu, 25 Oct 2018 06:05:14 +0000
 Subject: [PATCH] app/testpmd: fix RED byte stats
 
+[ upstream commit 930a030d2afbd46b7a446305c9c9ae16a5a3b099 ]
+
 Y stands for Yellow, R stands for Red.
 
 Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and policing")
-Cc: stable at dpdk.org
 
 Signed-off-by: Leah Tekoa <leah at ethernitynet.com>
 ---
@@ -14,10 +15,10 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/app/test-pmd/cmdline_mtr.c b/app/test-pmd/cmdline_mtr.c
-index 32a47305f..63f32828f 100644
+index fc8279ffa..9666789bd 100644
 --- a/app/test-pmd/cmdline_mtr.c
 +++ b/app/test-pmd/cmdline_mtr.c
-@@ -1440,7 +1440,7 @@ static void cmd_show_port_meter_stats_parsed(void *parsed_result,
+@@ -991,7 +991,7 @@ static void cmd_show_port_meter_stats_parsed(void *parsed_result,
  		printf("\tPkts R: %" PRIu64 "\n",
  			stats.n_pkts[RTE_MTR_RED]);
  	if (stats_mask & RTE_MTR_STATS_N_BYTES_RED)


More information about the stable mailing list