From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40043.outbound.protection.outlook.com [40.107.4.43]) by dpdk.org (Postfix) with ESMTP id 2DACE8D88 for ; Fri, 18 May 2018 13:00:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tmzpibpJd28Itc2VHOZSsp3lAwDpPv8r1hey4rXuHgM=; b=B2jaar8SZ3iahh85gT7RYvcFgDemJRLHlS8UzVk0gqKowQhLeS5aSPwNvFsR6srwjHp1Ays0rYQLTLrdDUlfFSBNyGHIFJfcU5ur/++DsLzgVi8t7X4Edq4bKPW7xZ0HByxhmTKhUSnE2oUkKfcA9Y/XkdoiE3mrcrxdmobhqSE= Received: from HE1PR0402MB2780.eurprd04.prod.outlook.com (10.175.29.14) by HE1PR0402MB3545.eurprd04.prod.outlook.com (10.167.126.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.776.11; Fri, 18 May 2018 11:00:10 +0000 Received: from HE1PR0402MB2780.eurprd04.prod.outlook.com ([fe80::4831:d6f3:9af0:d5f8]) by HE1PR0402MB2780.eurprd04.prod.outlook.com ([fe80::4831:d6f3:9af0:d5f8%18]) with mapi id 15.20.0776.010; Fri, 18 May 2018 11:00:10 +0000 From: Shreyansh Jain To: Andy Green , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5 01/21] lib/librte_ethdev: change eth-dev-ops API to return int Thread-Index: AQHT7eXa33SWDNE+7UmUq/tETkFlWaQ070YQ Date: Fri, 18 May 2018 10:59:56 +0000 Deferred-Delivery: Fri, 18 May 2018 05:09:15 +0000 Message-ID: References: <152656480225.46638.3271983577765861155.stgit@localhost.localdomain> <152656493702.46638.10712692446180001555.stgit@localhost.localdomain> In-Reply-To: <152656493702.46638.10712692446180001555.stgit@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; x-originating-ip: [92.121.36.198] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0402MB3545; 7:h6dJk8A5XIMmBkkVk69XZ9oCTDs9EuLGDlgYGFuJvbRTrCJBOYtrQY+rXOW5/veTqEl7E1HGoYtc460oluRuvLZTb3SdROQwsy/lodMfuzkfR+kHwqH2cj0LSJV00kpt0vrO2a/Fz8+A2fCg5wqgx1d+BKuRYWqTGrnVuc0fBiilo+hMtegbmrZvpC26FajOKTB9vk6UjzT+/DbI3d0HYjcUtbfD6z7BOJQL7DLfBxHxqCmLeWvNu0YAJWkGzV30 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:HE1PR0402MB3545; x-ms-traffictypediagnostic: HE1PR0402MB3545: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231254)(944501410)(52105095)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:HE1PR0402MB3545; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0402MB3545; x-forefront-prvs: 0676F530A9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(39860400002)(39380400002)(376002)(346002)(199004)(189003)(13464003)(2900100001)(476003)(81156014)(6246003)(102836004)(7736002)(26005)(7696005)(316002)(86362001)(186003)(3846002)(44832011)(446003)(3660700001)(6506007)(59450400001)(68736007)(81166006)(25786009)(2906002)(8676002)(33656002)(66066001)(76176011)(11346002)(486006)(478600001)(3280700002)(53546011)(8936002)(110136005)(305945005)(6436002)(106356001)(105586002)(97736004)(6666003)(55016002)(14454004)(99286004)(5250100002)(6116002)(53936002)(74316002)(9686003)(2501003)(5660300001)(229853002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0402MB3545; H:HE1PR0402MB2780.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:3; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: rQjRarUlSlzU0qdia+11ljrqPUVxUdRz+3hVSnboybUim0caAkcB+86g83Vl8D2o796uT5i3obhmoJoQQkCiwDndX1ng1R8r4USkQb1WYaZBbLI93ROlsaTPUX4g0wdtH7JIkJwd2NvzKM0mmVGcvPB45qqDJEUt/rFTHN+sd9o06TovqncNskziJ2w2AdMe spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: c364163a-6ff1-4a80-b1fb-08d5bcae8675 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c364163a-6ff1-4a80-b1fb-08d5bcae8675 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2018 11:00:10.7109 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB3545 Subject: Re: [dpdk-dev] [PATCH v5 01/21] lib/librte_ethdev: change eth-dev-ops API to return int X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2018 11:00:14 -0000 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBkZXYgW21haWx0bzpkZXYtYm91 bmNlc0BkcGRrLm9yZ10gT24gQmVoYWxmIE9mIEFuZHkgR3JlZW4NCj4gU2VudDogVGh1cnNkYXks IE1heSAxNywgMjAxOCA3OjE5IFBNDQo+IFRvOiBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogW2Rw ZGstZGV2XSBbUEFUQ0ggdjUgMDEvMjFdIGxpYi9saWJydGVfZXRoZGV2OiBjaGFuZ2UgZXRoLWRl di0NCj4gb3BzIEFQSSB0byByZXR1cm4gaW50DQo+IA0KPiBTaWduZWQtb2ZmLWJ5OiBBbmR5IEdy ZWVuIDxhbmR5QHdhcm1jYXQuY29tPg0KPiAtLS0NCj4gIGRyaXZlcnMvbmV0L2Fyay9hcmtfZXRo ZGV2X3J4LmMgICAgIHwgICAgNCArKy0tDQo+ICBkcml2ZXJzL25ldC9hcmsvYXJrX2V0aGRldl9y eC5oICAgICB8ICAgIDMgKy0tDQo+ICBkcml2ZXJzL25ldC9hdmYvYXZmX3J4dHguYyAgICAgICAg ICB8ICAgIDQgKystLQ0KPiAgZHJpdmVycy9uZXQvYXZmL2F2Zl9yeHR4LmggICAgICAgICAgfCAg ICAyICstDQo+ICBkcml2ZXJzL25ldC9ibnh0L2JueHRfZXRoZGV2LmMgICAgICB8ICAgIDUgKysr LS0NCj4gIGRyaXZlcnMvbmV0L2RwYWEvZHBhYV9ldGhkZXYuYyAgICAgIHwgICAgNCArKy0tDQo+ ICBkcml2ZXJzL25ldC9kcGFhMi9kcGFhMl9ldGhkZXYuYyAgICB8ICAgIDYgKysrLS0tDQo+ICBk cml2ZXJzL25ldC9lMTAwMC9lMTAwMF9ldGhkZXYuaCAgICB8ICAgIDYgKystLS0tDQo+ICBk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