From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 9C85BA05D3 for ; Thu, 25 Apr 2019 17:41:20 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 932A51B5E0; Thu, 25 Apr 2019 17:41:20 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id A2E1E1B5E0 for ; Thu, 25 Apr 2019 17:41:18 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 12B1A30ABAB8; Thu, 25 Apr 2019 15:41:18 +0000 (UTC) Received: from rh.redhat.com (unknown [10.36.116.255]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8385C5D9C6; Thu, 25 Apr 2019 15:41:16 +0000 (UTC) From: Kevin Traynor To: David Marchand Cc: Andrew Rybchenko , Maxime Coquelin , Ferruh Yigit , dpdk stable Date: Thu, 25 Apr 2019 16:39:56 +0100 Message-Id: <20190425154037.28778-21-ktraynor@redhat.com> In-Reply-To: <20190425154037.28778-1-ktraynor@redhat.com> References: <20190425154037.28778-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Thu, 25 Apr 2019 15:41:18 +0000 (UTC) Subject: [dpdk-stable] patch 'app/testpmd: remove useless casts on statistics' has been queued to LTS release 18.11.2 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/01/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. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches can be viewed on the 18.11 branch at: https://github.com/kevintraynor/dpdk-stable-queue.git Thanks. Kevin Traynor --- >From 300a6ca3eb0ca922099b4d22d5f62053cfb71cb3 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Mon, 25 Mar 2019 09:51:45 +0100 Subject: [PATCH] app/testpmd: remove useless casts on statistics [ upstream commit 7718296d06916d0b2029763913944f0067a2d0dd ] Caught by code review while investigating the fwd stats display code. Fixes: af75078fece3 ("first public release") Signed-off-by: David Marchand Reviewed-by: Andrew Rybchenko Reviewed-by: Maxime Coquelin Reviewed-by: Ferruh Yigit --- app/test-pmd/testpmd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index d62c1594d..55a4ee407 100644 --- a/app/test-pmd/testpmd.c +++ b/app/test-pmd/testpmd.c @@ -1389,5 +1389,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats) "%-"PRIu64"\n", stats->ipackets, stats->imissed, - (uint64_t) (stats->ipackets + stats->imissed)); + stats->ipackets + stats->imissed); if (cur_fwd_eng == &csum_fwd_engine) @@ -1403,5 +1403,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats) "%-"PRIu64"\n", stats->opackets, port->tx_dropped, - (uint64_t) (stats->opackets + port->tx_dropped)); + stats->opackets + port->tx_dropped); } else { @@ -1409,5 +1409,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats) "%14"PRIu64"\n", stats->ipackets, stats->imissed, - (uint64_t) (stats->ipackets + stats->imissed)); + stats->ipackets + stats->imissed); if (cur_fwd_eng == &csum_fwd_engine) @@ -1424,5 +1424,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats) "%14"PRIu64"\n", stats->opackets, port->tx_dropped, - (uint64_t) (stats->opackets + port->tx_dropped)); + stats->opackets + port->tx_dropped); } -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-04-25 16:37:47.666183207 +0100 +++ 0021-app-testpmd-remove-useless-casts-on-statistics.patch 2019-04-25 16:37:46.713295681 +0100 @@ -1 +1 @@ -From 7718296d06916d0b2029763913944f0067a2d0dd Mon Sep 17 00:00:00 2001 +From 300a6ca3eb0ca922099b4d22d5f62053cfb71cb3 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 7718296d06916d0b2029763913944f0067a2d0dd ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 05a3dce49..c78d52457 100644 +index d62c1594d..55a4ee407 100644 @@ -23 +24 @@ -@@ -1377,5 +1377,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats) +@@ -1389,5 +1389,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats) @@ -30 +31 @@ -@@ -1391,5 +1391,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats) +@@ -1403,5 +1403,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats) @@ -37 +38 @@ -@@ -1397,5 +1397,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats) +@@ -1409,5 +1409,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats) @@ -44 +45 @@ -@@ -1412,5 +1412,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats) +@@ -1424,5 +1424,5 @@ fwd_port_stats_display(portid_t port_id, struct rte_eth_stats *stats)