[v3,0/3] mlx5: fix Windows build with Linux MinGW
Message ID | 20230302132150.3330288-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 6087E41DB5; Thu, 2 Mar 2023 14:22:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5142140E2D; Thu, 2 Mar 2023 14:22:30 +0100 (CET) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mails.dpdk.org (Postfix) with ESMTP id 6203140E09 for <dev@dpdk.org>; Thu, 2 Mar 2023 14:22:29 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 8EC6B3200B4F; Thu, 2 Mar 2023 08:22:25 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 02 Mar 2023 08:22:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1677763345; x= 1677849745; bh=IagUx1zNNO4g6q99dm/Gd3iHwtElguVdQu7X3jUp8/Q=; b=k VReh8tGadql6sXyKa1XsG18G7744j3dWMn11h8ZS+7oMiguK6LAM24yZ/U4FZw3o KSLnEQITyFrkM9RyhjKeqeK6IvSGlpaMW+KV9HW5pStjXJNRRSm1BGRt9VMJG/gY 36oiZ2GNXxmBMD0lJVB4PeplElHv6Ju3BfQh3YFauEFImaax/ZdzkC8y4V3EK16u U+B6hvlZoLbRERChTsaRppMv+JyM+Msg0qD7lrTZj38HDwO5xjgxRdB2D4wp4L4r cIqmcvvC6POkuJc+yqZWFmdhJ7C99WR1BqanxO3mDgHJYOmzqnd9pZHHGdDvLBBe bId2U0uZvZzHr2Fbur4hw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type: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=fm1; t=1677763345; x= 1677849745; bh=IagUx1zNNO4g6q99dm/Gd3iHwtElguVdQu7X3jUp8/Q=; b=n Mnd09rVa3iCsx+2dFKszEUR4AHeNHz9t9AiMNLTEvVfXpMtplr9LADuBj3dFPs1C zqTim3VupNnbnYbhDxN1ZTccbtBRpiK0fhSW8vu/i5xBlMPO5MH9ojEL9fOAyFHV v95ehviBw/MyaTtyP2D76yDuCUs7ABa5xtu4wLZ5yP7pZ3m+fSWzBTBhMmANotCW ozZlJGE2gJ+t/HRYAO63uvJv0qNb7FNaKIM+bp09UakdXeTz0xng5DVNU5UxJOfa et/cRqxzLss8s+G6v5i5jfCvepfTlbAFjKq5ZyRDdqaTMRqucje0T2jqqGzhEgYa x1V9/VR297gC25MkgnlBA== X-ME-Sender: <xms:EKMAZNTWKP85RPPGdtQxNbjonNzOXKGhXFIXZMihubz8K8nZCt__pw> <xme:EKMAZGwMzIDWrM0WFdrdEwSFvrVj7qm_nGGZLaB9kmMX0-IeriTpJPYHF4vPcKOMS cjNRJrDJq-Oc-OfdQ> X-ME-Received: <xmr:EKMAZC2q-jz9treTc8Dbsw9Ugnlmo_76AsmaoUbAn1In1ct0mIroYlSV9Dvst04ISFSA-cnjKnxmY2TyMf_wyizxPelGxrw> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeljedggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedvjefhudeghedvtdeijeeigeetuedugfejueekieeltdfhteev keehhfeilefhtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: <xmx:EKMAZFBP_lcWfADxwmfnaoEV7RF_9VCpbr6jZTLmQGUCrUlI9vgwfQ> <xmx:EKMAZGhpjawUZqsCJBqbIOUd1ubZlY_Y3M_Yi-31b55I8fh-rygTaA> <xmx:EKMAZJrtr2GDSNmCkWysS83okKhXVlGbWve0cCM8HgqYaxzmgCVwYg> <xmx:EaMAZOL_zz_6TCEtSZdxEYolswG_gofyqdQ2HUxssIZJPau6vYdmfA> Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Mar 2023 08:22:24 -0500 (EST) From: Thomas Monjalon <thomas@monjalon.net> To: dev@dpdk.org Cc: Tal Shnaiderman <talshn@nvidia.com> Subject: [PATCH v3 0/3] mlx5: fix Windows build with Linux MinGW Date: Thu, 2 Mar 2023 14:21:47 +0100 Message-Id: <20230302132150.3330288-1-thomas@monjalon.net> X-Mailer: git-send-email 2.39.1 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 <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
March 2, 2023, 1:21 p.m. UTC
The result is to make possible to compile mlx5 on Linux for Windows. v2: improve mlx5 doc and remove weak attribute from mlx5 v3: avoid MinGW on Windows - EAL patch already applied Thomas Monjalon (3): 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 | 9 +- 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 +- 8 files changed, 131 insertions(+), 107 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_rxtx_vec_null.c