From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id F38EEA0096 for ; Fri, 7 Jun 2019 18:59:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 046331BAE5; Fri, 7 Jun 2019 18:59:38 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 381DF1B956 for ; Fri, 7 Jun 2019 18:59:36 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Jun 2019 09:59:35 -0700 X-ExtLoop1: 1 Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by fmsmga004.fm.intel.com with ESMTP; 07 Jun 2019 09:59:34 -0700 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.227]) by IRSMSX154.ger.corp.intel.com ([169.254.12.45]) with mapi id 14.03.0415.000; Fri, 7 Jun 2019 17:59:33 +0100 From: "Ananyev, Konstantin" To: Stephen Hemminger , "dev@dpdk.org" CC: "Richardson, Bruce" , Andrew Rybchenko Thread-Topic: [dpdk-dev] [PATCH v4 5/8] net/ether: mark ethernet addresses as being 2-byte aligned Thread-Index: AQHVG8oPdxngQmJc6ke6tdkLqz2II6aQa/5w Date: Fri, 7 Jun 2019 16:59:32 +0000 Message-ID: <2601191342CEEE43887BDE71AB97725801688E1B70@IRSMSX104.ger.corp.intel.com> References: <20190516180427.17270-1-stephen@networkplumber.org> <20190605180948.22414-1-stephen@networkplumber.org> <20190605180948.22414-6-stephen@networkplumber.org> In-Reply-To: <20190605180948.22414-6-stephen@networkplumber.org> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjU2MDBkZDMtZWUyZC00ZjNkLTliMmUtZTRjYzE2NDlkMmYyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiV2NXZ2h1Uk9NaFBLU09hZFwvbEhZNkxnQVNrNU5jNVVJaUZ3bW1GY2dBcnc2TndLRHJBdHRtM0ljWWlsSzcxSWsifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 5/8] net/ether: mark ethernet addresses as being 2-byte aligned 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBTdGVwaGVuIEhlbW1pbmdlcg0KPiBTZW50 OiBXZWRuZXNkYXksIEp1bmUgNSwgMjAxOSA3OjEwIFBNDQo+IFRvOiBkZXZAZHBkay5vcmcNCj4g Q2M6IFJpY2hhcmRzb24sIEJydWNlIDxicnVjZS5yaWNoYXJkc29uQGludGVsLmNvbT47IFN0ZXBo ZW4gSGVtbWluZ2VyIDxzdGVwaGV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