[v5,0/2] eal: initialize shared plugins on Windows

Message ID 1710262359-14217-1-git-send-email-roretzla@linux.microsoft.com (mailing list archive)
Headers
Series eal: initialize shared plugins on Windows |

Message

Tyler Retzlaff March 12, 2024, 4:52 p.m. UTC
  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(-)
  

Comments

Tyler Retzlaff March 28, 2024, 6:18 p.m. UTC | #1
Recheck-request: github-robot