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 ED464A0563; Wed, 15 Apr 2020 11:43:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA5011D579; Wed, 15 Apr 2020 11:43:01 +0200 (CEST) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by dpdk.org (Postfix) with ESMTP id E1FBD1D562 for ; Wed, 15 Apr 2020 11:42:59 +0200 (CEST) Received: by mail-io1-f67.google.com with SMTP id w20so16446913iob.2 for ; Wed, 15 Apr 2020 02:42:59 -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=FIlSR/gw+FFoGSZH2H7jrmGzbikRytFSSKLdUQasj6c=; b=rFgXagXlowxrOU+GphAiQaHZ0fMRPrX60kvFz2h75Oq1F94wwhoOdpBp3hd2UjT6QC 6JDAtyNmkS23x8c0V6++m2LC+tznEPlH8vHwnp85c65HljVCWHr7IyKvwXM5CZ1UQuq5 r9rPEkw4B76B8IUDlqxzVZRV3uJfkbUv0uJXDCQT1qIxur5BdKL/rMe53vTodfPpYYeb p6831Ij/UE/nNcCdNDN+O0QTfbI2Z+QuOaUfDEkM5/E+QwZdFf6eFH1NTYy3OI6GTrTY gTK/7k+mijiEFifPbnVgqPzd4nBh6SdMTBnqIjaTYyJmXTRNASy8d5qHtOMkRjH5vdBF dRnA== 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=FIlSR/gw+FFoGSZH2H7jrmGzbikRytFSSKLdUQasj6c=; b=fuO9bNIxG2PhVo15cb2JnsG6dpnPxBFyc85p+mvEjQM9MKr//sMUDlkxDCXGvzQKg3 O5FNOpj+H3CHMn/eHfndW3ZipvCY+/GEygEJO1ZAk/DxwCCkrPwdHHldKnrbO0aMV6MI 7UwfpOGPU+ckdNFWbntrY4Kak7FVIFri20J4MwZwQGliVIt2bgColAjLwpQpRTTGLwTY YPvrIju/ioCO3gE3MltT3JTrQnojQahfa4zWbkIgh83Pw904S1Zf744OGSVlc7JMFU6N ILe5HhjDKNy0YUtiPQ4AJd3y4HdAP4Jvt4wQTHvJs2ujQ8MVOn6lYDU3bWZWD8xHoaBN EdQg== X-Gm-Message-State: AGi0PuaAO/jsyyelmHQX2ltqpaUpVFEsZoddEd5y1TZQS58+uiRhxCI6 FweCsAaYHnn3KLSr9+E0oXdggxl0YBvuUv/7+n4= X-Google-Smtp-Source: APiQypJAG5gtkINwgwb2VPko98w36D48XdYpZyzyky5RKW7WZeKml65htm7ujYx7jMttYXa9ILjotDxFCt+h3ExqK7M= X-Received: by 2002:a6b:b8d6:: with SMTP id i205mr1280146iof.123.1586943779127; Wed, 15 Apr 2020 02:42:59 -0700 (PDT) MIME-Version: 1.0 References: <20200410164342.1194634-1-dmitry.kozliuk@gmail.com> <20200414194426.1640704-1-dmitry.kozliuk@gmail.com> <20200414194426.1640704-11-dmitry.kozliuk@gmail.com> In-Reply-To: <20200414194426.1640704-11-dmitry.kozliuk@gmail.com> From: Jerin Jacob Date: Wed, 15 Apr 2020 15:12:43 +0530 Message-ID: To: Dmitry Kozlyuk Cc: dpdk-dev , "Dmitry Malloy (MESHCHANINOV)" , Narcisa Ana Maria Vasile , Fady Bader , Tal Shnaiderman , Thomas Monjalon , Harini Ramakrishnan , Omar Cardona , Pallavi Kadam , Ranjit Menon , John McNamara , Marko Kovacevic , Anatoly Burakov , Bruce Richardson Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v3 10/10] eal/windows: implement basic memory management 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 Wed, Apr 15, 2020 at 1:16 AM Dmitry Kozlyuk wrote: > > Basic memory management supports core libraries and PMDs operating in > IOVA as PA mode. It uses a kernel-mode driver, virt2phys, to obtain > IOVAs of hugepages allocated from user-mode. > > Signed-off-by: Dmitry Kozlyuk > --- > config/meson.build | 2 +- > doc/guides/windows_gsg/run_apps.rst | 43 +- > lib/librte_eal/common/eal_common_fbarray.c | 57 +- > lib/librte_eal/common/eal_common_memory.c | 50 +- > lib/librte_eal/common/eal_private.h | 6 +- > lib/librte_eal/common/malloc_heap.c | 1 + > lib/librte_eal/common/meson.build | 9 + IMO, We should split the lib/librte_eal/common/e and ib/librte_eal/windows/ as separate patch for better review and align the patch title accordingly. > lib/librte_eal/freebsd/eal_memory.c | 1 - > lib/librte_eal/rte_eal_exports.def | 119 ++- > lib/librte_eal/windows/eal.c | 55 ++ > lib/librte_eal/windows/eal_memalloc.c | 418 +++++++++++ > lib/librte_eal/windows/eal_memory.c | 706 +++++++++++++++++- > lib/librte_eal/windows/eal_mp.c | 103 +++ > lib/librte_eal/windows/eal_windows.h | 23 + > lib/librte_eal/windows/include/meson.build | 1 + > lib/librte_eal/windows/include/rte_os.h | 4 + > .../windows/include/rte_virt2phys.h | 34 + > lib/librte_eal/windows/include/rte_windows.h | 2 + > lib/librte_eal/windows/include/unistd.h | 3 + > lib/librte_eal/windows/meson.build | 4 + > 20 files changed, 1571 insertions(+), 70 deletions(-) > create mode 100644 lib/librte_eal/windows/eal_memalloc.c > create mode 100644 lib/librte_eal/windows/eal_mp.c > create mode 100644 lib/librte_eal/windows/include/rte_virt2phys.h