[dpdk-stable] patch 'examples/rxtx_callbacks: fix port ID format specifier' has been queued to stable release 19.11.9

Christian Ehrhardt christian.ehrhardt at canonical.com
Thu Jun 10 14:06:20 CEST 2021


Hi,

FYI, your patch has been queued to stable release 19.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/12/21. 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/cpaelzer/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/cpaelzer/dpdk-stable-queue/commit/3ef4bb9cf8f7ffadabe4f9bf1b44523aae8dcf14

Thanks.

Christian Ehrhardt <christian.ehrhardt at canonical.com>

---
>From 3ef4bb9cf8f7ffadabe4f9bf1b44523aae8dcf14 Mon Sep 17 00:00:00 2001
From: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
Date: Thu, 6 May 2021 00:54:35 +0300
Subject: [PATCH] examples/rxtx_callbacks: fix port ID format specifier

[ upstream commit 7861009f7b2ca7a028ee7fe867c90cd5560de529 ]

This fixes -Wformat warning with clang 10.0.0 on Windows.

Fixes: f8244c6399d9 ("ethdev: increase port id range")

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
Acked-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
---
 examples/rxtx_callbacks/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/rxtx_callbacks/main.c b/examples/rxtx_callbacks/main.c
index 35648226fe..ad587c7a13 100644
--- a/examples/rxtx_callbacks/main.c
+++ b/examples/rxtx_callbacks/main.c
@@ -295,7 +295,7 @@ main(int argc, char *argv[])
 	/* initialize all ports */
 	RTE_ETH_FOREACH_DEV(portid)
 		if (port_init(portid, mbuf_pool) != 0)
-			rte_exit(EXIT_FAILURE, "Cannot init port %"PRIu8"\n",
+			rte_exit(EXIT_FAILURE, "Cannot init port %"PRIu16"\n",
 					portid);
 
 	if (rte_lcore_count() > 1)
-- 
2.31.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-06-10 14:04:59.592250609 +0200
+++ 0032-examples-rxtx_callbacks-fix-port-ID-format-specifier.patch	2021-06-10 14:04:58.062024614 +0200
@@ -1 +1 @@
-From 7861009f7b2ca7a028ee7fe867c90cd5560de529 Mon Sep 17 00:00:00 2001
+From 3ef4bb9cf8f7ffadabe4f9bf1b44523aae8dcf14 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 7861009f7b2ca7a028ee7fe867c90cd5560de529 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index b57b2fc6bc..192521c3c6 100644
+index 35648226fe..ad587c7a13 100644
@@ -22 +23 @@
-@@ -329,7 +329,7 @@ main(int argc, char *argv[])
+@@ -295,7 +295,7 @@ main(int argc, char *argv[])


More information about the stable mailing list