From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F01C24386A; Tue, 9 Jan 2024 00:38:20 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0B820402DC; Tue, 9 Jan 2024 00:38:16 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 4E2D2402C6 for ; Tue, 9 Jan 2024 00:38:13 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 7335920AEC80; Mon, 8 Jan 2024 15:38:12 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 7335920AEC80 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1704757092; bh=dObkrxwlV45u+yLNT30qIecc8PKUa9FDk3nPoWcp7ds=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XKlvMk2n2z7zIsF8J0UC8/LRu58HN3rqy69EZeE53FEhSy/Ac9FqAeusFltG4tzwm Vm8+DakhHGaj/aCDlDSDre7S1v8c7yMnmfILlvIKxXsD9RyxtTTuG/LHIOdCW1wsss dPHjydcck+OFQFAkMz15HF6cQhTDsjWTE6POdnCk= From: Tyler Retzlaff To: dev@dpdk.org Cc: Dmitry Kozlyuk , Pallavi Kadam , Tyler Retzlaff Subject: [PATCH v4 0/2] eal: initialize shared plugins on Windows Date: Mon, 8 Jan 2024 15:38:09 -0800 Message-Id: <1704757091-7964-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1701976851-17275-1-git-send-email-roretzla@linux.microsoft.com> References: <1701976851-17275-1-git-send-email-roretzla@linux.microsoft.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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