From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30082.outbound.protection.outlook.com [40.107.3.82]) by dpdk.org (Postfix) with ESMTP id C22CF5F13 for ; Mon, 12 Mar 2018 15:20:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=CKqgZfobtfiMNorZTdTZ3LyFKNpVIUNb3rAGvarA98w=; b=gjEmn/iic5mqj2i4vWwqGJh4dLf/1w0LMnRmleDrFKXiqhdoBUcfKHNEUaEPs2Lh20ViIRsRSv8QVSx0ZchmiT9mpmXgAPOzCYb1a7x9eJu2KMwG+ntee6cDT3xA0eS3/Wx5YWricEF+VIzTPQIPV666fzPKRCMOaXtUPuICQ08= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4492.eurprd05.prod.outlook.com (52.134.109.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Mon, 12 Mar 2018 14:20:48 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::d6c:9063:c9b4:ab68]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::d6c:9063:c9b4:ab68%13]) with mapi id 15.20.0548.021; Mon, 12 Mar 2018 14:20:48 +0000 From: Shahaf Shuler To: Ferruh Yigit , Mordechay Haimovsky , "pascal.mazon@6wind.com" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH V5 2/2] net/tap: use new Rx offloads API Thread-Index: AQHTj5wxF/6t4Zu55EiaMMtK6ByyQqO9wA4AgA8bfkA= Date: Mon, 12 Mar 2018 14:20:48 +0000 Message-ID: References: <1515601248-39458-2-git-send-email-motih@mellanox.com> <1516197874-133169-1-git-send-email-motih@mellanox.com> <1516197874-133169-2-git-send-email-motih@mellanox.com> <95d434f5-438a-19a7-1227-18c1230201c0@intel.com> In-Reply-To: <95d434f5-438a-19a7-1227-18c1230201c0@intel.com> 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=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4492; 7:1EO5YIh5pz4t+n+zdsCP+n/YD8jdn3ArGPwKg2J/5WVuqV4IHrfIC93WQaxCod17VIcHepFUgzp/PcydqRV00kNH8lsfg06i+kFJtZ/5EODjt7HrY4LETZWg4t3b9js7LCnY3aVjqOQTLJq+/zUFxuPDZXWz4rfFUcrinfDYEAgV57PF3TktbYbaHpyZ8jz73v/L0Zhm+Zth357qHvRD12/wOnaaBXN2RA/uu20ZzVQBy9RdTJqePSjE9ptVhUWH x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: c43db323-0884-41ae-f536-08d5882473e4 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4492; x-ms-traffictypediagnostic: DB7PR05MB4492: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(6055026)(6041310)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:DB7PR05MB4492; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4492; x-forefront-prvs: 06098A2863 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(366004)(346002)(396003)(39380400002)(39860400002)(13464003)(199004)(189003)(9686003)(66066001)(93886005)(55016002)(53936002)(3660700001)(2906002)(186003)(25786009)(5660300001)(33656002)(81166006)(81156014)(8676002)(3280700002)(5250100002)(2501003)(105586002)(26005)(6506007)(53546011)(106356001)(102836004)(478600001)(97736004)(3846002)(6116002)(6306002)(8936002)(966005)(6436002)(4326008)(6246003)(110136005)(14454004)(53376002)(229853002)(7696005)(2950100002)(2900100001)(305945005)(74316002)(68736007)(316002)(86362001)(99286004)(76176011)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4492; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 9VNWq8t7VjBmVV7YHxunbyuzPlqYc+kMM1gwWkVhRPW6Yrh4L9AJiAzpBWNRBvkMQn5frjBwQQrI5vdQfL1jfZdQVXGdkSifYPg4X95qvu9a7myXIlAZzKu0ATs3+zCNAiNjPRJ5cPF2j1oboWi5dIBM0TQfVT8na8YlR58JTbTEPyr9GLuqimPSkmQm/jYBmSmD8BoaVCGTSoLPkBx77ZksBSGC7cXJ2i08G+e38BvEb/YTK8hYJ85iqeLAAEmXdhjIESOe+0BhLO1p/TE5gOmlgBluMCoTfPVMUmYSLy4FYxKHinjAuhb/a9UJXhJDoBcdlmROe1e9X4yugWxeTw== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: c43db323-0884-41ae-f536-08d5882473e4 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2018 14:20:48.6440 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4492 Subject: Re: [dpdk-dev] [PATCH V5 2/2] net/tap: use new Rx offloads API 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: Mon, 12 Mar 2018 14:20:50 -0000 DQoNCi0tU2hhaGFmDQoNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBk ZXYgW21haWx0bzpkZXYtYm91bmNlc0BkcGRrLm9yZ10gT24gQmVoYWxmIE9mIEZlcnJ1aCBZaWdp dA0KPiBTZW50OiBGcmlkYXksIE1hcmNoIDIsIDIwMTggMTE6NDQgUE0NCj4gVG86IE1vcmRlY2hh eSBIYWltb3Zza3kgPG1vdGloQG1lbGxhbm94LmNvbT47DQo+IHBhc2NhbC5tYXpvbkA2d2luZC5j b20NCj4gQ2M6IGRldkBkcGRrLm9yZzsgU2hhaGFmIFNodWxlciA8c2hhaGFmc0BtZWxsYW5veC5j b20+DQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCBWNSAyLzJdIG5ldC90YXA6IHVz ZSBuZXcgUnggb2ZmbG9hZHMgQVBJDQo+IA0KPiBPbiAxLzE3LzIwMTggMjowNCBQTSwgTW90aSBI YWltb3Zza3kgd3JvdGU6DQo+ID4gRXRoZGV2IFJ4IG9mZmxvYWRzIEFQSSBoYXMgY2hhbmdlZCBz aW5jZToNCj4gPiBjb21taXQgY2UxN2VkZGVmYzIwICgiZXRoZGV2OiBpbnRyb2R1Y2UgUnggcXVl dWUgb2ZmbG9hZHMgQVBJIikgVGhpcw0KPiA+IGNvbW1pdCBhZGRzIHN1cHBvcnQgZm9yIHRoZSBu ZXcgUnggb2ZmbG9hZHMgQVBJLg0KPiA+DQo+ID4gU2lnbmVkLW9mZi1ieTogTW90aSBIY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