[dpdk-stable] patch 'eal/windows: do not install virt2phys header' has been queued to stable release 20.11.4

Xueming Li xuemingl at nvidia.com
Wed Nov 10 07:29:58 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/6d4f5a16392c75f31001d9e7b836011614e16710

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 6d4f5a16392c75f31001d9e7b836011614e16710 Mon Sep 17 00:00:00 2001
From: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
Date: Fri, 1 Oct 2021 19:37:25 +0300
Subject: [PATCH] eal/windows: do not install virt2phys header
Cc: Xueming Li <xuemingl at nvidia.com>

[ upstream commit d47dd941623c12bebd8a283ec440ac92faf235c0 ]

The header was not intended to be a public one.
DPDK users should use `rte_mem_virt2iova()` to translate addresses.
Other virt2phys users should use the header from the driver instead.

Fixes: 2a5d547a4a9b ("eal/windows: implement basic memory management")

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
---
 lib/librte_eal/windows/include/meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/librte_eal/windows/include/meson.build b/lib/librte_eal/windows/include/meson.build
index b3534b025f..5fb1962ac7 100644
--- a/lib/librte_eal/windows/include/meson.build
+++ b/lib/librte_eal/windows/include/meson.build
@@ -5,6 +5,5 @@ includes += include_directories('.')
 
 headers += files(
         'rte_os.h',
-        'rte_virt2phys.h',
         'rte_windows.h',
 )
-- 
2.33.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-11-10 14:17:07.055968604 +0800
+++ 0114-eal-windows-do-not-install-virt2phys-header.patch	2021-11-10 14:17:01.880746009 +0800
@@ -1 +1 @@
-From d47dd941623c12bebd8a283ec440ac92faf235c0 Mon Sep 17 00:00:00 2001
+From 6d4f5a16392c75f31001d9e7b836011614e16710 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit d47dd941623c12bebd8a283ec440ac92faf235c0 ]
@@ -11 +13,0 @@
-Cc: stable at dpdk.org
@@ -15 +17 @@
- lib/eal/windows/include/meson.build | 1 -
+ lib/librte_eal/windows/include/meson.build | 1 -
@@ -18 +20 @@
-diff --git a/lib/eal/windows/include/meson.build b/lib/eal/windows/include/meson.build
+diff --git a/lib/librte_eal/windows/include/meson.build b/lib/librte_eal/windows/include/meson.build
@@ -20,2 +22,2 @@
---- a/lib/eal/windows/include/meson.build
-+++ b/lib/eal/windows/include/meson.build
+--- a/lib/librte_eal/windows/include/meson.build
++++ b/lib/librte_eal/windows/include/meson.build


More information about the stable mailing list