From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by dpdk.org (Postfix) with ESMTP id A71E51B94F for ; Fri, 11 Jan 2019 11:32:08 +0100 (CET) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yskoh@mellanox.com) with ESMTPS (AES256-SHA encrypted); 11 Jan 2019 12:32:05 +0200 Received: from scfae-sc-2.mti.labs.mlnx (scfae-sc-2.mti.labs.mlnx [10.101.0.96]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x0BAVjcZ018586; Fri, 11 Jan 2019 12:32:04 +0200 From: Yongseok Koh To: Leah Tekoa Cc: dpdk stable Date: Fri, 11 Jan 2019 02:31:34 -0800 Message-Id: <20190111103142.21088-11-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190111103142.21088-1-yskoh@mellanox.com> References: <20190111103142.21088-1-yskoh@mellanox.com> Subject: [dpdk-stable] patch 'app/testpmd: fix RED byte stats' has been queued to LTS release 17.11.5 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2019 10:32:09 -0000 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 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 --- 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 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@dpdk.org Signed-off-by: Leah Tekoa --- @@ -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)