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 A44DCA0542; Tue, 6 Sep 2022 10:45:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47B7F40143; Tue, 6 Sep 2022 10:45:38 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2090.outbound.protection.outlook.com [40.107.223.90]) by mails.dpdk.org (Postfix) with ESMTP id ACA94400D6 for ; Tue, 6 Sep 2022 10:45:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bZ66KAuK0pQPCVatBA3z78ANrWjf847r+cZu/ez/XwihbXg5OH2MzflQAOyIfPM43627QODcvfIHLn+SzZC4EnyQqYZESrWS8bUnGVD4nX/B9rYtW3y7oOnEsFeDmO6zHji4cGgMTCS1YsbGvlqbbWwmj3b0oLAya7Q6RR4P6nntOuTgaDEbijdEJ6TNrCP5BFXEdHmHw4tFueiy3I8Pb1DyMzYNunq691SWw87hqU1VQFyDRExO0yxgZeRxhWHbq5o3ckzDcBj2Du1brMx41EBzZrAqQGzmF7fMMvwtcpW8Mr7eq34e+N4sIV8lcNXSHwe02K8oOmQlibBJWko8rw== 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=XJIXcRkkdk1VwiZkNQQBWs3GkDSH7xFTLIe0sFU00mU=; b=fXYjjdz45Lv2QB9YSF0Jv+twQ+tOLdMYE9b3OQX1+oMdGDnj29wOMvXcS444bhAi81TGIvpKStoUjJIXpJfWL65ek8/GXzo1MdRiTSehSjLs7RQlSPp6vxxR4rAMtWVj4LT8EkGeKI/Q1Bd8AoVNyTVdfU8B4RouM7bcroCgBxzGKtdMV5DpcM4E0xHRWowREPqUyhmFU6WkOUAyB1EM0JEZq7ek/ZEI0/VCS3ObXq9XruR2NH502irPr6GDE1aoYSFaE5AaPj+4X69P56QQbHm6XYcD21AAgFb/5OFHSTHEsfNrBh2Rf/+5NwLADQ8JFDql886OXBsizCJt0uF3TA== 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=XJIXcRkkdk1VwiZkNQQBWs3GkDSH7xFTLIe0sFU00mU=; b=NsgeU1HzHzCElNBRgGxKG5X1jZB3MOdYwj74cPu7fKWdjP5eGGEa995b0lUguM6d/xgCnX27Sy9ODdDaJlRNru+BHsJ9rD+cjzzMgYT144s5rdU9wqaBPkC2DtGDBKW0ysZ997j7xvlWQRwiH79uxl/W1vYhPJ683vi0/KDj4ow= Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by PH0PR13MB5590.namprd13.prod.outlook.com (2603:10b6:510:128::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Tue, 6 Sep 2022 08:45:34 +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; Tue, 6 Sep 2022 08:45:34 +0000 From: Chaoyong He To: Ferruh Yigit , "dev@dpdk.org" CC: oss-drivers , Niklas Soderlund Subject: RE: [PATCH v7 05/12] net/nfp: add flower PF setup and mempool init logic Thread-Topic: [PATCH v7 05/12] net/nfp: add flower PF setup and mempool init logic Thread-Index: AQHYrjV756IkjnpYB0iA3kQDke9Co63RH6mAgAEbLwA= Date: Tue, 6 Sep 2022 08:45:34 +0000 Message-ID: References: <1660299750-10668-1-git-send-email-chaoyong.he@corigine.com> <1660299750-10668-6-git-send-email-chaoyong.he@corigine.com> <39c13f4a-8122-5b72-b909-0a9197acff89@xilinx.com> In-Reply-To: <39c13f4a-8122-5b72-b909-0a9197acff89@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_|PH0PR13MB5590:EE_ x-ms-office365-filtering-correlation-id: 4da0a3fc-fa79-485b-987a-08da8fe429c2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: n53bUXm+ZB3dS/79dNi2ogUMUP8KwZkP6NX1kH1tiLG5t7ewAjfK6kCNmnOVpoM9TQzW70wOgdUC1KtJsoRqs1tLMNtTv1XRV2oT4uw01w5kmyTClMRVAzjARJGBznIwBZY1E+kJOQsJcAkMpmuwxs6kEGb33GhqfYnGDB6VdV29wb2FOZ8CAKWoTDeloGoY9ZHSO7uGSTZZsir3xMzadqhIeYhqvB7DId7P5xyL+q4v2O5VzWpl8I7tO0+JGp3bNjAHczbdTmB3p7Cmje2Bm0cQTaCF2WYx7HHOxKgdOllFNMMDF5RKTVtR1o58aEOpONx++vG4WTC9MyWiBX1PMGLXhO2nGA++EuaFmWMZZj6Gf+KFcA1T/PM91iOHl5W27j8g7obVMEYFpDPjSRSoRViiT6DySW/iamuT/qj0NS6Nqhj0CEpl9UPC40HMW5DLWS6ZCiZSu5YJ3ZSeUdQr3GTxrNHwXSvygYJSn5N3YUeGXfnk3NIoWX8ZNpzzjOI/ARFLhIK8sm+Vq9+FtjTxncdH6Cs/fSX5EMDMpMbdnL5eKtZhsoag7tJfVdVZ5s6/Jk0Qy6INC5QVXQ13PKH08YsvS5D3J62MvZsXsV4uTCClsO9y5TYLY0G7mv3mDmQ3p8w1fAb7fEph6zcCTRJ9sQ2LJCYMW7VjVldyBV9c9NPo+UPrtuD2kmDkIQm6swmOuvfj9RKicN3K8RXdO54uEFTHodRKEJcDo/6ANlU1/9n0mJm8d0Kkvnf39DGKhM55jaxTnDPPm+sgIbKSIpjw9ef82bFoP2xavUIw2B3sk4JKn/exa1Beig+m54ouS0wR 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)(136003)(366004)(376002)(396003)(346002)(39830400003)(71200400001)(478600001)(41300700001)(316002)(26005)(107886003)(9686003)(186003)(54906003)(86362001)(33656002)(110136005)(83380400001)(8676002)(66556008)(64756008)(5660300002)(52536014)(8936002)(44832011)(76116006)(2906002)(66476007)(55016003)(7696005)(53546011)(66446008)(6506007)(38070700005)(66946007)(4326008)(38100700002)(122000001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TThzUHNDaWx6QzFkdElhbmc1NmkvVWVFOVNXS1pZTVRzblBnT0ZrTUFUTXJw?= =?utf-8?B?aWhxSnNDOUtYOGs0cFNRZzIzSWV6amRwUVpCand1Y2d4UGhKVVpsakI2M3lD?= =?utf-8?B?UjhJTk5aaWZORVI5aFFCUXZFRjlndkc3eWFoTVRoVUhKQkxNOVhQbnNKb1Q2?= =?utf-8?B?TWFyWjVPT1U0bjhJZUpOTURSVDg1Q3V0a08vWnlmK09jQW1sQVJBcDRsODlh?= =?utf-8?B?MklIbnRFVEhaeTR3Ymg5dytaemFCZERQM3dWOE41M0Jsd1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NaSXovRm1kSDc5b0V4aEZkYTlkNVl0WFlrVmprNVU0MFBC?= =?utf-8?Q?pGSOQGlNXjFXhw4BUQOMDRWBj?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: corigine.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR13MB5590 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 ZXJydWgueWlnaXRAeGlsaW54LmNvbT4NCj4gU2VudDogTW9uZGF5LCBTZXB0ZW1iZXIgNSwgMjAy MiAxMTo0MiBQTQ0KPiBUbzogQ2hhb3lvbmcgSGUgPGNoYW95b25nLmhlQGNvcmlnaW5lLmNvbT47 IGRldkBkcGRrLm9yZw0KPiBDYzogb3NzLWRyaXZlcnMgPG9zcy1kcml2ZXJzQGNvcmlnaW5lLmNv bT47IE5pa2xhcyBTb2Rlcmx1bmQNCj4gPG5pa2xhcy5zb2Rlcmx1bmRAY29yaWdpbmUuY29tPg0K PiBTdWJqZWN0OiBSZTogW1BBVENIIHY3IDA1LzEyXSBuZXQvbmZwOiBhZGQgZmxvd2VyIFBGIHNl dHVwIGFuZCBtZW1wb29sDQo+IGluaXQgbG9naWMNCj4gDQo+IE9uIDgvMTIvMjAyMiAxMToyMiBB TSwgQ2hhb3lvbmcgSGUgd3JvdGU6DQo+ID4gQWRkcyB0aGUgdk5JQyBpbml0aWFsaXphdGlvbiBs b2dpYyBmb3IgdGhlIGZsb3dlciBQRiB2TklDLiAgVGhlIGZsb3dlcg0KPiA+IGZpcm13YXJlIGV4 cG9zZXMgdGhpcyB2TklDIGZvciB0aGUgcHVycG9zZXMgb2YgZmFsbGJhY2sgdHJhZ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