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 2A5B9A0542; Tue, 6 Sep 2022 10:30:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C4D2140143; Tue, 6 Sep 2022 10:30:00 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2110.outbound.protection.outlook.com [40.107.237.110]) by mails.dpdk.org (Postfix) with ESMTP id 614DF400D6 for ; Tue, 6 Sep 2022 10:29:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IA8FRQegfNJ9VgQhRcQD9Ts7TUuOKqvbIOFdl996QRLZC86nS/1IJ+TWRMqUSGn+k0H7uQ6cJm0Io4QtO0zXIEZlrdCLQ2ty3X/v6cnLZr2o5WYfTE7UtV8N/CKZmtYXUZ0GCeCuIIegaclOgZ7Dxv6BSjCCLvaoFwif9vdronaPY6BXXKX/5xa74T7halT2rl3yeaqKQ7UAm6xwrOs7Q3xswgc/DQalf+eX/iQ8Hm5UD/uhRbsbJve0zytGPfTiqBWI//4hO4sa+YX3Rs6966wq+6K33hQXrYxNneKY6ISofo05PN0r9KKxz+gpZEhpnRz5VsqxxtYsTNjwz+rBQw== 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=yfwTPv7iHvIBenJs0IIKYe+Nmv+Dd/3HH1A7tDpTJh0=; b=cELv0X51Pfh+QYtqYayCgkEXaK/Cgl+rG27aAg0VmTEToldaOs2GsfJE0hvh5w4tSR4kYAyowPHaHRslKMcFpIp7K4kPwMAtoiZw+H9AN2b4jJK7e76CBur/t4ERaNzIsyECaQ3yflc17I3zfuKpM98oabbZFzOvHxQ5a1LkKwTEHTDvEhAKR8yNDqeEzDB/okeBbkHJop8LWrIxpJlFLKpmeRR5Al3vONFNNZffErb64fGLwcm5SmQX0N5LJjaal0oeg6lQdEWZ3w9AJykx0erfIJ316RO6L70RPCVRAlZInCQJsJFa2kyZ6AnhdAXKJbKRLLICm6Pagv2Im9mkVQ== 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=yfwTPv7iHvIBenJs0IIKYe+Nmv+Dd/3HH1A7tDpTJh0=; b=h/tzUzigVLIHynXC3hAtgaYw13yS58AJeYJL5d8s5s7aZHxtkd+/X6dpB32fV//23YJviUTZ9gnZeLC76nJQTttm5oSEPRZtG37YT0ObEfMKGjsVh6pB58OVx1HXpEQnz6VFbfwdfvkAA+9V+pmoK/fXyHbmFrK1QVjtvnaYDL8= Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by BY5PR13MB3780.namprd13.prod.outlook.com (2603:10b6:a03:228::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.11; Tue, 6 Sep 2022 08:29:56 +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:29:56 +0000 From: Chaoyong He To: Ferruh Yigit , "dev@dpdk.org" CC: oss-drivers , Niklas Soderlund Subject: RE: [PATCH v7 03/12] net/nfp: move app specific init logic to own function Thread-Topic: [PATCH v7 03/12] net/nfp: move app specific init logic to own function Thread-Index: AQHYrjV5uKo2AOGGQUOJZCffmrRiMK3RHsmAgAEWz7A= Date: Tue, 6 Sep 2022 08:29:55 +0000 Message-ID: References: <1660299750-10668-1-git-send-email-chaoyong.he@corigine.com> <1660299750-10668-4-git-send-email-chaoyong.he@corigine.com> <15d65d03-1c53-3e30-42ff-904ebdef0961@xilinx.com> In-Reply-To: <15d65d03-1c53-3e30-42ff-904ebdef0961@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_|BY5PR13MB3780:EE_ x-ms-office365-filtering-correlation-id: 2a1bd13e-35e7-470c-1fc2-08da8fe1fa87 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: O8ycYmaQQGWfgUFwwZHaODkx6O/KaTXutNQoca/on5C2iPUnHSkOKfUnXi7Z6WP/Y+U2Khpd3+Y8+h1rtDvnzIXMotAhm0mzIl3AqN3DmNVl1IuoUD1g2paqh4/bHt419oesivHNTYRFb+k5jW5vedmmC2ZWT4ySBdMCq3FVRD2MPULJcqt+1WkOrWS1GejTTXXia3sd2wJSb4S8IHtZa24+W60iGXWMzNAmSjZ1tg7uy3bp+RHQhDqg2I2O0kX05k2E+2cjawmGJzXidfm0JGTDLyQc8DGzYIgAr7YBjCkmG2arPujFl/HGjzaccrQqVez8raEPgrV6xo+Ynecux//JQW+/IRmme0Es+CFpAsyWjPpqUMSEOUuLZ+CfhMjFZL5L12wDfDvywy3pVb6tiGm9QVuJPLgX3tzh1nOBEmMM7o4vQeXGM4zELg+Wj1UJXXJc1vVJ69behyAMgTnnXLWcyQMAkr5Jdmaewfx0QfOJeaBqWnor5JIe6w50NPUp/vr5i++9ab6Sc1QKVO4TovdY1Ox7/aqzo1itGztDQv6vJeFQKtSkR/20GleMHzKe+R6kWbcd/SSDFZlDeo6liNFtla9aC6yyvBq2VSx61RNV1OSUtwSqMbFD7CuG/B8zsn6M8XL78ZPsySzuGpm/uK26rMCjUm3A54K8b6UFGTeq55+tEy/hYkhoIpEIYaKlJf70GrEYkVA1nWQ4gQOZ4mmeY9yq35q7Xv3MZRn5q1KaMm/p3nd1D/6RHpPOmAbMBjXPoDPtqpM9/gH3Oy5MqA== 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)(346002)(396003)(136003)(366004)(39830400003)(376002)(5660300002)(52536014)(38100700002)(7696005)(44832011)(8936002)(107886003)(33656002)(26005)(9686003)(86362001)(53546011)(41300700001)(6506007)(55016003)(83380400001)(122000001)(186003)(66574015)(2906002)(38070700005)(66946007)(66446008)(316002)(66476007)(478600001)(4326008)(8676002)(66556008)(76116006)(71200400001)(64756008)(110136005)(54906003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?eS8yVnBiQVJNa0NCTUZpVFJIcHZRc1BVck1JSkNjQ2NZTWhVQStzelBTZHJz?= =?utf-8?B?VENGWVZOVUdsVUk5aWxZREFlOFh0RVZRVVc2dlJSTlVnRUZ2NnNLNks3a1VI?= =?utf-8?B?cEJvMll1aTFYaGlBUGpYaE5hM0ZObkFtUW5JR0F0cVc0QUJzcGFzZlBJRzAy?= =?utf-8?B?TTFvclc4Q3ZldVR2WWtNVndUcDVFT0NwLzlkVlhrcjc1OTN2ZE5lV3FNT2hy?= =?utf-8?B?SmF6SzRGamZLb3pUTk9qWmt3UjlMWFZXNVE0T2VkdVRqSjI0ZVhIMEpsUVZZ?= =?utf-8?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vUjVqSVBRbzQvb2FjS0NwQ3JkcEI0?= =?utf-8?Q?V23mqe4zeMYW2PqYRRUpx7aXQ?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: corigine.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR13MB3780 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 MiAxMTozOSBQTQ0KPiBUbzogQ2hhb3lvbmcgSGUgPGNoYW95b25nLmhlQGNvcmlnaW5lLmNvbT47 IGRldkBkcGRrLm9yZw0KPiBDYzogb3NzLWRyaXZlcnMgPG9zcy1kcml2ZXJzQGNvcmlnaW5lLmNv bT47IE5pa2xhcyBTb2Rlcmx1bmQNCj4gPG5pa2xhcy5zb2Rlcmx1bmRAY29yaWdpbmUuY29tPg0K PiBTdWJqZWN0OiBSZTogW1BBVENIIHY3IDAzLzEyXSBuZXQvbmZwOiBtb3ZlIGFwcCBzcGVjaWZp YyBpbml0IGxvZ2ljIHRvIG93bg0KPiBmdW5jdGlvbg0KPiANCj4gT24gOC8xMi8yMDIyIDExOjIy IEFNLCBDaGFveW9uZyBIZSB3cm90ZToNCj4gPiBUaGUgTkZQIGNhcmQgY2FuIGxvYWQgZGlmZmVy ZW50IGZpcm13YXJlIGFwcGxpY2F0aW9ucy4NCj4gPiBUaGlzIGNvbW1pdCBtb3ZlIHRoZSBpbml0 IGxvZ2ljIG9mIGNvcmVuaWMgYXBwIG9mIHRoZSBzZWNvbmRhcnkNCj4gPiBwcm9jZXNzIGludG8g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