eal: move OS common config objects
authorTal Shnaiderman <talshn@mellanox.com>
Mon, 29 Jun 2020 12:37:32 +0000 (15:37 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jun 2020 22:02:53 +0000 (00:02 +0200)
commit57a2efb304775135e320acde1e0622b1190bffa9
treeaa8e074925517c956ed987443f541f9aa9455f55
parent309bf90bf99e1e3b41e2abfdfd0f15f8299034b8
eal: move OS common config objects

Move common functions between Unix and Windows to eal_common_config.c.

Those functions are getter functions for IOVA,
configuration, Multi-process.

Move rte_config, internal_config, early_mem_config and runtime_dir
to be defined in the common file with getter functions.

Refactor the users of the config variables above to use
the getter functions.

Signed-off-by: Tal Shnaiderman <talshn@mellanox.com>
29 files changed:
lib/librte_eal/common/eal_common_config.c [new file with mode: 0644]
lib/librte_eal/common/eal_common_dynmem.c
lib/librte_eal/common/eal_common_fbarray.c
lib/librte_eal/common/eal_common_mcfg.c
lib/librte_eal/common/eal_common_memalloc.c
lib/librte_eal/common/eal_common_memory.c
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_common_proc.c
lib/librte_eal/common/eal_common_thread.c
lib/librte_eal/common/eal_internal_cfg.h
lib/librte_eal/common/eal_private.h
lib/librte_eal/common/malloc_elem.c
lib/librte_eal/common/malloc_heap.c
lib/librte_eal/common/meson.build
lib/librte_eal/freebsd/Makefile
lib/librte_eal/freebsd/eal.c
lib/librte_eal/freebsd/eal_hugepage_info.c
lib/librte_eal/freebsd/eal_memory.c
lib/librte_eal/linux/Makefile
lib/librte_eal/linux/eal.c
lib/librte_eal/linux/eal_hugepage_info.c
lib/librte_eal/linux/eal_memalloc.c
lib/librte_eal/linux/eal_memory.c
lib/librte_eal/linux/eal_timer.c
lib/librte_eal/linux/eal_vfio.c
lib/librte_eal/windows/eal.c
lib/librte_eal/windows/eal_hugepages.c
lib/librte_eal/windows/eal_memalloc.c
lib/librte_eal/windows/eal_memory.c