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 70D1641CD2; Sat, 18 Feb 2023 21:56:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB44C40DDB; Sat, 18 Feb 2023 21:56:37 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2047.outbound.protection.outlook.com [40.107.94.47]) by mails.dpdk.org (Postfix) with ESMTP id 5585E40223 for ; Sat, 18 Feb 2023 21:56:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eCkmpj/FnTRcTTKo1kA1BY80YDOzdDGHxzvDkOsNXooMWaDlQznxbCKWTMyXTaYf40aZO/NubiOyt6m+pelN8Mc5MoNFu12smgcvY+OEjWF9ZIEQ8YFslQ254X4eFY/f8iNuVhclmxZPhyO6s1FONjzwrahBTYw47uNRVM04RzqFoH+ZUMfQYsLtj1ihiDjBX7ZZi92+QmRBgbb95gmkdgK1pJe8m/E90MOnAjtW3K5mAkx0YBCMmjactgQCrEJ7DKdAdqNg58rUU49t/TgbTiKEYFDhJc9fVrMpsaRrntG/C86PtlF84v4Yhirfv5Z2Wr24GdpbzfcW6EDRfyJ9yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=llFgsPhqHrWv2m/EUNDhJe8wChUZ1bZLKFVfd0rkU30=; b=WejPejHwGB+cJDJUL2ETANS2O2Jtlyf2PvCFmyEwG8X7HhA3Fnk9sZyl7yxoMfMVyTkAMw2LqS12Mwg0IoLG6GQt2yL8USG8MVVwqFjC5+8jISxLrFHUbexfmXn1RhhqackTZBtRCmvfyg39JFKy+SWJ2KuGL/yqqYWH2gKzGTDQ57Wn+8HJ0tsD3hnGaKjN7QmwTan7gvnRpKqqMH3CnQIx8CJtfMsUS0ro1Xre781lZkz3MGKdIOiKrlhvLpdpn3VSUwY/pki7Dx7Le/AFgIh1hbt6iikFw8bI4mGIPhOxuHWEB1R7RYyIxgPCtsWn6O4Lh0WeRAcDSedD5AAIhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=llFgsPhqHrWv2m/EUNDhJe8wChUZ1bZLKFVfd0rkU30=; b=cSf0+darJ040fcZ6jK9FQBs02KFXjKuW5YjMX7QNzBcKB16cNAdyq7u90lbAIHo2Ynz8BeiemyPY9o2T3U36Q4Oi6ASP1xzZmiFgSq9aoiT3IebZrzQ3FVeaoO8inLifmZYQ+0bIrgOWfIkR2Ry+6FhTED2dvULWoy9MbXAbqA7kLee6NBPgPu9uPkD5LRVp8f2ByhyD1EfIJ///d3XqUl/D/roHJqBF3zxacwOmtOiyk2x9WwU8VdgM52eeWoE7bCJ/NAHnvh4YgDp+SzcmGK+B/qK+rUkzCSuCoLT5bAu+6cplFjQO93YhE/zSVGsSXdTQuMEsDKih1QoWcJWSJw== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by IA0PR12MB8328.namprd12.prod.outlook.com (2603:10b6:208:3dd::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.18; Sat, 18 Feb 2023 20:56:31 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2a72:9d50:8f0d:a925]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::2a72:9d50:8f0d:a925%5]) with mapi id 15.20.6111.017; Sat, 18 Feb 2023 20:56:30 +0000 From: Slava Ovsiienko To: Maxime Coquelin , "dev@dpdk.org" , "NBU-Contact-Thomas Monjalon (EXTERNAL)" Subject: RE: [PATCH] net/mlx5: fix build failure on Windows Thread-Topic: [PATCH] net/mlx5: fix build failure on Windows Thread-Index: AQHZQt1bP5Pr56SUV0qQpVUXMkSTv67VMPRw Date: Sat, 18 Feb 2023 20:56:30 +0000 Message-ID: References: <20230217143717.203737-1-maxime.coquelin@redhat.com> In-Reply-To: <20230217143717.203737-1-maxime.coquelin@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR12MB3753:EE_|IA0PR12MB8328:EE_ x-ms-office365-filtering-correlation-id: 0e2a81fa-b843-4289-ae83-08db11f29c7b x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 09rBaWpkGjI9Nf5Lr10x2cUGyfsxxFX0LozYdsdU13sDsDOPxHcJTx2v8uAcuZGM1jlcQ9gwHFgYTRIRwceQeD1FBPDYo21PnX+3kmE1s/qWQyCx6sxLQDroIGr9TjcrGIW7mdsdLYdIWE2iqs0xxXkd6P+hPvvfkwOUeCwzwpaCWCEOFwYlb1/cysp4BXxwwc3vU+c2aZuVrcE91s0nyBuuGj5h+ZbLnp7QPabMSgIL0qnJwvMPPbhVX9Bb8oLs2uMLMQHKkvKpyCiksGQW7f3HQK0Wddfe/rjNzLxaxkkJtb+gbLxX4H93mpt5U+H9HzxHv5bN7Jn4W1M2WtPHVqKGIFNfKj/y+Q2xs7ptUwGK+CT+3LGyzQxxYeYj73unZG8XoukVdbPCMDLysHnzqT+Lm+KU5S4+pAG2UpmNR1ROTj82ort3G23T9etB/jTzRipNNdU2mCWUUPi1u0N0u2bY6h8cwcTxK/zbP4nzjVWF5BzzH/zReSmitSg1mSvUGmfulwtP+lo5OcKsTTt2KaTrnlqFcu+QiYH7hSMpS5EPwhmQvK2HmUW7qrtm/OxRWVEgbDOOEVM23w1QL5w5Q7YwT3v58X4k3Ckbw2+06SksaTFF/7UZRMSBz4up9MDWcYSjuKaK55GnqdM20r0Pobn49uGeAvzpCOK7kPNK7oSzJo8JomQ6WgWUoDfqyLWhpYEqpRp1OMKzFBbTl2QCFw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(396003)(39860400002)(136003)(366004)(376002)(346002)(451199018)(122000001)(38070700005)(38100700002)(86362001)(26005)(186003)(33656002)(53546011)(6506007)(83380400001)(55016003)(9686003)(41300700001)(8936002)(66946007)(76116006)(52536014)(66476007)(66446008)(64756008)(66556008)(8676002)(2906002)(5660300002)(4744005)(7696005)(71200400001)(478600001)(110136005)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7LL6IKqCUBsVw1goz6PnPmC6+KA7d0dl2TZ20EvON2NXhZHzSpgmgw23V669?= =?us-ascii?Q?s3V8d1FrXN7SsJxSlyAHaBUFKJaf9TqqXvzMAzf8Ww33Q98K7RwLMuWrVh0j?= =?us-ascii?Q?HToRo5RNg+z7JmWe1RzYgYNRXcfrd2BasQ3NSGXH9QjrHhU7sw1s7NETNQMy?= =?us-ascii?Q?6WJLWxadP1FUrKgbJutXBow9S7SBTyXVN+uPjQ86Eg+5WmGUlbPW+LhFUySp?= =?us-ascii?Q?HSvDmgaiO7mGds6Gv8WgE2Xt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?dwftu3+6Diij5KRXzvu73ndF/yaT/UEVBFK1KWF4Iz6Mkvxw41o3QokRVVn5?= =?us-ascii?Q?fuJPggOqT/NcXpi/QPs0TiBgPU0e9W0gx5hmL7QwPtgct7/XGfnSvaYGyK+P?= =?us-ascii?Q?OwFjStBiqExEiansKoA/esGuDOB88+7c6QdNaOl1eqJlv0GkiNdm5ov2HRGi?= =?us-ascii?Q?4anJV/RtXGanan48UetWpYIIlV7I7AwhjiX7xQL7JNf/2FfgjM11eUgkBUR+?= =?us-ascii?Q?CZUgioPqBpkhmOpnpWXW/oVqbfQilzhHcoaldToFlS+fnVAM5B53cpQ7JPK4?= =?us-ascii?Q?xbQccFSm7MGolN/D5yAslLyqIuvION7IYFvn+1Mo6W6f/qde3fhaXCXplDEp?= =?us-ascii?Q?IkdWVhxASjSBqXrnaSibaFSLDVm+6ujPNNHSS8GQiWCJ9c/rSI5CcttwRZbc?= =?us-ascii?Q?vM10+X5yzMEC1pWw8fxX//J578cQR0tw0oM4iYLI?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e2a81fa-b843-4289-ae83-08db11f29c7b X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2023 20:56:30.7853 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xs37LT1/pLoYU3XuJ1UwBDR2bLvQWVWM1bmTldqQEpI9Yacrblo3qywByC/E0SRWdEhSMuDC8k7M9NN9BlAcIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB8328 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 > -----Original Message----- > From: Maxime Coquelin > Sent: Friday, February 17, 2023 4:37 PM > To: dev@dpdk.org; Slava Ovsiienko ; NBU-Contact- > Thomas Monjalon (EXTERNAL) > Cc: Maxime Coquelin > Subject: [PATCH] net/mlx5: fix build failure on Windows >=20 > __always_inline is not supported on Windows, let's use __rte_always_inlin= e > instead. >=20 > ..\drivers\net\mlx5/mlx5_hws_cnt.h:162:8: error: unknown type name > '__always_inline' >=20 > static __always_inline struct mlx5_hws_cnt_pool * >=20 > ^ >=20 > ..\drivers\net\mlx5/mlx5_hws_cnt.h:165:9: error: incompatible pointer typ= es > returning 'struct mlx5_hws_cnt_pool *' from a function with result type '= int *' [- > Werror,-Wincompatible-pointer-types] >=20 > return cpool->cfg.host_cpool ? cpool->cfg.host_cpool : cpool; >=20 > Fixes: 13ea6bdcc7ee ("net/mlx5: support counters in cross port shared mod= e") >=20 > Signed-off-by: Maxime Coquelin Acked-by: Viacheslav Ovsiienko Thank you for the fix, With best regards, Slava