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 AEB70423BA; Thu, 12 Jan 2023 21:37:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A309842D36; Thu, 12 Jan 2023 21:37:27 +0100 (CET) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id EEC2342D27 for ; Thu, 12 Jan 2023 21:37:26 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id E720F3200805; Thu, 12 Jan 2023 15:37:25 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 12 Jan 2023 15:37:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1673555845; x=1673642245; bh=/M /vrOgxbBbwMFPEwwMqx7/ty2HbFbMw6Qoz9nCCSZg=; b=uH4dzT90Dqig8/cv8x +Vb3Pv1bDEoEBkiuyeRqgqwiNMI4JT5FCsbN4xNsVvSm/v7Lg5cYiZW7aRRNNa1D qOBeNdhsOa3fnzV++dZce97XHX1+YcVatjCD+mDuG2tMN83vhd3xhvy+ASktjucR Z1ThptcHciGc78bqyNk29wenseznEWcOIpmGRP/AxwCv9Uzvrx6xZVHld+ZLmjYV 2+oCL9i1KtlxmPvp2SMOc+kp6Rl7ubMtWHLC8v+3hNo1s24Vz0TqNCru308FItAj 8Vs2tXjzy5xm8FoN0gkIdbHiSjWs2YFN075kZ1RXAXYZjGwW2wE4nFcNuh1J73Hh CNVQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1673555845; x=1673642245; bh=/M/vrOgxbBbwM FPEwwMqx7/ty2HbFbMw6Qoz9nCCSZg=; b=JgccNsSurnDWKMepJ0fLz5k03UOVA h5gCTS8CirHbkfwmfVaR0ekF7y1DyaAImhb/f2pjuL0N/Ne0Asm7TsWCBXC7itqS 7mOQU9cGDU4ApX7ImnC2CMigcIR8LlGdyEDhimaNUPTBDxg5C/hvOnXMEni9SBgn sMKXPJW+iIc6kOeF9Tbuyd8bOTcrCg/ixMJVPCiU8uOmzUbKi4S/V2tortOOuRZ4 YhY+FrTSSKCpCWYNSDLdQk2H9XfcNu7ZzPaoaSlc02I71fcdJd0+aDQiHhloGp+u UUA04v+7zJ0cektsWj7Oq7L1LVyj8qAWbvtwg9BHSKDoUsJZUCuBIN0TQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrleeigddugeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedvjefhudeghedvtdeijeeigeetuedugfejueekieeltdfhteev keehhfeilefhtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Jan 2023 15:37:24 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: Tal Shnaiderman Subject: [PATCH v2 0/4] fix Windows build with MinGW and mlx5 Date: Thu, 12 Jan 2023 21:37:14 +0100 Message-Id: <20230112203719.1528619-1-thomas@monjalon.net> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230105161020.247780-1-thomas@monjalon.net> References: <20230105161020.247780-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The first patch is a fix for EAL Windows. The 3 other patches are cleaning up mlx5 for Windows. The result is to make possible to compile mlx5 on Linux for Windows. v2: improve mlx5 doc and remove weak attribute from mlx5 Thomas Monjalon (4): eal/windows: fix pedantic build common/mlx5: get Windows dependency from standard variables net/mlx5: remove weak stub functions net/mlx5: fix Windows build with MinGW GCC 12 doc/guides/platform/mlx5.rst | 11 ++- drivers/common/mlx5/meson.build | 4 +- drivers/common/mlx5/windows/meson.build | 28 +++--- drivers/common/mlx5/windows/mlx5_win_defs.h | 100 +++++++++++--------- drivers/net/mlx5/meson.build | 13 ++- drivers/net/mlx5/mlx5_rx.c | 35 ------- drivers/net/mlx5/mlx5_rxtx_vec_null.c | 38 ++++++++ drivers/net/mlx5/windows/mlx5_os.c | 4 +- lib/eal/windows/include/pthread.h | 3 +- 9 files changed, 128 insertions(+), 108 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_rxtx_vec_null.c -- 2.39.0