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 E3163A00C2; Sun, 30 Oct 2022 10:16:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D86424282E; Sun, 30 Oct 2022 10:16:41 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2058.outbound.protection.outlook.com [40.107.93.58]) by mails.dpdk.org (Postfix) with ESMTP id 355C34282E for ; Sun, 30 Oct 2022 10:16:40 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fXDzx32NVtPW3G5/bTUZY0ZaIVakefnVrEpShg0k3Bnd5yK43KQwz7LGA0AOxKWCbY+awjmsoBifF2ZclLPyzhhRuL1/0LiEmt3V7lpeT31YsVgl6yl5GIZ2ccqSOb3BASFjB+2ZUOE08RD4qF7eltNxZW1hsTyOdU0BXncIEWIEcN2B39C+NjILkXHW/pybmZCs0tdIK4Q0O/9r5vhzfHw7iYd9AIsRPBBgouw4x25qj+DRobxf1xSxzxJAJhehuT3kXYEdZr983vxiYpG7qFzTaNC0etJAhKdWCXnBE3JQht3pSczNxBOsJsPulQgFsiELXvkiMPxlF4p5+OMB4A== 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=PaOmaY56o7lEmByHCFyoSA/IYWY3yzDGXGvWJF1Q/dU=; b=A2+Ja9e1dACXXbaUyKr3UVqPgzdd/r39PAPtOgkLfZSpfzfucMz3+K/xQ/zRKX499FiOtXu4DioCj2Rq3ah+zOq3sc+kZac+0gDNzpYMx+4ryNpLpapEklOwnZEtDsJEwDIou8PvoAV3qxHdS9He19ZMbpzbudv/znJJ+kjksPDopAWJZRTltru8rLSX575hT+nohtwSKX54fVlI1tmZnlriBkn67GcMgJ4cT5vN7YTcqwX/0lFwdcpeMmwCdR9wVDLJbEAlHQC1pxSqj8DHh9TG85/Ea/o6d1khVF7HlPzP+vV44pTJ69TkDO8praMi19ruh3PktPCUa8YbNGBenA== 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=PaOmaY56o7lEmByHCFyoSA/IYWY3yzDGXGvWJF1Q/dU=; b=JXb9QhmytriSsk01X32807WChiDG71Y08bA4QCs4pByL+sw0wdnC9TWV15n3O1MBDyzDdZTQ6kKsUKrBQkAQRxI/hYifOVHwXVmOb2JEMU6O94osfCzJTWwOfRGlpusz79rWclJ1ReixosiKaD47UbkJaj7UnnasrKpqotko04EYnwFxM11ckUygY9Zleex+l1ec+mRVey3dQWwyzYLLVh2CuQwNMIIVyH9B6qkoQudTLRzZw1CzioqS5SC4BICbU2yw0e0uNcgyxpm2Zt3SvZ7/bBUZ8H14vwcorAVGo7CXykAjs8EAJZiQBgtrd+hSpMEiF1Rq3S2a0kHGjgk9Zg== Received: from DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39e::8) by DM4PR12MB6181.namprd12.prod.outlook.com (2603:10b6:8:a9::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.18; Sun, 30 Oct 2022 09:16:39 +0000 Received: from DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::2d6:9f4e:4ff7:c45e]) by DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::2d6:9f4e:4ff7:c45e%8]) with mapi id 15.20.5769.018; Sun, 30 Oct 2022 09:16:39 +0000 From: Matan Azrad To: "NBU-Contact-Thomas Monjalon (EXTERNAL)" , "dev@dpdk.org" CC: Alex Vesker , "ferruh.yigit@amd.com" , "andrew.rybchenko@oktetlabs.ru" , Raslan Darawsheh , "david.marchand@redhat.com" , Slava Ovsiienko Subject: RE: [PATCH v2 2/2] common/mlx5: move Meson config initialization and check Thread-Topic: [PATCH v2 2/2] common/mlx5: move Meson config initialization and check Thread-Index: AQHY7Dl9ZhLj8m595ECgacH+63j1Wq4mqCKw Date: Sun, 30 Oct 2022 09:16:38 +0000 Message-ID: References: <20221030082722.1333530-1-thomas@monjalon.net> <20221030082722.1333530-3-thomas@monjalon.net> In-Reply-To: <20221030082722.1333530-3-thomas@monjalon.net> 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: DM4PR12MB5389:EE_|DM4PR12MB6181:EE_ x-ms-office365-filtering-correlation-id: 14d32183-0f7a-4207-28b3-08daba577387 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: cDKLSL153niOTofsgQHg3dkMDxS0uLy7E/8eYeL0eRL0NBUlkxeyAvezT10tRGUyPBROFe+kfVAJZC1tYg13xg+dsGVT95A0YcZPDsIqaCo955GKZwuPeFJcYcHTdA4ZIJpR/H014DWnCe8/4uWAblVflq1EN5M3u2W+eOGfZO9WQbk7yyhO37kzkumWHUmb1KHgOPx9H0lI3FM9G5XQdo5lLHgUCsphpZ4p7qmd+0ThhbYiL5o1w6uxJocSf0aZfGZdlR+zuoKakSA/eeOFop3yZvp5DCDVfkPYasC9rPFYHpAssj2Odv2fI7+g011wE1q6Xs/MnVunRhQaweV/2W6jAkRZFslvLludtUiQH+KU3Bp0UUlgLTwl0M3xqVzo8Alj/ntD7qLGrwABkmvdft955Kp08yWBOhU5+wgRON9v2RV2CEUmzt2VQ0ROpPoGUqxo+pZFMTpUFezSYLYKKXtaKZDlb+FTv4BqZUUzwKjF1VRyYTxlC7jXSQFMkRZuUxJGQLq8r0MjWp3oHEWzrqVgzU8ku44a3pTz13w6eHnnsUpvH/fNYir/4VCKKIctvV8dzxFpuw6Ck2mrnVY5jFYrVVLNe/FqS7s5Y8MSyxneo1ddbtTfW+Ugg4Z9+uqi0CJGdJZ+2SJt/ZUXzG93/R8LS1mDWKal6bnJyU0vHhC6trlGalGTcI9y0k2RkF1HyjYS/Rx395YnBof3GQQ5dkb0rqfxWDSZG2dFHUYAJlDXYGsHb1ehSRUq2zjv7zFaRWNKA8fJFkW1erygPu9/AQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5389.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(376002)(136003)(39860400002)(396003)(366004)(346002)(451199015)(54906003)(316002)(110136005)(66946007)(4326008)(76116006)(64756008)(66556008)(66476007)(66446008)(6506007)(5660300002)(186003)(38070700005)(122000001)(71200400001)(2906002)(33656002)(38100700002)(55016003)(52536014)(8676002)(7696005)(86362001)(8936002)(41300700001)(9686003)(107886003)(4744005)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?gXq8A7lcBoazb5DHE2rUvOQxuPplmRJr+zaKGLo6PjehTInPFOknLS8KI7Ay?= =?us-ascii?Q?v3QS9EH9N1CF1LnE1JQUNnAQnXYM5hrwlkZSJHfykkcZyb8r9lcu4nD7ezcO?= =?us-ascii?Q?VJ6sBtEBaMDsvy19evaZkjeDCgb7YMa0qUjSFHNCjxTLmC4MCZOl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0g3T4UbDU8vRxqtSTXLMx46aT/?= =?us-ascii?Q?xyipbfDwYM4TW9S166yVKw9CLIQV7/TBI7RoekkkB2tCWo5u7TjTHX4pRIx6?= =?us-ascii?Q?6m18gMW9WYYKnSAcV1nOIepeM2BXyzNHr9pChAkDrukFxr1zHpxbOPnDon/Z?= =?us-ascii?Q?EZbtsKN6Zmi3/uZCRU3KNxMfBzIvQ2A8d33s9BvdsDjzr3uvu29c69G7k2Ot?= =?us-ascii?Q?QrkxxhOFre9xKoEa9VlWWjbgAidzSQ3t9hs+lDmXufvCI4r3jTEkVl1o3tYw?= =?us-ascii?Q?sRylZXP7JzGA69d3iPlzgiZSK2jBbZY8R3mgquH3bMNf/6Mhfv6/5CVuah5+?= =?us-ascii?Q?h2S+p0p/esNNEe7kznwWic6WIuwjoumFxV38VbDJyXTdFr9+lVooRRMK2Gzr?= =?us-ascii?Q?KpeBvrHgQjy0ik83twdLO45gNCQul9ovBDYj+HdDz8vgHQRN4p4YidK7yAUJ?= =?us-ascii?Q?PpJZwCi8V7FYzk//ReMDDdNQ2AyBJ+t2V9DZ0nCNOx8L5PU6audeK1GpXHIR?= =?us-ascii?Q?GOdTYVHdKSQTTYBH8nFBn6lLgac0STtVrXTnWqu6nP9mr+amjvm80gw7qbFa?= =?us-ascii?Q?jIhB4+dTRXtz6rvhZpaadmhue5MTN3bq/BiqT3Hecr66?= 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: DM4PR12MB5389.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 14d32183-0f7a-4207-28b3-08daba577387 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Oct 2022 09:16:38.9344 (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: uTbPp4grEYyM/ZBCfAYAj4ErgKDq2g+zDsN0iLKvSKWzx/Kpsen84YqmRyGAdw8S1OMjVt//5GkKPIlugve+fg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6181 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 variable mlx5_config may be used by other mlx5 drivers and should be > always initialized. > By moving its initialization (with configuration file generation), it is = made > consistent for Linux and Windows builds. >=20 > And the check of mlx5_config in net/mlx5 is moved at the top of > net/mlx5/hws/meson.build so HWS requirements are in the right context. >=20 > Signed-off-by: Thomas Monjalon > Tested-by: Andrew Rybchenko Acked-by: Matan Azrad