From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7F6BFA0487 for ; Fri, 5 Jul 2019 17:45:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 62B2A1B9DF; Fri, 5 Jul 2019 17:45:52 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 9E9F21B9DE for ; Fri, 5 Jul 2019 17:45:50 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jul 2019 08:45:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,455,1557212400"; d="scan'208";a="167079338" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by orsmga003.jf.intel.com with ESMTP; 05 Jul 2019 08:45:48 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX109.ger.corp.intel.com (163.33.3.23) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 5 Jul 2019 16:45:47 +0100 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.45]) by irsmsx155.ger.corp.intel.com ([169.254.14.201]) with mapi id 14.03.0439.000; Fri, 5 Jul 2019 16:45:47 +0100 From: "Richardson, Bruce" To: Olivier Matz , Stephen Hemminger CC: "dev@dpdk.org" , Andrew Rybchenko Thread-Topic: [dpdk-dev] [PATCH v7 05/12] net/ether: mark ethernet addresses as being 2-byte aligned Thread-Index: AQHVMSNUFVfgqdfsJEmw0UsJDB8xoaa8Cl4AgAAkFxA= Date: Fri, 5 Jul 2019 15:45:46 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B07ED9FFBA@IRSMSX103.ger.corp.intel.com> References: <20190516180427.17270-1-stephen@networkplumber.org> <20190702221247.28391-1-stephen@networkplumber.org> <20190702221247.28391-6-stephen@networkplumber.org> <20190705143408.hm4jdvtxkdny27u3@platinum> In-Reply-To: <20190705143408.hm4jdvtxkdny27u3@platinum> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTIyMGNjYzQtOWNlYy00YzVlLWFhNGItNjEzN2ViOWI0MDlmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiYng4MFJJeVFlUVVNOXIwMmJlUkNkSFJWSnBsUlwvaWVhMGNaZjZTOFlUaTl3K25CMkpoOVZLcHE4VHArTytOZGMifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v7 05/12] 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogT2xpdmllciBNYXR6IFtt YWlsdG86b2xpdmllci5tYXR6QDZ3aW5kLmNvbV0NCj4gU2VudDogRnJpZGF5LC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