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 852EA45C11; Wed, 30 Oct 2024 08:08:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 27C2342FAF; Wed, 30 Oct 2024 08:08:07 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2070.outbound.protection.outlook.com [40.107.93.70]) by mails.dpdk.org (Postfix) with ESMTP id 35F38402EE for ; Wed, 30 Oct 2024 08:08:05 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kjQor02My+5Isue0AuRt7nJa4oiOYFyZteWk/i59MLjhWKKn9vE5WjCntrgMTPLf6KeCKcakGrLOntlYcTNUppVemsHiU6Grn42tExc3qrwhd8lKoZvdJp3ZpHB8DFf/O2DtcdJoquuQ7Y4neeMB2z4y0mPZDvruHwBLlhYltBmCg2T0owJnWH0boqMkO/hebaVrokiSswwJHqH6yfc9Gn29fME3WELI5076Kpc/Af2Ezrx3eDlT3b4fE50BBPxPzlfk0V2UEAizrIpwMidwn8CrEFGec9D5W4vlJzcyLBr+6vOWDMHP/YPxsPIikL9SjinXGSSY7hxik62xWVVHcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=cLBePzvoOtO3Wk8SvPkGMoS37f78r9e31kb0reAXpMA=; b=VH/PTcy7R9F2aZRhAk4E2hiwC1z57zBzw1w9/sT2IywnRiHQd1mloqGO/hlba7Q+nUK1d9Aclrwna1UWUsrjUEeLqE1wxtApLNVR/xQlCLqttsbsXJGlpYNeRSOXFOTBOb939S8xxE/Dnxe+oRE9MowFfq8ySikaPkJvlqhZelKvP89B9REfQszsuYFggektjz74hiQzlgky17Zi9wvbW+W1L/vpZwMHbaMI2vsBrRpRvIBqqZZ8cqTEgGO7YmHtZUZyoAIiDgHX/Xq2CnAjZgeEUoBt6abu3Aa7Ccr5mc8Mlf1y/Ag9NnI5GmHZlcmsg7RUJ+cu9+ICB7pHhOP8sA== 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=cLBePzvoOtO3Wk8SvPkGMoS37f78r9e31kb0reAXpMA=; b=Qgk6eYFLnNR26Q+SQOZ+931jsYHsIRy/d618vspEBOmv8qHtD5ZSgDeO4bKERC6e1ki1kXONfbENRKN3XSh37zkl7yQ7PaXsn64qpax1yFVrQZjMIB871FpQzIFCzxMFLM6x58PfH5jaPm52XHlk8UvdLqes5uHU0z+YjdpnPpiaW0NYSNpDiAb/CxjFw1XXZWcT/TN+lz2EFH/dGXaHKjeJ186LSejU+1AGkey2TLerVz98nA+iIpi60xZvi5El1j0zSWX8aDvkf8JOhnENKsFq+TpIT+BYAHwCw/cyH+W/SdQfmcFAX6UyUwtrpf3mBXgP3g3luZNTyv3L8PG+gQ== Received: from DM4PR12MB8452.namprd12.prod.outlook.com (2603:10b6:8:184::18) by SN7PR12MB7787.namprd12.prod.outlook.com (2603:10b6:806:347::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.32; Wed, 30 Oct 2024 07:07:58 +0000 Received: from DM4PR12MB8452.namprd12.prod.outlook.com ([fe80::b341:6309:cb1f:5b6a]) by DM4PR12MB8452.namprd12.prod.outlook.com ([fe80::b341:6309:cb1f:5b6a%4]) with mapi id 15.20.8093.027; Wed, 30 Oct 2024 07:07:58 +0000 From: Raslan Darawsheh To: Gregory Etelson , "dev@dpdk.org" CC: Maayan Kashani , Dariusz Sosnowski , Slava Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad Subject: Re: [PATCH] net/mlx5: fix PMD compilation in non-HWS setup Thread-Topic: [PATCH] net/mlx5: fix PMD compilation in non-HWS setup Thread-Index: AQHbKgdkSiyuricCdUGLS9JsMzbXNLKe4LHe Date: Wed, 30 Oct 2024 07:07:57 +0000 Message-ID: References: <20241029133415.583413-1-getelson@nvidia.com> In-Reply-To: <20241029133415.583413-1-getelson@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: 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: DM4PR12MB8452:EE_|SN7PR12MB7787:EE_ x-ms-office365-filtering-correlation-id: 2ae03f6a-9b1c-444c-5301-08dcf8b19573 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?6J+RCdZagEJtSrpN7IrS1D7f7eDdj5RU0vle8M9AY1odWkjmLYfUmgw8dW?= =?iso-8859-1?Q?kLoAl4Pnggp7AWN3hPI3N4gsjaeIzsEn4x+GpozYQKPp3GJItyJnFnsufQ?= =?iso-8859-1?Q?4sp7HoDtL3GorshV8VoZ0z7zNBkmiWGtkymR6RU4A6u4ylrlX4D1ZmdUiQ?= =?iso-8859-1?Q?b7Oc9n3H8JnpwUsLuBNML2P5H2a+zJ4qMVWseWkc5aNwx72rwrUojXnGRD?= =?iso-8859-1?Q?YwZDlwAgRdtP8H48r4dt7Xw/rzKh8+eDDrPJYzm5x76zz1yzIvx4nAX2rC?= =?iso-8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dC+wDq8JyI0Fyq/j2?= =?iso-8859-1?Q?NUP6iMmgQ/g+EozbfOCXhpa7mZ5sYpcR9yul9uc+bTaajXpVKesLo5kqOQ?= =?iso-8859-1?Q?gC7Zac+Brchhgo2A3u3azWB/TWFs6K7dMY3xFIPVN3/AoCpH2eKYxMm3MG?= =?iso-8859-1?Q?W1jojvkZqvzlpOvFpBoCTW7grXI2SUYlCxwh4jGR96ClmHF0LxpXiWgCpz?= =?iso-8859-1?Q?ksKtPKrYAA6NwIB0Kbo+0lqRRNUnoX1r0A/BMNhCZm5GnVNHF5t/A=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB8452.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?mSDi7HHT6cAFFcAOfro84sBQsF8h8/AcBHhOnF1VhsoIW0M64TSy3/+Fea?= =?iso-8859-1?Q?sQuvaP1lphIsnz0TXu9OHg8ASrd0BhbNZj94G1zQLgLAwvDFLdl/uLQ3qw?= =?iso-8859-1?Q?gaqJRCjlVpTDBWL33NxBmx8diSpAYr+4hPENG1XNs+VgAR5jhmBRYCKPw8?= =?iso-8859-1?Q?FaaDvLm79EFm9jMnYt7eCoC/7GiMU0Yoof7rgJNWHXBfdh7Mm1M2hwjdSQ?= =?iso-8859-1?Q?HfndlM/9PLtdlqSfsur5RPNaoZhZ1O8n1SWOqCN9Pm9mIvRPxoMF+Nks3H?= =?iso-8859-1?Q?K8nfGmKClTiUA1DqKqCgpsPJ2XVjiMs5BfkFlnkabIL6X5vRSTHTZaeHm2?= =?iso-8859-1?Q?eWRxufnATmsnhI7aogBw8asyEnm9AvAszvYouIwsvlKHL/c20AFglaw7MT?= =?iso-8859-1?Q?Qe40KbIYczYQAd67p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rm8?= =?iso-8859-1?Q?TB4o9cGj74KSB58/wWCJvIekenPev7TH7rqvMWsL/h58cJrH1SPiio0s1E?= =?iso-8859-1?Q?cliyJ5+6JDn6Mmv55dgRmayPIoBVLOudb/ApaJ1lXCOlmnLIFMZ3gcpEN5?= =?iso-8859-1?Q?setM2wfPYg/hQLFU9a7FAlcshWzZZ3xZhRwaxBdtOlCPw+OPQUwvB+Ysav?= =?iso-8859-1?Q?EEp+iekGxGkzSftnFqiA/+Qp04hFJcvH4MA9ybD6/CZSIqp9Bg/6rJC/X6?= =?iso-8859-1?Q?Mo74f/O/kuOIOMqkoX3nHuamkmFBDQVTyL9fh0yDf/ZA/Lzp8sdY8WbOxK?= =?iso-8859-1?Q?ooOr/ro5wLKYw=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB8452.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ae03f6a-9b1c-444c-5301-08dcf8b19573 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Oct 2024 07:07:57.9640 (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: ekh7FsH6UJsMykYyUBNi26tQJTu/i+XyNcVmX6Xm0Sqr47GQesujeks4ar3H1Zy5738c2X+vdCk34wnlurBGcA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB7787 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 Hi,=0A= =0A= From: Gregory Etelson =0A= Sent: Tuesday, October 29, 2024 3:34 PM=0A= To: dev@dpdk.org=0A= Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; Dariusz Sosnowski; S= lava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad=0A= Subject: [PATCH] net/mlx5: fix PMD compilation in non-HWS setup=0A= =0A= The PMD calls `mlx5_hw_ctx_validate()` function to differentiate=0A= between HWS and SWS run-time setups.=0A= =0A= The function was not defined if HWS functionality was not enabled=0A= during meson code configuration.=0A= =0A= The patch creates default weak mlx5_hw_ctx_validate symbol.=0A= =0A= Fixes: d3144c59ac98 ("net/mlx5: validate HWS context in meter operations")= =0A= =0A= Signed-off-by: Gregory Etelson =0A= =0A= Patch squashed into relevant commit in next-net-mlx,=0A= =0A= Kindest regards,=0A= Raslan Darawsheh=0A= =0A=