[PATCH v5 0/2] eal: initialize shared plugins on Windows
Tyler Retzlaff
roretzla at linux.microsoft.com
Tue Mar 12 17:52:37 CET 2024
When EAL is built with MSVC it is possible to dynamically load plugins
on Windows. Hook eal_plugins_init into rte_eal_init if built with MSVC
and provide code to load plugins on Windows.
Note: For patch 2/2 no verify permissions is provided as it would be
redundant with the check performed by LoadLibrary.
CI warning also expected DWORD is not uint64_t on Windows.
v5:
* rebase series
* use RTE_LOG_LINE instead of RTE_LOG
* update commit subject on patch 1/2 as per maintainer suggestion
v4:
* include winipfamily.h header for WINAPI_FAMILY macros and provide
definition for PHONE_APP if mingw winipfamily.h doesn't supply it
v3:
* revert use of PRIu32 from previous patch just use %lu to make
unsigned long format happy
v2:
* revert unintended / unrelated whitespace change
* include inttypes.h for use of PRIu32 in log format string
Tyler Retzlaff (2):
eal/windows: make dirent.h shim compatible with MinGW
eal: initialize shared plugins on Windows
lib/eal/common/eal_common_options.c | 90 ++++++++++++++++++++++++++++++-------
lib/eal/windows/eal.c | 8 ++++
lib/eal/windows/include/dirent.h | 6 +++
3 files changed, 89 insertions(+), 15 deletions(-)
--
1.8.3.1
More information about the dev
mailing list