[v2,0/4] fix Windows build with MinGW and mlx5
Message ID | 20230112203546.1528465-1-thomas@monjalon.net (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org 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 <dev@dpdk.org>; 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: <xms:KW_AY5wSwDh-wTbMDrv2j5C6c3P1-qGsKvPD1q4q7CvzW9ozb2lmLA> <xme:KW_AY5QwRnIE0MYSipscnzX-g31tLLEcm3kwFQllZUXWJ51vEChzmnfY9QUwbp86a 69dswfWwRmjV16Kyw> X-ME-Received: <xmr:KW_AYzX_V88dnUeMcZ2jyfOtc3z401GQFX8mRBC0n1wGsH5JMpeBsYQCP7jRDEDdwAlaTfuYZ9e2AWOjX_yb4mZlkIvc_U0> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrleeigddugeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeevveefveeiiefhtedukeegkeelieegffeukeevudetueffieduveet iedukeefleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: <xmx:KW_AY7izgNeRRBzAQEbcGXQ_YTNuLLe92hdqCIudoRD3xnZ-Lelw8g> <xmx:KW_AY7CZJ93Fb9fFtxr_Pv961Fq0-I-PmA58NkXuJDg64H9t08UWEg> <xmx:KW_AY0IsF40vBSKkbJJAbLBVwWS8EpSSGZY5BYYAXcwLpNdXg7-0sw> <xmx:KW_AY-rtz1dByOxTOAxrjsIMMeHwcyZ535JmCFMABguZq5CLGaIJyg> Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Jan 2023 15:35:52 -0500 (EST) From: Thomas Monjalon <thomas@monjalon.net> To: dev@dpdk.org Cc: Tal Shnaiderman <talshn@nvidia.com> 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 <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Message
Thomas Monjalon
Jan. 12, 2023, 8:35 p.m. UTC
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