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 78B56425C8; Mon, 18 Sep 2023 03:39:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 468F140263; Mon, 18 Sep 2023 03:39:36 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2104.outbound.protection.outlook.com [40.107.102.104]) by mails.dpdk.org (Postfix) with ESMTP id 1BD1840261 for ; Mon, 18 Sep 2023 03:39:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gM4OVEXoxxxWcsiV4BRx9ACCdonxp/FaKTFSC8/lR0GileRCzNIwlmRLASzYDX2A2+X5zBfHPFPs9PV1PvZQ5ltiAwdBtynW8gQMboCUWQ9qXEDtZyM0YldufQosLcfGaUpdjOp48ucx8KXJZNtn4RQgh99gA+D3/jv0849yOewfRRjqao5cDKKGiT0ugQSOEYSDQkflArHCPgE3qMq/YcTyMGZfy5fFhEoUSqcB/JCFSRWkxtRxbcN7ID9nCq7v6MYFqNvnpk8Cb+8IhNyjkdaxtMqwRWGb2WqfCubhJeRNaigJ7JiMYwOifSQ8XDWLb6t6Jz54nZVu8Ngm4+yLaQ== 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=VZHV1koWzpjjuelNX2pzSrhiHu4U6x0mVa0Rqezd5nA=; b=gxDcBNhNpkpahVBtGa2FNUoNYfcllIdwyiugngW+uyEMFAzwKaWuN3u/BPM7hAz7OhFFxOP9MJe/SEJfPihUIsyQjnEWoMUnHwhBZBdKn/GhDkdYp0frUBLDqBuC94Y09vvNr+RUu6ZO2zULqxAJMnKWw7la3jckg7/xP4bbNQtAY3FsYHg2XSHIEy1TlqKCwgP1IQ1DZJ41FwF4hFqGCqF/fv5vyBgUYPdJLVcemtbkoyYmZm91wZJ3q8QNgUguM3+l4Gp2R4swWL6FOCZXllO7zBG5WT64Iq2/AJ8fq3hsUD+LAs2XDe1JLCW8QWAuaXeCY0Xf4h2YYrxtmzNOCw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VZHV1koWzpjjuelNX2pzSrhiHu4U6x0mVa0Rqezd5nA=; b=kKJf1bxu4pLkt8/DCnTF2e9m5V7FbcHMbpsu/1O863rLMC7FntUg74FEsDNNqKeFHNYYtfk3fKCq/WMqoyt9UBpYqqAv6KKcXMHLHZIbo/Aizi0pu9HMP86WHvQvF/x7GKDwPbMjQ/Kjy+AhHOdiTczPGsIIxQFbwFOay0Ufo6k= Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by CH3PR13MB6363.namprd13.prod.outlook.com (2603:10b6:610:1a5::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.24; Mon, 18 Sep 2023 01:39:30 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7a1c:2887:348a:84bd]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::7a1c:2887:348a:84bd%6]) with mapi id 15.20.6792.026; Mon, 18 Sep 2023 01:39:30 +0000 From: Chaoyong He To: Ferruh Yigit , "dev@dpdk.org" CC: oss-drivers Subject: RE: [PATCH v3 12/27] net/nfp: refact the hwinfo module Thread-Topic: [PATCH v3 12/27] net/nfp: refact the hwinfo module Thread-Index: AQHZ57VV47bLJvcX80WiynRU28rxobAb5oEAgAPpKPA= Date: Mon, 18 Sep 2023 01:39:30 +0000 Message-ID: References: <20230830021457.2064750-1-chaoyong.he@corigine.com> <20230915091551.1459606-1-chaoyong.he@corigine.com> <20230915091551.1459606-13-chaoyong.he@corigine.com> <3d0bf9ad-2564-4e96-bb6c-f735241b425d@amd.com> In-Reply-To: <3d0bf9ad-2564-4e96-bb6c-f735241b425d@amd.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=corigine.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR13MB5545:EE_|CH3PR13MB6363:EE_ x-ms-office365-filtering-correlation-id: 834d084b-224d-4d4a-ccc8-08dbb7e81a5f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AdnVi6J5h6d2+tLXiy0tPJjDWI/aXcJml5x7gv5mcRVUgN3r+meceHbyBhY1QFtDd/5ACSmPNlrKor651m3ToyNNqXGesu4kw1sETDB0ygGN8c2SME/1eQ4dWQatXrHJ4iYSDOU+egH6cuoxLwKRdzqD2vwpx0nYkB8Axxt5cgcIg16EEatijWtIrDNmCi8mq5cnuFkF8ukU8yz6trZ+qM0307O+n7dvjmwI2taYHwmbdSfcj3u6jFsS4NT4cSxxOvf20tZTaZgGoKJjS2cuPAkPTKSpkk9jYO+7JhajRmYtsvsijmhvtEQxVtiwEM7mnM3noUJC5tipoSvH62e/cydhGe4GrYmMNH5xWj7Ay2Bf5UMi2UiUfcWSKEDOsYpHDya0cVEU0wmngc+nlm9PS2QRUp41pvUGymngF/Fs5EbQ4GOumy3ufLBLzZmKtXSTgz35CNZf2NFyDMqkjbEvri97KkL8PbUTSMkBuBVxCOyf7cnF4Cwhc/neqj63GLriJ1aGwlFggyH3fe62ObrKBT5HSMJaJPp0P05sOZbq1obvFhh7/YxWHC22QJ116AyuM0pT7EQH2r4YjV7ZJGJ+Vq5QsdCJif6mI7k5LZ4ZwdGndMXI3C+syasd1q7qAMrkycus1/skdaFFyM9dLcbVihuRXgKxTA6uZY/nK959+HU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(366004)(136003)(39830400003)(396003)(346002)(1800799009)(451199024)(186009)(55016003)(2906002)(8676002)(8936002)(4326008)(44832011)(52536014)(5660300002)(41300700001)(66446008)(64756008)(66476007)(66556008)(76116006)(316002)(110136005)(107886003)(66946007)(478600001)(9686003)(7696005)(122000001)(6506007)(26005)(71200400001)(83380400001)(53546011)(38070700005)(38100700002)(86362001)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YlhyV3l3aEV3TDZnUklYNFZaT1A2Z3FEWmltUmE5ZU9EZlg0ckFnTUJ1TTFP?= =?utf-8?B?aEJFSlB0ektVUHJncDl4bVJROHZtcHkzM29HL2hUR2w0S2J3ODgxNGJxQU5M?= =?utf-8?B?bjJ0SzJtU0tLS0RDcy9ucjdiOTZRelNmRU1xQlVqUTVMWUdTVWZCMTdqbWUz?= =?utf-8?B?Z0V5OWErUjhEbEdQTHNYcEVDQjNRcXplU2V5NWlYYWJGWDBhR0dJZ2YvTVZR?= =?utf-8?B?RnVRQm9xQWNIRkxNMkc5dVRMWWYxeExPR1lnaWV3NU90NnJjWk45VFNNQXNL?= =?utf-8?B?ZndKVUpxRWlXSXd5akREdUY4UTN1YmpZTVZYTEw2clBGbzZXeGpOOE5TRGd2?= =?utf-8?B?MlphdVRvc0NBSVhnbE9rZG5EeVRPeFJBVjRu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ME-Version: 1.0 X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 834d084b-224d-4d4a-ccc8-08dbb7e81a5f X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2023 01:39:30.5585 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Xm/6gPo8bt3LT0FXT1hf//pb3uE9RUq2VVGaYpzKN7isGDSBhXPn/3AzOp9njrf0hIdvsw9H2/EMjEItXhq5sE0qLtXVCRQcwfr+HflIMhI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR13MB6363 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogRmVycnVoIFlpZ2l0IDxm ZXJydWgueWlnaXRAYW1kLmNvbT4NCj4gU2VudDogRnJpZGF5LCBTZXB0ZW1iZXIgMTUsIDIwMjMg OTo0NiBQTQ0KPiBUbzogQ2hhb3lvbmcgSGUgPGNoYW95b25nLmhlQGNvcmlnaW5lLmNvbT47IGRl dkBkcGRrLm9yZw0KPiBDYzogb3NzLWRyaXZlcnMgPG9zcy1kcml2ZXJzQGNvcmlnaW5lLmNvbT47 IE5pa2xhcyBTb2Rlcmx1bmQNCj4gPG5pa2xhcy5zb2Rlcmx1bmRAY29yaWdpbmUuY29tPg0KPiBT dWJqZWN0OiBSZTogW1BBVENIIHYzIDEyLzI3XSBuZXQvbmZwOiByZWZhY3QgdGhlIGh3aW5m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