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

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

Message

Tyler Retzlaff Jan. 8, 2024, 11:38 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.

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(-)
  

Comments

Tyler Retzlaff Jan. 25, 2024, 6:44 p.m. UTC | #1
ping for Windows maintainers

thanks!

On Mon, Jan 08, 2024 at 03:38:09PM -0800, Tyler Retzlaff wrote:
> 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