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 E4AEF41CC1; Fri, 17 Feb 2023 17:56:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8295F40F18; Fri, 17 Feb 2023 17:56:25 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id CE91040EE3 for ; Fri, 17 Feb 2023 17:56:23 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 7B9125C00E0; Fri, 17 Feb 2023 11:56:19 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 17 Feb 2023 11:56:19 -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=1676652979; x= 1676739379; bh=N6+mAcPCl6MmPZhZWq39ITlx6PW0RNmBQ6bh+uuQ/lo=; b=W guMq07yQVBmRS0cDdjpxlAE0FK5ORJlUsFM54HCkCyqTPM+UL1foKHPGv170n6kj Vmh6YoKhUbnnKsdmtqEq/NadCH3308NJkcaGdqZ5i3RBSZnaEKo2Bt9UXJjZ/aer Js9gQWGrk0jIZFqcQAoi0H8PQMtaeb+rbRQF4rXtQWkgU05TNy2FpcuC8y4CnNhZ 2kE3w6D03YxvL2WsPOpmAe9D+MN28ashK79InIBSeIYcdf8FlwautRnOniXTBaWb dTGGyJc/kavzyq3FJrrBqh66VcA1eBZxxJurNjOFRugkx+u+OTOHAITIKnrfaUQY 6+LndlItBViLQre4b2a6A== 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=1676652979; x= 1676739379; bh=N6+mAcPCl6MmPZhZWq39ITlx6PW0RNmBQ6bh+uuQ/lo=; b=G 35lGjC7VTdEwTTigeUWG6KIHCMBtD2q7+TDGE1AhQlXVjicLCHVraBevXsQgbi1J 0C4NUS0F0j2ojJ7X2NCAQKPyHPINtwezeouGEiXZ5fN4Ju8gdaEJF/Dhow0v3GDe FGISsCwz5aWSii12BbToRGRDGKTFq1lIUcisoXPMRYQMGacIYQjLiYpCwfp4BskS hiRshQdo3D8DgXsul7Jdc3qG4wr9dFBVhOmXjkIURidooY/ULEz3OkbPtsrsvrfU cBDFAP9rj+QyNbLvbPUaeJnjX2CNRajHNGcR9U9rq2pbB+EVHzZF6xZglEYwwTv8 LsQAM1vC8FSfFYstGlC7Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudeiledgleduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 17 Feb 2023 11:56:18 -0500 (EST) From: Thomas Monjalon To: Maxime Coquelin Cc: dev@dpdk.org, viacheslavo@nvidia.com Subject: Re: [PATCH] net/mlx5: fix build failure on Windows Date: Fri, 17 Feb 2023 17:56:16 +0100 Message-ID: <2659060.uZKlY2gecq@thomas> In-Reply-To: <20230217143717.203737-1-maxime.coquelin@redhat.com> References: <20230217143717.203737-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 17/02/2023 15:37, Maxime Coquelin: > __always_inline is not supported on Windows, let's use > __rte_always_inline instead. > > ..\drivers\net\mlx5/mlx5_hws_cnt.h:162:8: error: unknown type name '__always_inline' > > static __always_inline struct mlx5_hws_cnt_pool * > > ^ > > ..\drivers\net\mlx5/mlx5_hws_cnt.h:165:9: error: incompatible pointer types returning 'struct mlx5_hws_cnt_pool *' from a function with result type 'int *' [-Werror,-Wincompatible-pointer-types] > > return cpool->cfg.host_cpool ? cpool->cfg.host_cpool : cpool; > > Fixes: 13ea6bdcc7ee ("net/mlx5: support counters in cross port shared mode") > > Signed-off-by: Maxime Coquelin Applied, thanks.