From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0053.outbound.protection.outlook.com [104.47.1.53]) by dpdk.org (Postfix) with ESMTP id 63F741B2CF for ; Tue, 3 Oct 2017 08:25:50 +0200 (CEST) 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=otjibuv+mDQUPk01qkli10/AVRvwSFfU0V/25QEWxf8=; b=txcF/BvvJ9PteZTpTHl+zWZuVRn43ag0g5eHhYdN5AMiSaveZ2m5FVv98fyH7WkdqTDfT+dI8YZ9xqTYe04uKOHWzHoKWgCBzCeCn+3wofzqWMCga7tysNHMiWFxbBvq86kLuYnbCRRg9KYAazV5Ycxg7wRtFea1pA6uYf8gAw8= Received: from VI1PR05MB3149.eurprd05.prod.outlook.com (10.170.237.142) by VI1PR05MB3151.eurprd05.prod.outlook.com (10.170.237.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Tue, 3 Oct 2017 06:25:48 +0000 Received: from VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::3c3c:8f27:30a1:cd59]) by VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::3c3c:8f27:30a1:cd59%13]) with mapi id 15.20.0077.018; Tue, 3 Oct 2017 06:25:48 +0000 From: Shahaf Shuler To: Ferruh Yigit , Thomas Monjalon CC: "arybchenko@solarflare.com" , "konstantin.ananyev@intel.com" , "jerin.jacob@caviumnetworks.com" , "dev@dpdk.org" Thread-Topic: [PATCH v5 1/3] ethdev: introduce Rx queue offloads API Thread-Index: AQHTO98PhOHaFOIYrk+UdiUVNGp3fKLRmRVQ Date: Tue, 3 Oct 2017 06:25:48 +0000 Message-ID: References: <217b14a0-8416-619f-a4f2-104fcd1f87ad@intel.com> In-Reply-To: <217b14a0-8416-619f-a4f2-104fcd1f87ad@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; VI1PR05MB3151; 6:DGvc0fp0UVxREOGF32b3a5bWJdT6ZPsjgjJMRz4XwrXaSeAvmvvqUjZjG+pqk5aNgdRh4yd0pp51D/mmn886BooqeZEWRBMoS1+C9FamiRQp/CdCBUrNUOjdKPowj5u58gao5RllWBP5WyrCR+imRTM6jEzeW5OuwPa4gpfUuVJVgeBhxW0PlGS7Us7awPvsniuuglDOlEskNQZUsYuabC23cLD0/lo1HjCv8QAWfWy9G7QavgvFHiuwvlJdZW7SCWH3A6y/cUtSLV6lpTFib/TKj9FOA6ApvPGC6nVxE6EyUEyuOOjEg3ZRS+c5KKQutkSW16UACzSPQ5ny0GyC5A==; 5:nwTWoN+RBrwlEwPlby3cBfQ2G1u3yGxf0GtQyWsdSwBWRSTZwgzlwNpHnJDEyhxLIljgAZhz0zZbNzzCngPaPOyCf10ZtOjnAqNF3koAYAywurVa42jBc9Ql/FL844kWPrHLNB6acLRldjp4L2h0nQ==; 24:PXKRtuYYQrhVkdyA6vBr+ainvdZgNUuimgmyo9qIShm1i/0aZXJcs63XRMODVPlywr0mv3wnYF817ATACkJO/q2MsIXpJ87hRP/Qd21wxwE=; 7:KgjOfipBeuyWItF9tUyUhLFg0LnfIgDk6PNQMVuWpLa0E7eQawc/tA6LvgvgO1qE3rjIoHsFE2mxr40SDqX6WXeXYQ7oQMXR3aTQYiWvgL6+p3SvPwS/HPRAwe7BWGy1Z2cMUqGtWr3FdgAIW65TaD+qh2TJoRrSwi2d8sNz4NP5QqHJQldIHkc0hILY0z6M82YjfZTTv149S9NeARrnKQtwpHfdR43rLuCnavam2Lc= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 25a39fad-4291-4181-de84-08d50a27965e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:VI1PR05MB3151; x-ms-traffictypediagnostic: VI1PR05MB3151: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-exchange-antispam-report-test: UriScan:(20558992708506)(278428928389397); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123560025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR05MB3151; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR05MB3151; x-forefront-prvs: 044968D9E1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(346002)(376002)(39860400002)(24454002)(199003)(189002)(377454003)(305945005)(55016002)(2950100002)(189998001)(99286003)(7696004)(86362001)(6246003)(33656002)(9686003)(54906003)(53936002)(74316002)(3660700001)(316002)(14454004)(105586002)(3280700002)(106356001)(50986999)(76176999)(5660300001)(54356999)(110136005)(102836003)(66066001)(25786009)(101416001)(6436002)(3846002)(2900100001)(6116002)(68736007)(2906002)(53546010)(4326008)(478600001)(8936002)(8676002)(5250100002)(97736004)(93886005)(6506006)(81166006)(81156014)(229853002)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB3151; H:VI1PR05MB3149.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) 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-originalarrivaltime: 03 Oct 2017 06:25:48.4345 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3151 Subject: Re: [dpdk-dev] [PATCH v5 1/3] ethdev: introduce Rx queue 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: Tue, 03 Oct 2017 06:25:50 -0000 SGkgRmVycnVoLA0KDQpUdWVzZGF5LCBPY3RvYmVyIDMsIDIwMTcgMzozMiBBTSwgRmVycnVoIFlp Z2l0Og0KPiBPbiA5LzI4LzIwMTcgNzo1NCBQTSwgU2hhaGFmIFNodWxlciB3cm90ZToNCj4gPiBJ bnRyb2R1Y2UgYSBuZXcgQVBJIHRvIGNvbmZpZ3VyZSBSeCBvZmZsb2Fkcy4NCj4gPg0KPiA+IElu IHRoZSBuZXcgQVBJLCBvZmZsb2FkcyBhcmUgZGl2aWRlZCBpbnRvIHBlci1wb3J0IGFuZCBwZXIt cXVldWUNCj4gPiBvZmZsb2Fkcy4gVGhlIFBNRCByZXBvcnRzIGNhcGFiaWxpdHkgZm9yIGVhY2gg b2YgdGhlbS4NCj4gPiBPZmZsb2FkcyBhcmUgZW5hYmxlZCB1c2luZyB0aGUgZXhpc3RpbmcgREVW X1JYX09GRkxPQURfKiBmbGFncy4NCj4gPiBUbyBlbmFibGUgcGVyLXBvcnQgb2ZmbG9hZCwgdGhl IG9mZmxvYWQgc2hvdWxkIGJlIHNld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