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 B540141D73; Thu, 2 Mar 2023 13:08:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E0C584114B; Thu, 2 Mar 2023 13:08:55 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 4B5004114B for ; Thu, 2 Mar 2023 13:08:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677758933; x=1709294933; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=/wkBgRfFzCwzPRIhgJ1sGKbPjdxeU0A+yVxiBVpc2Mw=; b=jSehwN/gZQM1OTExcEoVEutHdtw2wNtbYjWtOCYzpVVz9C9L189m/jfn LmtyFeClxkgJrKy/JEU2+5tvbX0Xm9gYGo9g7M3dgvkjPpZLOsNiqI1fX 6z2x1z8FHe7FJwTZEzY14MuqbFV+UEo9imK72L1XJTP+6ItdYvDVFdsKr ZDlwGphiMhEXGea3LwBrxK8Dr/ElZekrn6buJJma3XtBLh52jnP2ST0uE CVA5Z1Y47O0lyTvDTV2CFWiEswFjQ+trq9d0flKCOIgFXkLdn4DQSTfwe Ohz2feY0dB6mO87GwBM/Y62nKONEy7LpIUigu5ZfiZnXndK5T4bVRekVh w==; X-IronPort-AV: E=McAfee;i="6500,9779,10636"; a="332184747" X-IronPort-AV: E=Sophos;i="5.98,227,1673942400"; d="scan'208";a="332184747" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Mar 2023 04:08:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10636"; a="705234769" X-IronPort-AV: E=Sophos;i="5.98,227,1673942400"; d="scan'208";a="705234769" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga008.jf.intel.com with ESMTP; 02 Mar 2023 04:08:51 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Thu, 2 Mar 2023 04:08:51 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Thu, 2 Mar 2023 04:08:51 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.173) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Thu, 2 Mar 2023 04:08:51 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i8BH1Rl8n/1xD3J9S1OJoV/FYqMHEbO8C3ZXQBehkw1fD4BEDrCoPEMktXPsNwgNI3VeOcQd/wvyL3Mhl45ldwpeBKfgKS32QQX/uLfilO3gYPhkHnLOsE9o0RE6U6Gk9t1CeTxKuJv5ci4eR2FI1kOP+dg8CG/mpOW0CavcsVhHr3l8ovuoQHj5KJzX2Vh8g0AwfzqSrpzqYx3+Xj1URgtpsmzBToIZTMTsFxXgy8fZuoBAFc1/ZcoQfrltGCEBEVm345inJ4ViC/iYAwHTEZxq5lMvB5pZzlBI0XxkdN09rZ2tazgErFiCwkcbZrpgzNSHe3LJ72estKMZy14GIg== 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=/wkBgRfFzCwzPRIhgJ1sGKbPjdxeU0A+yVxiBVpc2Mw=; b=V+4PrGmCBkBwtZrC/rSmtMEkqRCS41foXuzaJZEuvm2IeJtP9gedRO2cw0wy4wP0iZEQvy60O7XoCq3otMbzDggnLimxfym+Sn4MAUS2+4QsVLp/P0VPK3/H2F0/62lj/liotdvQwfuCtauK0yelhPIJMhs5Y8wtvyJYMeJuIOTc/ihTbRqi33oL+DBWJSPvUif4D5NVVOCAnA8jc23ZkcXCW1EfVeuCefB4G5CsxVGiJR/tqNP+kG/GROtA2/hp23fQ4RrjEsOeZf/ui70UR8S6ailpinipCNhU0sT1R6eGJJnj3/pQ2hfzUJpEWJrr8ZsNc2oiPgD4ZYzg5mpPvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from LV2PR11MB5997.namprd11.prod.outlook.com (2603:10b6:408:17f::10) by PH0PR11MB4981.namprd11.prod.outlook.com (2603:10b6:510:39::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.18; Thu, 2 Mar 2023 12:08:49 +0000 Received: from LV2PR11MB5997.namprd11.prod.outlook.com ([fe80::7911:8af:3732:51f3]) by LV2PR11MB5997.namprd11.prod.outlook.com ([fe80::7911:8af:3732:51f3%3]) with mapi id 15.20.6134.027; Thu, 2 Mar 2023 12:08:49 +0000 From: "Xing, Beilei" To: Ferruh Yigit , "Liu, Mingxia" , "dev@dpdk.org" , "Zhang, Yuying" Subject: RE: [PATCH v8 01/21] net/cpfl: support device initialization Thread-Topic: [PATCH v8 01/21] net/cpfl: support device initialization Thread-Index: AQHZTK2aQXU6eTh6ZEykcvfHQJZty67nOhYAgAAQnFA= Date: Thu, 2 Mar 2023 12:08:49 +0000 Message-ID: References: <20230216003010.3439881-1-mingxia.liu@intel.com> <20230302103527.931071-1-mingxia.liu@intel.com> <20230302103527.931071-2-mingxia.liu@intel.com> <767aff7a-a46d-5140-cce6-7379c4711c59@amd.com> In-Reply-To: <767aff7a-a46d-5140-cce6-7379c4711c59@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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: LV2PR11MB5997:EE_|PH0PR11MB4981:EE_ x-ms-office365-filtering-correlation-id: 94fc5827-f251-4e0c-02c2-08db1b16e1d6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CMEdVtW0mun6c3YPqNnApAd5kOOhYZEoIYTgtNLsfWpg5hR7257DY5nOyPMVvORYrRRR6lOOQK4pnJfE0BLU3LMwBpAOb5T0HPv70fr3d6DCoaf7ErIqm0nMVA7Upb+wZEBafWa6ktJtgHWvYKGlZ2RLL/HnN3HCUxHJQebnza3900h1842h+LbSlhfxXGFSkC02ukxAbehJXX58VhYQRvEy96WdMVKnf92DqvxydJ5l3O3p1Vf47hncLaorDAB3fh4YBZjXym/COlO+U5R3Vn8K9syrvuetgdrQzOz4yXaztZl5mXp/sxj/O2bBMCq7BiBFRWc7tTZvLwpBAbtUdUQI7LdEewpSOj3CZuv3OKNDZ9poSFXVnt80nkAVDHOi659RT8A7E8433oNRY0dju05n5gbByUU2WZMidhWxoNvvfyesrySCVWC+KC+UmLAiE/rQLCF3KDZ/SFKjDYgfgG3VjTKRMcHbw9dH4MRkqftUVoDH0+k0MbaFKQXepOvEXItZKBAvoP81jdXvblTLHnguR6oCKROEEm95gbOgsOo9vy3im7Cpz7ooP3BhPz8CbDAj0Dt9Gx0PwkOYmMtHqXm+GMbWH3S/5jdiG7muzWFQ5IPl7Z5HoIQbU61naFu/dVrR0y0ujoK/+9IcpJxUTMiqQVPzeVVF+bF529V/RdgzylsXhxj0sV96hAqGZUmSoAsQ+MknXvTFOHKeHq+hIQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LV2PR11MB5997.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(136003)(366004)(396003)(39860400002)(376002)(346002)(451199018)(6636002)(83380400001)(478600001)(110136005)(316002)(33656002)(122000001)(82960400001)(55016003)(8676002)(64756008)(66446008)(38100700002)(76116006)(66476007)(6506007)(9686003)(7696005)(26005)(71200400001)(53546011)(66556008)(5660300002)(52536014)(66946007)(8936002)(186003)(86362001)(2906002)(41300700001)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?R0tkd1BMd0MzcWFKVVg3c1B4VTk1UWw4SXAvS3h4c01oK0pFYWhnKzJNK0ht?= =?utf-8?B?ejNnUmplN2xnNXdNTWZPRjEyNVlEMkxaUFZudVRqYWVUMFYrNHR2b2RkWWU0?= =?utf-8?B?blZTTFhleWtnVk1KM2FPNXZkN2ZXNCtMRTJtcDViTFFvVzRwR2dSZEVUSmlq?= =?utf-8?B?NVd6eEZFQWtKVkE3VWh5SERicWhoSjRENEdNNCtDK01vTDdhNTNTenBBRkc2?= =?utf-8?B?Nk50WDRTRW04NGdCVkdwc3RjS3NLckdGUVg4b1ZSRFVNaTZGLzJkV0k1NUR5?= =?utf-8?B?L2hSRUVrQkJ6YXNlQy9YQXRFOGQ4Q2tjdXpvaE84bXhadUF0TG56SUcra0po?= =?utf-8?B?ZXJ1OUh2S0hKR0ZYbVd4OVZ3RzFMZlFxMTlmWS9mejhtemZyQzVlcUwrOTln?= =?utf-8?B?Zzl2NVNCelVUQmZvRk10dFNXc1dXM2VpeVJCQm9FUlNQSTgw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JNV1pXV1FIUFVkN1pwZ3h3TFE1?= =?utf-8?B?Sk1WM2M5MVc1M0dQbDRmS1lGWWJVUzlTdlMvYWVkMzd5YW9kM1dXUEpnRzNO?= =?utf-8?B?c1NkTExRblFYcEdZYTljaWNyYTEvVG5lcUdqaG5JMFNOa2hYVUlYdGtIZWRw?= =?utf-8?B?TGEyNFFnTWlsZzkwYmltbWVacUpucUxVQnQ3RmQxMHM2R2VnRFd2a3BRV1JR?= =?utf-8?B?clJ6cDlLNDVJcWZIaklRMGxOeDdjVXYvVkd3QUtJUlhWTTM5VitFUjFXcXlt?= =?utf-8?B?MzMvWjJJN0QwWUhZYXhNVm83SUlvV09VYXR6QjhhVlNVUmJ6eG5RNTVLR3E4?= =?utf-8?B?Mjc0L2U1QVdhelVJR0NZdjREUXNHV3Avd1cyNHlpUGpoc0pUTTRoQ0Rwaksw?= =?utf-8?B?TGlwSStNVExOc0pGUlhmRTVOd3pFVVNJMDB5cWUvaWhSV2xwZG1yYlhGQmN1?= =?utf-8?B?NEFvTm1OWDk2dkNDbUF0RS8rRG9ySFlSTnYzaThtZkNDak1CZFBucFRiWHh3?= =?utf-8?B?eGVUL2pBMElrR0N1REZMNHYxNmpTa2tKbFJXLzB5NmVhSGJrenpmVlRSTWts?= =?utf-8?B?M1plUkF6eDFrdHQyZUZRZGJ3WlUyd1VaUUM0MGJtQTQ5M3RZSHhQTktzZnZJ?= =?utf-8?B?M0JlMC81cmlFQXFKSy9BYnArOTU4SGhwYXVtOTFYclpkR000SG9GbGNaaXcw?= =?utf-8?B?U1VXK0tjaldrMkp1Wlh5TjhzN202K3B6eHphbDZZVklVUkRDUVNmbG9TcG9r?= =?utf-8?Q?2LQIBp+ayxVS1uNYCPNru4a09?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LV2PR11MB5997.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 94fc5827-f251-4e0c-02c2-08db1b16e1d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2023 12:08:49.5030 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 90W2MfQIYbmGUi9TcHXAmknHz/kegkkK/YR7FPjqGttCP7OyiKRmMTjfBsip0CzCCOoHHfQzzj/ovDMJcFxgbA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4981 X-OriginatorOrg: intel.com 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 ZXJydWgueWlnaXRAYW1kLmNvbT4NCj4gU2VudDogVGh1cnNkYXksIE1hcmNoIDIsIDIwMjMgNToz MSBQTQ0KPiBUbzogTGl1LCBNaW5neGlhIDxtaW5neGlhLmxpdUBpbnRlbC5jb20+OyBkZXZAZHBk ay5vcmc7IFhpbmcsIEJlaWxlaQ0KPiA8YmVpbGVpLnhpbmdAaW50ZWwuY29tPjsgWmhhbmcsIFl1 eWluZyA8eXV5aW5nLnpoYW5nQGludGVsLmNvbT4NCj4gU3ViamVjdDogUmU6IFtQQVRDSCB2OCAw MS8yMV0gbmV0L2NwZmw6IHN1cHBvcnQgZGV2aWNlIGluaXRpYWxpemF0aW9uDQo+IA0KPiBPbiAz LzIvMjAyMyAxMDozNSBBTSwgTWluZ3hpYSBMaXUgd3JvdGU6DQo+ID4gU3VwcG9ydCBkZXZpY2Ug aW5pdCBhbmQgYWRkIHRoZSBmb2xsb3dpbmcgZGV2I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