patches for DPDK stable branches
 help / color / mirror / Atom feed
From: christian.ehrhardt@canonical.com
To: David Marchand <david.marchand@redhat.com>
Cc: Harry van Haaren <harry.van.haaren@intel.com>,
	Tyler Retzlaff <roretzla@linux.microsoft.com>,
	dpdk stable <stable@dpdk.org>
Subject: patch 'service: fix build with clang 15' has been queued to stable release 19.11.14
Date: Thu, 24 Nov 2022 15:00:25 +0100	[thread overview]
Message-ID: <20221124140034.770192-2-christian.ehrhardt@canonical.com> (raw)
In-Reply-To: <20221124140034.770192-1-christian.ehrhardt@canonical.com>

Hi,

FYI, your patch has been queued to stable release 19.11.14

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/26/22. 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/9741b95a7978ada4d634fbcb1f8b7e19d974efc3

Thanks.

Christian Ehrhardt <christian.ehrhardt@canonical.com>

---
From 9741b95a7978ada4d634fbcb1f8b7e19d974efc3 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand@redhat.com>
Date: Fri, 18 Nov 2022 09:53:03 +0100
Subject: [PATCH] service: fix build with clang 15

[ upstream commit b41e574c2d2e8d82ec5e22a950e385c73efda850 ]

This variable is not used.

Bugzilla ID: 1130
Fixes: 21698354c832 ("service: introduce service cores concept")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
---
 lib/librte_eal/common/rte_service.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/librte_eal/common/rte_service.c b/lib/librte_eal/common/rte_service.c
index 11cd5a538d..4d21d1bdc3 100644
--- a/lib/librte_eal/common/rte_service.c
+++ b/lib/librte_eal/common/rte_service.c
@@ -101,14 +101,12 @@ rte_service_init(void)
 	}
 
 	int i;
-	int count = 0;
 	struct rte_config *cfg = rte_eal_get_configuration();
 	for (i = 0; i < RTE_MAX_LCORE; i++) {
 		if (lcore_config[i].core_role == ROLE_SERVICE) {
 			if ((unsigned int)i == cfg->master_lcore)
 				continue;
 			rte_service_lcore_add(i);
-			count++;
 		}
 	}
 
-- 
2.38.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-11-24 14:58:12.530732286 +0100
+++ 0002-service-fix-build-with-clang-15.patch	2022-11-24 14:58:11.805189452 +0100
@@ -1 +1 @@
-From b41e574c2d2e8d82ec5e22a950e385c73efda850 Mon Sep 17 00:00:00 2001
+From 9741b95a7978ada4d634fbcb1f8b7e19d974efc3 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b41e574c2d2e8d82ec5e22a950e385c73efda850 ]
+
@@ -10 +11,0 @@
-Cc: stable@dpdk.org
@@ -16 +17 @@
- lib/eal/common/rte_service.c | 2 --
+ lib/librte_eal/common/rte_service.c | 2 --
@@ -19,5 +20,5 @@
-diff --git a/lib/eal/common/rte_service.c b/lib/eal/common/rte_service.c
-index bcc2e19077..42ca1d001d 100644
---- a/lib/eal/common/rte_service.c
-+++ b/lib/eal/common/rte_service.c
-@@ -107,14 +107,12 @@ rte_service_init(void)
+diff --git a/lib/librte_eal/common/rte_service.c b/lib/librte_eal/common/rte_service.c
+index 11cd5a538d..4d21d1bdc3 100644
+--- a/lib/librte_eal/common/rte_service.c
++++ b/lib/librte_eal/common/rte_service.c
+@@ -101,14 +101,12 @@ rte_service_init(void)
@@ -31 +32 @@
- 			if ((unsigned int)i == cfg->main_lcore)
+ 			if ((unsigned int)i == cfg->master_lcore)

  reply	other threads:[~2022-11-24 14:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-24 14:00 patch 'vdpa/ifc: handle data path update failure' " christian.ehrhardt
2022-11-24 14:00 ` christian.ehrhardt [this message]
2022-11-24 14:00 ` patch 'bus/dpaa: fix build with clang 15' " christian.ehrhardt
2022-11-24 14:00 ` patch 'net/atlantic: " christian.ehrhardt
2022-11-24 14:00 ` patch 'app/testpmd: " christian.ehrhardt
2022-11-24 14:00 ` patch 'test/efd: " christian.ehrhardt
2022-11-24 14:00 ` patch 'test/member: " christian.ehrhardt
2022-11-24 14:00 ` patch 'test/event: " christian.ehrhardt
2022-11-24 14:00 ` patch 'net/ixgbevf: fix promiscuous and allmulti' " christian.ehrhardt
2022-11-24 14:00 ` patch 'doc: add LRO size limitation in mlx5 guide' " christian.ehrhardt
2022-11-24 14:00 ` patch 'doc: fix maximum packet size of virtio driver' " christian.ehrhardt
2022-11-24 14:04 ` patch 'vdpa/ifc: handle data path update failure' " Christian Ehrhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221124140034.770192-2-christian.ehrhardt@canonical.com \
    --to=christian.ehrhardt@canonical.com \
    --cc=david.marchand@redhat.com \
    --cc=harry.van.haaren@intel.com \
    --cc=roretzla@linux.microsoft.com \
    --cc=stable@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).