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 C41A5A0548; Fri, 9 Sep 2022 04:36:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C61D40DDC; Fri, 9 Sep 2022 04:36:29 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2097.outbound.protection.outlook.com [40.107.220.97]) by mails.dpdk.org (Postfix) with ESMTP id 42CA540A7E for ; Fri, 9 Sep 2022 04:36:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UcEYWPJGgAE2shL752U+tNLXXIwSHGej1h7UftK7md9FNa4tQIVHEPGui+P4D2q31esAwfT9wQg0CE5oRUAO6wDn+OENCE42uSNZFc/UgfuJmJLtriJUI8Aj8f64UxzVjg4SZMpXDqDIEovee0mJwsTwjtainZH87t4N7jem202bPedxI2/mD+oDLmNS8AITtD93KjTYf/oTNbMEw+OBzhZlP1m9JZZT1nX42NBlNJROiNs6cQ+hBeHArdo4c2nsFxgpFE3o5UYZBtgHNOjWF1C/DyqHrYuTple0998e6JABHwcTCjNajEWxk+/VFGByYf90utoO4WC1zlsJkB90gQ== 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=FvRZjZBZhsJ1K52ZfP6pUwn8xhKXWA6nL3fbHro2dHk=; b=Z9sehoj7aLzT07SycM2wIkdGB6e3y8gJrgAll591YHpkybiZCbXhKbYPqxYYzHnvBAc+gkI0gG1YpCDaMAilq6gNl1c+BIhqfXBHzsxM+DlKHjDZMWoCHd7zsyD0kz7fuBF4EnxwONJUbAVlNSNrS4w0nh4/KCIOskKPX80NpCMjQ6Q6olZctOGcjX5X+K/c1bwZ2RuQUBRye8IbqNXNtrcS1GANavmoRmN9xEGZRitqilJ+qqZdUOcLf5ofgQUOYE1/Tq4R6r3ch+yYqiWioprN/AP0RhLvbQyeWPb8AT7SvWOYOHKkAV3NX59io4y0R4yFaC6AmPxpduzzEjCAlQ== 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=FvRZjZBZhsJ1K52ZfP6pUwn8xhKXWA6nL3fbHro2dHk=; b=sCoLUD+sS6FfD6tMt3L4CYVLsxYpskE8EXJJIMRLYW1Ho4c0xpMIvjPJPomHot9CwUzHQ1xuQPhxOO3u5Rvv1aNUGi31wrKTyW7dW+WImtKKQSVg6cwbzX/7Ir+qtPTLyR7iAD0NkFytJpuUog0lpB4JPEQQPn3FlrjMCjSXC/I= Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by SA1PR13MB5468.namprd13.prod.outlook.com (2603:10b6:806:233::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.7; Fri, 9 Sep 2022 02:36:25 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::402d:6abc:83a8:2431]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::402d:6abc:83a8:2431%6]) with mapi id 15.20.5612.009; Fri, 9 Sep 2022 02:36:25 +0000 From: Chaoyong He To: Ferruh Yigit , "dev@dpdk.org" CC: oss-drivers , Niklas Soderlund Subject: RE: [PATCH v8 05/12] net/nfp: add flower PF setup logic Thread-Topic: [PATCH v8 05/12] net/nfp: add flower PF setup logic Thread-Index: AQHYw19dg3j80tPBok+VUrecrGMPma3VuDcAgAChfyA= Date: Fri, 9 Sep 2022 02:36:24 +0000 Message-ID: References: <1662626702-17254-1-git-send-email-chaoyong.he@corigine.com> <1662626702-17254-6-git-send-email-chaoyong.he@corigine.com> <49888fb1-e16a-9d55-9855-7e7807922dea@xilinx.com> In-Reply-To: <49888fb1-e16a-9d55-9855-7e7807922dea@xilinx.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_|SA1PR13MB5468:EE_ x-ms-office365-filtering-correlation-id: ad8f1f79-b0c3-4462-8ee5-08da920c1707 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hS9oXfZiW5U8Z2O9wbiwE2vPvZnFJbAtz4vdxmK3otEYtW63zFKobjlhfs2jscwgMn45AV+gI+mTRj5ssJSwpthFlvUQwPyvm9UF4FF8NZPbyD8OIi6+4NXaV7BX7iShaRWT++IYC6DAyO/VAGtR3cmL9xx/ZBkVhB1LHOGpAqFgr91EK2ZL4doO0zUms9iNL7gtlQ5Ah9j6FsNRPpIiPSPiahhO8miusgFmp6FhnddENdyZa+VCbJlwu8oEROvCoXxNDnOLe/9hUl1hYRT4zZFOL+r0/Erci7cBNUP1JnAGXBnhLYTPjqwzT0nil16bjfOEKBUrucdWg1lzHQggtKDqkmO4x8zK0kwb3KGt1E9Zo1cOH2LJiLNPSCfE3gsFGIMyBxD8oBMFDRUSdv3bx6noOuniThOFICNPEsoIKo+Mb0S35UbzEKQaa9X+jz2rdIKdgY7UI/VBS9ecRSxdvpa6JNmVA1dndnWakCB7VRaF7xx3B+x+rv2cD2LKDl+B+NANmvZtCQM8RgLVpkDOHe0tH7xruJRODhcRihm8hrj12dbVyW8uX6PMjD0BNVaoUVhYiSEL6lWWMYuPnriSrqNuOMXy9PR1y16Lhlc6HxJNEG5fO0nhsD5eyA8WCp1tQYXEPFMFOHpjTnrQ72LOElxab672dUoJfpOa7AS2c/WeP9H41hWOiP48RXSUOO67i5AROZR4n/2G5raKQGLVGWbArudoB5TQLiyDnHd2VUqfbwpLdTwj91mWydts1VfoQtrRqSDCRy767ZNFeuFsHw== 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:(13230016)(4636009)(366004)(396003)(376002)(346002)(136003)(39840400004)(55016003)(66446008)(64756008)(66476007)(76116006)(66946007)(2906002)(66556008)(33656002)(316002)(52536014)(54906003)(5660300002)(8936002)(8676002)(86362001)(4326008)(44832011)(6506007)(110136005)(107886003)(122000001)(38070700005)(9686003)(41300700001)(38100700002)(7696005)(71200400001)(186003)(53546011)(26005)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?S1pBNzFjYWw5aEluNHg5Ti9DWFdHVGV1aTF0VWpwUytHWTlhdWZ6RnN6cmkv?= =?utf-8?B?WmNoYWt0WmRWUVNtWXgrMmQ2UXd6ano2SW82U3A5K3AxMTFEYVdCbk10Z0hG?= =?utf-8?B?RGJYcEUwdUtDZXI4aWcxcVNtOHpsM1pNdlU0WjVJYytUcDJBdHMxVTNrWWoz?= =?utf-8?B?RW5taGk5bXp2OTY5SDFWajU3MGNpNFNlenRXcytCaC85VFp5UTFGQ3NmZlNx?= =?utf-8?B?dmZBTmlFaTNBL1ZCRlJSOHpzTWRsbVhCSjV3eHJQalZtYnZsQlZvOHlQN1h5?= =?utf-8?B?d05yT2xxbnUzcHd1UEpaNFBVUHZIQmZ1cms5VlZTbklHOE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SERKS0hFZk1uVzlOWUwyNVJhZTBPVStpK3lyZXdRbVhWM2dXM3Fr?= =?utf-8?B?SVE9PQ==?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: corigine.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR13MB5468 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 PiBPbiA5LzgvMjAyMiA5OjQ0IEFNLCBDaGFveW9uZyBIZSB3cm90ZToNCj4gPiBBZGRzIHRoZSB2 TklDIGluaXRpYWxpemF0aW9uIGxvZ2ljIGZvciB0aGUgZmxvd2VyIFBGIHZOSUMuIFRoZSBmbG93 ZXINCj4gPiBmaXJtd2FyZSBleHBvc2VzIHRoaXMgdk5JQyBmb3IgdGhlIHB1cnBvc2VzIG9mIGZh bGxiYWNrIHRyYWZmaWMgaW4gdGhlDQo+ID4gc3dpdGNoZGV2IHVzZS1jYXNlLg0KPiA+DQo+ID4g QWRkcyBtaW5pbWFsIGRldl9vcHMgZm9yIHRoaXMgUEYgZGV2aWNlLiBCZWNhdXNlIHRoZSBkZXZp Y2UgaXMgYmVpbmcNCj4gPiBleHBvc2VkIGV4dGVybmFsbHkgdG8gRFBESyBpdCBzaG91bGQgYWxz byBiZSBjb25maWd1cmVkIHVzaW5nIERQREsNCj4gPiBoZWxwZXJzIGxpa2UgcnRlX2V0aF9jb25m aWd1cmUoKS4gRm9yIHRoZXNlIGhlbHBlcnMgdG8gd29yayB0aGUgZmxvd2VyDQo+ID4gbG9naWMg bmVlZHMgdG8gaW1wbGVtZW50cyBhIG1pbmltYWwgc2V0IG9mIGRldl9vcHMuDQo+ID4NCj4gPiBT aWduZWQtb2ZmLWJ5OiBDaGFveW9uZyBIZSA8Y2hhb3lvbmcuaGVAY29yaWdpbmUuY29tPg0KPiA+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