[dpdk-dev] [PATCH v3 10/10] eal/windows: implement basic memory management
Jerin Jacob
jerinjacobk at gmail.com
Wed Apr 15 11:42:43 CEST 2020
On Wed, Apr 15, 2020 at 1:16 AM Dmitry Kozlyuk <dmitry.kozliuk at gmail.com> 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 <dmitry.kozliuk at gmail.com>
> ---
> 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
More information about the dev
mailing list