[dpdk-stable] patch 'eal/windows: export version function' has been queued to stable release 20.11.4

Xueming Li xuemingl at nvidia.com
Wed Nov 10 07:29:24 CET 2021


Hi,

FYI, your patch has been queued to stable release 20.11.4

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/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/steevenlee/dpdk

This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/8a43d7c5f437814d1c8f5d33353d96a9b989bc81

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 8a43d7c5f437814d1c8f5d33353d96a9b989bc81 Mon Sep 17 00:00:00 2001
From: William Tu <u9012063 at gmail.com>
Date: Thu, 5 Aug 2021 17:48:19 +0000
Subject: [PATCH] eal/windows: export version function
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit fe81e52a91d4b1beef15cfc152274498322446b4 ]

When OVS inits, it calls rte_version to get the DPDK's version.
The patch fixes the error below by exposing rte_version symbol.
libopenvswitch.a(dpdk.c.obj) : error LNK2019: unresolved external symbol
rte_version referenced in function dpdk_init

Fixes: 5b637a848195 ("eal: fix querying DPDK version at runtime")

Signed-off-by: William Tu <u9012063 at gmail.com>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
---
 lib/librte_eal/version.map | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_eal/version.map b/lib/librte_eal/version.map
index 1eeb5f3371..fe065a41d9 100644
--- a/lib/librte_eal/version.map
+++ b/lib/librte_eal/version.map
@@ -198,6 +198,7 @@ DPDK_21 {
 	rte_uuid_is_null;
 	rte_uuid_parse;
 	rte_uuid_unparse;
+	rte_version;
 	rte_vfio_clear_group;
 	rte_vfio_container_create;
 	rte_vfio_container_destroy;
-- 
2.33.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-11-10 14:17:05.618873137 +0800
+++ 0080-eal-windows-export-version-function.patch	2021-11-10 14:17:01.844079642 +0800
@@ -1 +1 @@
-From fe81e52a91d4b1beef15cfc152274498322446b4 Mon Sep 17 00:00:00 2001
+From 8a43d7c5f437814d1c8f5d33353d96a9b989bc81 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit fe81e52a91d4b1beef15cfc152274498322446b4 ]
@@ -12 +14,0 @@
-Cc: stable at dpdk.org
@@ -17,2 +19,2 @@
- lib/eal/version.map | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ lib/librte_eal/version.map | 1 +
+ 1 file changed, 1 insertion(+)
@@ -20,9 +22,8 @@
-diff --git a/lib/eal/version.map b/lib/eal/version.map
-index b436359596..d800090db0 100644
---- a/lib/eal/version.map
-+++ b/lib/eal/version.map
-@@ -267,7 +267,7 @@ DPDK_22 {
- 	rte_uuid_is_null; # WINDOWS_NO_EXPORT
- 	rte_uuid_parse; # WINDOWS_NO_EXPORT
- 	rte_uuid_unparse; # WINDOWS_NO_EXPORT
--	rte_version; # WINDOWS_NO_EXPORT
+diff --git a/lib/librte_eal/version.map b/lib/librte_eal/version.map
+index 1eeb5f3371..fe065a41d9 100644
+--- a/lib/librte_eal/version.map
++++ b/lib/librte_eal/version.map
+@@ -198,6 +198,7 @@ DPDK_21 {
+ 	rte_uuid_is_null;
+ 	rte_uuid_parse;
+ 	rte_uuid_unparse;
@@ -30,3 +31,3 @@
- 	rte_vfio_clear_group; # WINDOWS_NO_EXPORT
- 	rte_vfio_container_create; # WINDOWS_NO_EXPORT
- 	rte_vfio_container_destroy; # WINDOWS_NO_EXPORT
+ 	rte_vfio_clear_group;
+ 	rte_vfio_container_create;
+ 	rte_vfio_container_destroy;


More information about the stable mailing list