[PATCH v4 0/2] eal: initialize shared plugins on Windows

Tyler Retzlaff roretzla at linux.microsoft.com
Tue Jan 9 00:38:09 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.

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):
  windows: include winapifamily header for macros
  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