From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40077.outbound.protection.outlook.com [40.107.4.77]) by dpdk.org (Postfix) with ESMTP id A58DA1B742 for ; Mon, 9 Apr 2018 09:41:59 +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=tqATt3pUDEwwms8A1SBsoBs7qfVdzbIdT/R405vdjoI=; b=VXzOW44WSO6v4BbB37VpfkB1VesrW+aV/1GNgzww0G4Bbr6qGH+CXLwYNEg9+hoP7LUFPcs2nimdCQVHrzApObiqYr3wGGy7duG+TTdrV0JtYmVftW9YusdA6uMwAOpuPEIFvA3296NCiM5Gi4hPWy3fvi3dMJMVu7NYNSsAmaU= Received: from AM4PR0501MB2657.eurprd05.prod.outlook.com (10.172.215.19) by AM4PR0501MB2657.eurprd05.prod.outlook.com (10.172.215.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.653.12; Mon, 9 Apr 2018 07:41:58 +0000 Received: from AM4PR0501MB2657.eurprd05.prod.outlook.com ([fe80::6885:c169:afcb:37e6]) by AM4PR0501MB2657.eurprd05.prod.outlook.com ([fe80::6885:c169:afcb:37e6%7]) with mapi id 15.20.0653.015; Mon, 9 Apr 2018 07:41:58 +0000 From: Matan Azrad To: Gaetan Rivet , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 18/20] ethdev: register ether layer as a class Thread-Index: AQHTx6TZhRM1GUl2xUqbe/59GM6SN6P4GxAA Date: Mon, 9 Apr 2018 07:41:58 +0000 Message-ID: References: <06ec9fd8f884c6d3cffb8a24c0d9ac71d589812d.1522358422.git.gaetan.rivet@6wind.com> In-Reply-To: <06ec9fd8f884c6d3cffb8a24c0d9ac71d589812d.1522358422.git.gaetan.rivet@6wind.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM4PR0501MB2657; 7:wN7UIcSLDZaUUfuqJg1+ifgvxPBSviKeAbSi6k6G2F6A6RzHfI1HXjaU0vcvZm5n7gaLMAB+FnCVidrVDt2q0TsKnEIRwDhcYjuuqq9QKWeyxWBzBUBPtD/bFFBRjlK+S/tHHQK6gUDrTEdlSOS2rRRsyfH2P7ENARcgxT/Vw1f6duqYXq8vPVqO9vY8n4CzDWlbitneXPMwiOq0jGW9AdMDW71dTk05dZi+rSffbdlaPxYjvke8HlVWwPBHS+Y+ x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: a6266760-4259-4c59-b766-08d59ded5ff8 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM4PR0501MB2657; x-ms-traffictypediagnostic: AM4PR0501MB2657: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(278428928389397); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(6072148)(201708071742011); SRVR:AM4PR0501MB2657; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0501MB2657; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(396003)(39380400002)(346002)(376002)(39860400002)(189003)(199004)(68736007)(186003)(105586002)(25786009)(6246003)(9686003)(76176011)(55016002)(3846002)(8936002)(3660700001)(66066001)(2906002)(26005)(81166006)(5250100002)(81156014)(3280700002)(478600001)(6116002)(14454004)(7696005)(11346002)(5660300001)(110136005)(476003)(86362001)(446003)(33656002)(8676002)(74316002)(102836004)(2501003)(53936002)(106356001)(486006)(97736004)(6436002)(7736002)(305945005)(229853002)(2900100001)(6506007)(316002)(99286004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM4PR0501MB2657; H:AM4PR0501MB2657.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Fz+QfOrvSSUu12BcahsoZQ0X6ghng34cSR/YZS5yvXMtUDvD6mHxd77ht/lKAd8sSeCz1dWrERRFvGqV1CsIiJWacUzPxzEgEToqrJCUM9YZIbsnm0ay9IUgyQc2ia7NiGJEnlPefzg1zjXBVGzMEQjtOXgDJvWCoF8SDhfhlgOiIhJyW2gOt37/w3uzWirFU4pxdejKevq2AHoiNvVVqhQ7cHaY+PNyllvzcrMLL08Os4Czg81ry4JFTzimFMQuApyejaUNLQogi451qCdPsVr/dAKo+uw7sA1XuKUeiw5l/I1kyryDiX2LWxBvplHBtRKeg42eSqiktRLfk04RyYh1mTGTnd/feJMeXIERiteNto120sNHnUHdyq7mK4DSe7spRu3TH180vKdrto10ZzmKsp7yZurcv8sJNus9VqM= 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: a6266760-4259-4c59-b766-08d59ded5ff8 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 07:41:58.5113 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0501MB2657 Subject: Re: [dpdk-dev] [PATCH v4 18/20] ethdev: register ether layer as a class 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, 09 Apr 2018 07:41:59 -0000 SGkgR2FldGFuDQoNCkZyb206IEdhZXRhbiBSaXZldCwgRnJpZGF5LCBNYXJjaCAzMCwgMjAxOCAx MjoyNCBBTQ0KPiBTaWduZWQtb2ZmLWJ5OiBHYWV0YW4gUml2ZXQgPGdhZXRhbi5yaXZldEA2d2lu ZC5jb20+DQo+IC0tLQ0KPiAgbGliL01ha2VmaWxlICAgICAgICAgICAgICAgICAgICAgfCAgMiAr LQ0KPiAgbGliL2xpYnJ0ZV9ldGhlci9NYWtlZmlsZSAgICAgICAgfCAgMyArLQ0KPiAgbGliL2xp YnJ0ZV9ldGhlci9ydGVfY2xhc3NfZXRoLmMgfCA3Mw0KPiArKysrKysrKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrKysrDQo+ICAzIGZpbGVzIGNoYW5nZWQsIDc2IGluc2VydGlvbnMoKyks IDIgZGVsZXRpb25zKC0pICBjcmVhdGUgbW9kZSAxMDA2NDQNCj4gbGliL2xpYnJ0ZV9ldGhlci9y dGVfY2xhc3NfZXRoLmMNCj4gDQo+IGRpZmYgLS1naXQgYS9saWIvTWFrZWZpbGUgYi9saWIvTWFr ZWZpbGUgaW5kZXggNDIwNjQ4NWQzLi40NzUxM2YwM2YgMTAwNjQ0DQo+IC0tLSBhL2xpYi9NYWtl ZmlsZQ0KPiArKysgYi9saWIvTWFrZWZpbGUNCj4gQEAgLTIzLDcgKzIzLDcgQEAgRElSUy0kKENP TkZJR19SVEVfTElCUlRFX0NNRExJTkUpICs9DQo+IGxpYnJ0ZV9jbWRsaW5lICBERVBESVJTLWxp YnJ0ZV9jbWRsaW5lIDo9IGx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