From patchwork Thu Jan 5 16:10:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 121626 Return-Path: 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 CCB62A00C2; Thu, 5 Jan 2023 17:10:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C9F94067C; Thu, 5 Jan 2023 17:10:29 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 574864021E for ; Thu, 5 Jan 2023 17:10:28 +0100 (CET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 9DD155C0036; Thu, 5 Jan 2023 11:10:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 05 Jan 2023 11:10: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 :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm2; t=1672935026; x=1673021426; bh=ENuZNpKC+dJAfrr1+5z6uJvTR IDmFOw1gKBQe+/BsQ4=; b=BMsw+nkyt4Rkcw3KCVcDYAH7R7DyiiTtUtnjkAwmL wUE4MWb6d5p+NCGT66V3qX05VOgT1y9ia4Ou1/f3zWHGBKJOt2H5wcENQZXWSbSJ Hg1e9LEXs46Eak5nX0kjqjp0sFzyMDksApks9AWYoipkRskgYGKtlNHiHtNlZ0TF P8cqPnu5ZDhWFOdSFleoERQEEtVrNCBELwkNcPaHdJuNzkxO5uwstl+DhNsDQyyj trZSMMOWkeatY+h2c+Spaqo298VF5OSD/S922YtXcyQOEZvZQw2juClhCaRNOJ32 DCSCz42iyWKjXftn8RQmlaZMtw+1l3VwDMplzBtiWoAdw== 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=fm2; t= 1672935026; x=1673021426; bh=ENuZNpKC+dJAfrr1+5z6uJvTRIDmFOw1gKB Qe+/BsQ4=; b=MYzN7ESgTFpfXelVGcdCb/9mMpUvznqjAb8cteKjNgW+iM0HK6j 0GB+hS3iSxKP7wjsR1vRjpZIonsIcE4HGh5E+BJd1wCloIH67NR3AwVOGtYedyJ7 MNuthoyD/S5MAkMW91QX4hqvrBt4u0D/U0htDdMYXHRvf3BThs8/PbP+C3cKXgtG iz6hQ1edRve/TlZkp53EedYOsXhly/Zezud+ks0edABF1IxUiWIHNigQKiE4mnNE UuNlK/cxW0awLuI7nlsyNA5RQaLb45AfbbXc5WMSodL1wkPK+4Mybpdexx77bmsV aXwE+X4OR59DLjtflEZE4oObGDCivWm4Wqw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrjeekgdekjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgrshcu ofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuggftrf grthhtvghrnhepveevfeevieeihfetudekgeekleeigeffueekveduteeuffeiudevteei udekfeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 5 Jan 2023 11:10:25 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: Tal Shnaiderman Subject: [PATCH 0/3] fix mlx5 build with MinGW Date: Thu, 5 Jan 2023 17:10:17 +0100 Message-Id: <20230105161020.247780-1-thomas@monjalon.net> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 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 2 other patches are cleaning up mlx5 for Windows. The result is to make possible to compile mlx5 on Linux for Windows. Thomas Monjalon (3): eal/windows: fix pedantic build common/mlx5: get Windows dependency from standard variables net/mlx5: fix Windows build with MinGW GCC 12 doc/guides/platform/mlx5.rst | 12 ++- 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 | 11 ++- drivers/net/mlx5/windows/mlx5_os.c | 4 +- lib/eal/windows/include/pthread.h | 3 +- 7 files changed, 89 insertions(+), 73 deletions(-)