DPDK patches and discussions
 help / color / mirror / Atom feed
From: Tyler Retzlaff <roretzla@linux.microsoft.com>
To: dev@dpdk.org
Cc: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>,
	Pallavi Kadam <pallavi.kadam@intel.com>,
	Tyler Retzlaff <roretzla@linux.microsoft.com>
Subject: [PATCH v5 0/2] eal: initialize shared plugins on Windows
Date: Tue, 12 Mar 2024 09:52:37 -0700	[thread overview]
Message-ID: <1710262359-14217-1-git-send-email-roretzla@linux.microsoft.com> (raw)
In-Reply-To: <1701976851-17275-1-git-send-email-roretzla@linux.microsoft.com>

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


  parent reply	other threads:[~2024-03-12 16:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-07 19:20 [PATCH] " Tyler Retzlaff
2023-12-07 19:20 ` Tyler Retzlaff
2023-12-07 19:43   ` Tyler Retzlaff
2023-12-07 20:26 ` [PATCH v2] " Tyler Retzlaff
2023-12-07 20:26   ` Tyler Retzlaff
2024-01-03  0:05 ` [PATCH v3] " Tyler Retzlaff
2024-01-03  0:05   ` Tyler Retzlaff
2024-01-08 23:38 ` [PATCH v4 0/2] " Tyler Retzlaff
2024-01-08 23:38   ` [PATCH v4 1/2] windows: include winapifamily header for macros Tyler Retzlaff
2024-01-25 21:58     ` Dmitry Kozlyuk
2024-01-08 23:38   ` [PATCH v4 2/2] eal: initialize shared plugins on Windows Tyler Retzlaff
2024-01-25 23:04     ` Dmitry Kozlyuk
2024-01-25 18:44   ` [PATCH v4 0/2] " Tyler Retzlaff
2024-03-12 16:52 ` Tyler Retzlaff [this message]
2024-03-12 16:52   ` [PATCH v5 1/2] eal/windows: make dirent.h shim compatible with MinGW Tyler Retzlaff
2024-03-12 16:52   ` [PATCH v5 2/2] eal: initialize shared plugins on Windows Tyler Retzlaff
2024-03-28 18:18   ` [PATCH v5 0/2] " Tyler Retzlaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1710262359-14217-1-git-send-email-roretzla@linux.microsoft.com \
    --to=roretzla@linux.microsoft.com \
    --cc=dev@dpdk.org \
    --cc=dmitry.kozliuk@gmail.com \
    --cc=pallavi.kadam@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).