From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0089.outbound.protection.outlook.com [104.47.2.89]) by dpdk.org (Postfix) with ESMTP id 583A4239 for ; Mon, 27 Nov 2017 08:03:56 +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=JnQSsV1/gMVF43iH8dsY2zyYgdrwkqbeje5Vx3NlqGw=; b=LUrIegE8m9I6EBwYr3i5FRbJPjQ+x/nli3BeowxOROmuDdXsza8c/E1LO6T+ouBng1OXUrNtHhvfP/MAB7bHwck4iD6PKjOSiu4W1FlFOnMILqWIqD7pDHgYCbfp2PTtvft9H8pB2blAUlz5P0smCBQgrtbjbmM/Hs/Cy8nxBsY= 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.260.4; Mon, 27 Nov 2017 07:03:54 +0000 Received: from VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::3905:ed70:f744:9dc6]) by VI1PR05MB3149.eurprd05.prod.outlook.com ([fe80::3905:ed70:f744:9dc6%13]) with mapi id 15.20.0260.006; Mon, 27 Nov 2017 07:03:54 +0000 From: Shahaf Shuler To: Andrew Rybchenko , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 01/39] examples/l2fwd: convert to new ethdev offloads API Thread-Index: AQHTZTUMlUBSphcODE+Ue7l6LFrgs6MmRqawgAGCk4CAAAaNgA== Date: Mon, 27 Nov 2017 07:03:54 +0000 Message-ID: References: <20171123121419.144132-1-shahafs@mellanox.com> <20171123121419.144132-2-shahafs@mellanox.com> <7229daf4-fffd-764c-ec0f-b30e8be39af3@solarflare.com> In-Reply-To: <7229daf4-fffd-764c-ec0f-b30e8be39af3@solarflare.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:6k1W9cxQjWWgeus2vtoagki1iAI735i8wtZPdFt0BfgGRj+xXuoIh/CEMnYG8AJtLf0GmCJP71PQ11CD7etPICbGCr31s79pU7MoKUGV40DCSRh6PjJ1yjiutl4dpBFEhVnJHX4iXwAEYR7qF+1gs9NcMjCsLL9dyCgnwHbRb6lDSljtD+PocWkuJ+fdT8CNyKgd2VL+xsAI89z0DlHxK76K7IksOgBfjDbBxKqUzIr/NNkuFSVHMOW67SSiPyJax/DKv5ecukWVpg83BrCeoMAQol7xYEBZnioEhRspflFq0B0yrKPwUDZZMEOoKfEoRmOoFR2qhqg/TcZ3ifgn6FQxPtxFpqLkLJUN+s4GYHE=; 5:UJ/OqZizFtRZgc6tYomWq2lZRork65QGwphNzbQqac1PTzLI7Vin+JRpopHHv663wssAr6rEQtkA9omNwmU9TqQrUSMiB8wCpQxUFfreftNBiNhIzBObe0ggDkanksru1nFgyNYCAc0+bpUTvO3SLH7bww1DIUKrDXPMSJIdRjI=; 24:/EhWSWsxzcs90Rz6f4qwVuZMb7wclRSdQkzN5Yb5QE9fzlNr5mf2Mpbh1R4clHyMKR1hApQDXM13LDRIJFv3xw2oakFEqO3BY/R+OQMSB+I=; 7:ax5//GbXqvv/FG/sJYjnruJh5O4qbe9rhTFcOeFTARbVVcbcjfomWMvf9b8ef/1U+IDgiUDnScq5c8ZbbW0necMecnbJtnjWsVLibTLuXlZfKegw9kwO9KJbLcZCsaGEUz/agXLTmw7/Owk0b6CqCVhySAqNSKl/dn077XDNg+V5GTQwK8E+w4qUhGo6BkizRoLiAVMbJjcfMnP9TXpnyBaoTUUoBm9u8WHSK5qUbTx4dJQzKTG2kKqnEkmnBEvQ x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6096342c-abdb-4a0d-bc4a-08d5356505ce x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(48565401081)(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603258); SRVR:VI1PR05MB3151; x-ms-traffictypediagnostic: VI1PR05MB3151: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(278428928389397)(227612066756510)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(3231022)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(20161123558100)(6072148)(201708071742011); SRVR:VI1PR05MB3151; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:VI1PR05MB3151; x-forefront-prvs: 0504F29D72 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(39860400002)(366004)(199003)(76104003)(189002)(24454002)(6246003)(316002)(229853002)(2906002)(101416001)(110136005)(14454004)(3846002)(6116002)(3280700002)(54356999)(102836003)(6436002)(5250100002)(50986999)(76176999)(99286004)(54896002)(33656002)(6306002)(53546010)(5660300001)(790700001)(55016002)(6506006)(53936002)(106356001)(105586002)(2501003)(93886005)(9686003)(68736007)(7696005)(97736004)(25786009)(7736002)(86362001)(2900100001)(189998001)(74316002)(81156014)(66066001)(3660700001)(8676002)(478600001)(2950100002)(81166006)(8936002); 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 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6096342c-abdb-4a0d-bc4a-08d5356505ce X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2017 07:03:54.7728 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3151 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH 01/39] examples/l2fwd: convert to new ethdev 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, 27 Nov 2017 07:03:56 -0000 TW9uZGF5LCBOb3ZlbWJlciAyNywgMjAxNyA4OjM1IEFNLCBBbmRyZXcgUnliY2hlbmtvOg0KDQpZ ZXMgdGhpcyBpcyByaWdodC4gTm90IGV4cG9zaW5nIHRoZSBDUkMgb2ZmbG9hZCBmbGFnIG1lYW5z IHRoZSBkZXZpY2UgZG9u4oCZdCBzdXBwb3J0IENSQyBzdHJpcCB0b2dnbGluZywgaG93ZXZlciBp dCBkb2VzIG5vdCBleHBsaWNpdGx5IHNheSBpZiBkZXZpY2UgYWx3YXlzIHN0cmlwL25vdC4NCkkg Z3Vlc3MgZGV2aWNlIHRoYXQgaGFzIHN1Y2ggbGltaXRhdGlvbiBzaG91bGQgc3BlY2lmeSBpdCBv biB0aGUg4oCcTGltaXRhdGlvbuKAnSBzZWN0aW9uIG9mIHRoZSBQTUQgZ3VpZGUuDQoNCklmIGl0 IGlzIGludGVycHJldGVkIGluIHN1Y2ggd2F5IGl0IHNvdW5kcyBsaWtlIGxvc3Mgb2YgZnVuY3Rp b25hbGl0eS4NCkRvbid0IHRoa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