From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E9E8AA0562; Mon, 30 Mar 2020 08:58:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EF3EC1BFDC; Mon, 30 Mar 2020 08:58:46 +0200 (CEST) Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by dpdk.org (Postfix) with ESMTP id 1C0082C15 for ; Mon, 30 Mar 2020 08:58:45 +0200 (CEST) Received: by mail-io1-f66.google.com with SMTP id r25so4731591ioc.11 for ; Sun, 29 Mar 2020 23:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zKXqAAi7uvAiI/We4k5Nm+gNFuF13wdCZYVS0L6DX7g=; b=OAOtAaGTpbhljhnwduYH1c2VA6NR1dygqzoe5Axqfbce6pr6M1wG64ogh6fjDW5cPm fjTPjwBv0yUgYzhKpmn3QKmlVaxqsEZVaCE9Vi4jCc0/d4XiYsXTcI1HZ/zghLKw/3OA RI5z1dQt6+51nSMVRxTxhlXphsTRWl3Dfe4s9XUlpq3PqR3apWIa6ZP3ICVvib2BpoO9 D1vine+JvGoFIfmDxgMi7q6JTsSGDc9uQ/ch4ZiqjJxgAFDAguTDN3frDOxlVs728afZ GWH3arUAL7ReheF3ZZU1IMoiRuK0kGKuapTF1BAWmvaso8Q3Yd5fXtFP/vNr0NWFm/1b /7pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zKXqAAi7uvAiI/We4k5Nm+gNFuF13wdCZYVS0L6DX7g=; b=q5gbBzjpP0E+qIT3HKMmkuEkS/gmNTyk7iWs35xW9Bncf/hfRYmp1yJq1j8/qooHH/ 9WqtvFuZWBASjhX97OAAQB73EGcSK9hfm8J87l1OgpaGydSXXlAYzKdpEalZyeYAuwSK Sxky5Z5pYgmzn7JwLP/vlEq0DcYlSwff7aDfwqvxYcj/gouwLth+KoOMoXQ1TXmHlApQ 92Td1zOMiKIjIDoDRrRlLVfFfZhRakQOeZiI8aumblunt4FV3wxmHQf4o+Q/V+hknV0M E3mlFGOIC8mA9mY4W5HUbOZtlEuGjR/1ucvuRv7QjHJkjRBn7Aw9Hiq/4eArgyeg63iG bMqw== X-Gm-Message-State: ANhLgQ0oB9ApRJHOKFbFKeKdJvXtarPsXrvzhlihIf0eur+GdFx/PIm5 hCJEcymNyeRKRJXemJOmmIvfNACV9wM9DUp0liU= X-Google-Smtp-Source: ADFU+vs/2gYbYefsWMwldwzBrCfd2YcruR1Ysm3TvB1TaT0PZgNefck8R/iQAsS0nWR8XidZSCKwYAxMoWrCQ2IQf0c= X-Received: by 2002:a02:2110:: with SMTP id e16mr9226340jaa.113.1585551524299; Sun, 29 Mar 2020 23:58:44 -0700 (PDT) MIME-Version: 1.0 References: <20200330041026.784624-1-dmitry.kozliuk@gmail.com> <20200330041026.784624-2-dmitry.kozliuk@gmail.com> In-Reply-To: <20200330041026.784624-2-dmitry.kozliuk@gmail.com> From: Jerin Jacob Date: Mon, 30 Mar 2020 12:28:28 +0530 Message-ID: To: Dmitry Kozlyuk Cc: dpdk-dev , "Dmitry Malloy (MESHCHANINOV)" Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 1/1] virt2phys: virtual to physical address translator for Windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Mar 30, 2020 at 9:40 AM Dmitry Kozlyuk 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 > --- > 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 > +