eal: add option register infrastructure
authorKevin Laatz <kevin.laatz@intel.com>
Sat, 27 Oct 2018 09:17:39 +0000 (10:17 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 27 Oct 2018 10:10:10 +0000 (12:10 +0200)
commit2395332798d0c43ce3ecd625777f14666f4a4b28
tree261e936fd8e043a4c21970cc2bea61ba20e72caf
parentd09973f6c4dff9715304ef979c1b0d72aa365193
eal: add option register infrastructure

This commit adds infrastructure to EAL that allows an application to
register it's init function with EAL. This allows libraries to be
initialized at the end of EAL init.

This infrastructure allows libraries that depend on EAL to be initialized
as part of EAL init, removing circular dependency issues.

Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_eal/bsdapp/eal/Makefile
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/common/Makefile
lib/librte_eal/common/eal_private.h
lib/librte_eal/common/include/rte_option.h [new file with mode: 0644]
lib/librte_eal/common/meson.build
lib/librte_eal/common/rte_option.c [new file with mode: 0644]
lib/librte_eal/linuxapp/eal/Makefile
lib/librte_eal/linuxapp/eal/eal.c
lib/librte_eal/rte_eal_version.map