[dpdk-stable] patch 'app: remove extra new line after link duplex' has been queued to LTS release 18.11.9

Kevin Traynor ktraynor at redhat.com
Fri Jun 5 20:24:44 CEST 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.9

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/10/20. 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 are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/8b1f81d77bd2ccb2479444dfdb49918d1be4e464

Thanks.

Kevin.

---
>From 8b1f81d77bd2ccb2479444dfdb49918d1be4e464 Mon Sep 17 00:00:00 2001
From: Ivan Dyukov <i.dyukov at samsung.com>
Date: Thu, 7 May 2020 21:26:01 +0300
Subject: [PATCH] app: remove extra new line after link duplex

[ upstream commit a357d09d54246ea72625c22a970d81a3165fbf94 ]

This is testpmd part of new line cleanup.

Fixes: 002ade70e9 ("app/test: measure cycles per packet in Rx/Tx")
Fixes: ce8d561418 ("app/testpmd: add port configuration settings")

Signed-off-by: Ivan Dyukov <i.dyukov at samsung.com>
Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>
---
 app/test-pmd/testpmd.c    | 2 +-
 test/test/test_pmd_perf.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index a910c06dc2..b68bc54e32 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -2501,5 +2501,5 @@ check_all_ports_link_status(uint32_t port_mask)
 					portid, link.link_speed,
 				(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
-					("full-duplex") : ("half-duplex\n"));
+					("full-duplex") : ("half-duplex"));
 				else
 					printf("Port %d Link Down\n", portid);
diff --git a/test/test/test_pmd_perf.c b/test/test/test_pmd_perf.c
index ed8524a176..d68f9599c7 100644
--- a/test/test/test_pmd_perf.c
+++ b/test/test/test_pmd_perf.c
@@ -143,5 +143,5 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask)
 						portid, link.link_speed,
 				(link.link_duplex == ETH_LINK_FULL_DUPLEX) ?
-					("full-duplex") : ("half-duplex\n"));
+					("full-duplex") : ("half-duplex"));
 					if (link_mbps == 0)
 						link_mbps = link.link_speed;
-- 
2.21.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-06-05 19:20:53.400205925 +0100
+++ 0047-app-remove-extra-new-line-after-link-duplex.patch	2020-06-05 19:20:50.830040359 +0100
@@ -1 +1 @@
-From a357d09d54246ea72625c22a970d81a3165fbf94 Mon Sep 17 00:00:00 2001
+From 8b1f81d77bd2ccb2479444dfdb49918d1be4e464 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit a357d09d54246ea72625c22a970d81a3165fbf94 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -15,2 +16,2 @@
- app/test-pmd/testpmd.c   | 2 +-
- app/test/test_pmd_perf.c | 2 +-
+ app/test-pmd/testpmd.c    | 2 +-
+ test/test/test_pmd_perf.c | 2 +-
@@ -20 +21 @@
-index 4b13bf6a98..9cbe6e9f68 100644
+index a910c06dc2..b68bc54e32 100644
@@ -23 +24 @@
-@@ -3013,5 +3013,5 @@ check_all_ports_link_status(uint32_t port_mask)
+@@ -2501,5 +2501,5 @@ check_all_ports_link_status(uint32_t port_mask)
@@ -30,5 +31,5 @@
-diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c
-index d61be58bb3..352cd47156 100644
---- a/app/test/test_pmd_perf.c
-+++ b/app/test/test_pmd_perf.c
-@@ -152,5 +152,5 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask)
+diff --git a/test/test/test_pmd_perf.c b/test/test/test_pmd_perf.c
+index ed8524a176..d68f9599c7 100644
+--- a/test/test/test_pmd_perf.c
++++ b/test/test/test_pmd_perf.c
+@@ -143,5 +143,5 @@ check_all_ports_link_status(uint16_t port_num, uint32_t port_mask)



More information about the stable mailing list