Skip to content

eal: initialize shared plugins on Windows

Tyler Retzlaff dpdk-dev 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 5 repliesIn review
  2. v42 patches 3 repliesSuperseded
  3. v3 posting 2/21 patch 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v3 posting 1/21 patch0 repliesSuperseded
v2 posting 2/21 patch0 repliesSuperseded
v2 posting 1/21 patch0 repliesSuperseded
v11 patch1 replySuperseded

Changes in v5 from the cover letter

* rebase series
* use RTE_LOG_LINE instead of RTE_LOG
* update commit subject on patch 1/2 as per maintainer suggestion

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2eal/windows: make dirent.h shim compatible with MinGWlib/eal/windows/include/dirent.h+6 -00 replies
2/2eal: initialize shared plugins on Windowslib/eal/common/eal_common_options.c lib/eal/windows/eal.c+83 -154 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchDmitry Kozlyuk
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] eal: initialize shared plugins on Windows

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(-)
Signature · 1 line
1.8.3.1