[dpdk-stable] patch 'eal: hide internal function' has been queued to LTS release 18.11.3
Kevin Traynor
ktraynor at redhat.com
Thu Sep 5 12:17:33 CEST 2019
Hi,
FYI, your patch has been queued to LTS release 18.11.3
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 09/12/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 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/d1541e09feaf6c7a3198fd0e857b81ff1fa0010b
Thanks.
Kevin Traynor
---
>From d1541e09feaf6c7a3198fd0e857b81ff1fa0010b Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Wed, 31 Jul 2019 14:07:33 +0200
Subject: [PATCH] eal: hide internal function
[ upstream commit ba5d78da70dfeb23f92027cb4145066e5271c478 ]
This function has never been used outside of this code unit.
Mark it static and remove it from the eal internal header.
Fixes: 9e29251b2afa ("eal: thread affinity API")
Signed-off-by: David Marchand <david.marchand at redhat.com>
---
lib/librte_eal/common/eal_common_thread.c | 3 ++-
lib/librte_eal/common/eal_thread.h | 11 -----------
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_thread.c b/lib/librte_eal/common/eal_common_thread.c
index 14f206c04..8388efb3e 100644
--- a/lib/librte_eal/common/eal_common_thread.c
+++ b/lib/librte_eal/common/eal_common_thread.c
@@ -39,5 +39,6 @@ rte_lcore_has_role(unsigned int lcore_id, enum rte_lcore_role_t role)
}
-int eal_cpuset_socket_id(rte_cpuset_t *cpusetp)
+static int
+eal_cpuset_socket_id(rte_cpuset_t *cpusetp)
{
unsigned cpu = 0;
diff --git a/lib/librte_eal/common/eal_thread.h b/lib/librte_eal/common/eal_thread.h
index 2d30b19b9..0d0bad06b 100644
--- a/lib/librte_eal/common/eal_thread.h
+++ b/lib/librte_eal/common/eal_thread.h
@@ -35,15 +35,4 @@ void eal_thread_init_master(unsigned lcore_id);
unsigned eal_cpu_socket_id(unsigned cpu_id);
-/**
- * Get the NUMA socket id from cpuset.
- * This function is private to EAL.
- *
- * @param cpusetp
- * The point to a valid cpu set.
- * @return
- * socket_id or SOCKET_ID_ANY
- */
-int eal_cpuset_socket_id(rte_cpuset_t *cpusetp);
-
/**
* Default buffer size to use with eal_thread_dump_affinity()
--
2.20.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2019-09-05 10:36:49.510520881 +0100
+++ 0033-eal-hide-internal-function.patch 2019-09-05 10:36:47.530700043 +0100
@@ -1 +1 @@
-From ba5d78da70dfeb23f92027cb4145066e5271c478 Mon Sep 17 00:00:00 2001
+From d1541e09feaf6c7a3198fd0e857b81ff1fa0010b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit ba5d78da70dfeb23f92027cb4145066e5271c478 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index c91aba8f9..f9a8cf14d 100644
+index 14f206c04..8388efb3e 100644
More information about the stable
mailing list