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 E066A423BA; Thu, 12 Jan 2023 21:35:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C7FD42D36; Thu, 12 Jan 2023 21:35:56 +0100 (CET) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id 1FF1C42D27 for ; Thu, 12 Jan 2023 21:35:55 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id D9865320093C; Thu, 12 Jan 2023 15:35:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 12 Jan 2023 15:35:54 -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 :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1673555753; x=1673642153; bh=/M/vrOgxbBbwMFPEwwMqx7/ty 2HbFbMw6Qoz9nCCSZg=; b=eTBpO8cc1wIY50CXLvO0juCWCurQY2TFb2kyZ4IGE +cITSVdJyYx0WfNbOJafjZEhObBRJGo+8SscIDuphSCSbWrz6UbT6VL7YtYNPnvQ +RblLta41EQ3vFcUC2bkSM2ZA+iLt0/iNudaoaUgFkBDYcIMAYHwTO/FXMfmNxd4 eH++hfxHnR1BxIP8L70dlnNl1hjG8y2JKVrjMhLBQXjAJ5k0PkbFnoveFwTk0XTK KQ4/yH08YPZrG6aoX2Y8xF37o4lr71mBDEFg0TQNJINL1Y/I+U7NwPhK2DzEdupR mGqwDOUFFxV11Tgd9u2gA+PA8Xku2NfNScbqecWH/Cb5w== 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:message-id :mime-version: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= 1673555753; x=1673642153; bh=/M/vrOgxbBbwMFPEwwMqx7/ty2HbFbMw6Qo z9nCCSZg=; b=sfUm2Lin0CNDlK9mxE4XQTKUEHoApleTjq5TkFxnVUdUFC6hbuN uiUinG9SEkLySBu3izovioOI7U5yol82uizw0haaXKw10ou65sg/ko7MnxM+ho0g TsFd+6NCxqLa0TkOGASmQFS3LJgrQc+HWWsZ1L4O+9OWp1BbO5stUYuD/hsaVopG fTiLXm4BU1Zko1NBjNIomi8XhhNjUZ4YbifPb80JZDb7iYdxdFtI+CLpnJcFkVCU dpAs47Q2iLYoXqOco5H35wjgyg2dPrpQhFZ6yC9Un5GLNrkncnZYJNUX2hTIvlPP HTOtaTzEWeBxLboPPHu803gpqXEKbO7GNng== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrleeigddugeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeevveefveeiiefhtedukeegkeelieegffeukeevudetueffieduveet iedukeefleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Jan 2023 15:35:52 -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:35:42 +0100 Message-Id: <20230112203546.1528465-1-thomas@monjalon.net> X-Mailer: git-send-email 2.39.0 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