[dpdk-dev] [PATCH 1/1] virt2phys: virtual to physical address translator for Windows
Jerin Jacob
jerinjacobk at gmail.com
Mon Mar 30 08:58:28 CEST 2020
On Mon, Mar 30, 2020 at 9:40 AM Dmitry Kozlyuk <dmitry.kozliuk at gmail.com> wrote:
>
> This patch is for dpdk-kmods tree.
>
> This driver supports Windows EAL memory management by translating
> current process virtual addresses to physical addresses (IOVA).
> Standalone virt2phys allows using DPDK without PMD and provides a
> reference implementation. UIO drivers might also implement virt2phys
> interface, thus rendering this separate driver unneeded.
>
> Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk at gmail.com>
> ---
> windows/README.rst | 79 +++++++
> windows/virt2phys/virt2phys.c | 129 +++++++++++
> windows/virt2phys/virt2phys.h | 34 +++
> windows/virt2phys/virt2phys.inf | 85 ++++++++
> windows/virt2phys/virt2phys.sln | 27 +++
> windows/virt2phys/virt2phys.vcxproj | 228 ++++++++++++++++++++
> windows/virt2phys/virt2phys.vcxproj.filters | 36 ++++
> 7 files changed, 618 insertions(+)
> create mode 100644 windows/README.rst
> create mode 100755 windows/virt2phys/virt2phys.c
> create mode 100755 windows/virt2phys/virt2phys.h
> create mode 100755 windows/virt2phys/virt2phys.inf
> create mode 100755 windows/virt2phys/virt2phys.sln
> create mode 100755 windows/virt2phys/virt2phys.vcxproj
> create mode 100755 windows/virt2phys/virt2phys.vcxproj.filters
>
> diff --git a/windows/README.rst b/windows/README.rst
> new file mode 100644
> index 0000000..84506fa
> --- /dev/null
> +++ b/windows/README.rst
> @@ -0,0 +1,79 @@
> +Developing Windows Drivers
> +==========================
> +
> +Prerequisites
> +-------------
> +
> +Building Windows Drivers is only possible on Windows.
> +
> +1. Visual Studio 2019 Community or Professional Edition
> +2. Windows Driver Kit (WDK) for Windows 10, version 1903
Looks like WDK is licence is "Proprietary commercial software".
I am just wondering, Can we package this driver in binary form for
end-users to whose scope
is to not develop Windows DPDK but fixing any issues reported by build
CI for Window due
to generic EAL patches or so.
> +
> +Follow the official instructions to obtain all of the above:
> +https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk
> +
More information about the dev
mailing list