From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id BF8A65958 for ; Wed, 9 Sep 2015 12:41:08 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 09 Sep 2015 03:40:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,496,1437462000"; d="scan'208";a="558210885" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by FMSMGA003.fm.intel.com with ESMTP; 09 Sep 2015 03:40:50 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.12]) by IRSMSX103.ger.corp.intel.com ([169.254.3.251]) with mapi id 14.03.0224.002; Wed, 9 Sep 2015 11:40:49 +0100 From: "Dumitrescu, Cristian" To: "Azarewicz, PiotrX T" , "dev@dpdk.org" Thread-Topic: [PATCH v2 1/1] ip_frag: fix creating ipv6 fragment extension header Thread-Index: AQHQ6kBs5A6XBTraQkmSw5bumsye8J40AyXA Date: Wed, 9 Sep 2015 10:40:48 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D89126478B8E91@IRSMSX108.ger.corp.intel.com> References: <1441203181-15487-1-git-send-email-piotrx.t.azarewicz@intel.com> <1441721267-19142-1-git-send-email-piotrx.t.azarewicz@intel.com> In-Reply-To: <1441721267-19142-1-git-send-email-piotrx.t.azarewicz@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 1/1] ip_frag: fix creating ipv6 fragment extension header X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2015 10:41:09 -0000 > -----Original Message----- > From: Azarewicz, PiotrX T > Sent: Tuesday, September 8, 2015 5:08 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian; Ananyev, Konstantin; Azarewicz, PiotrX T > Subject: [PATCH v2 1/1] ip_frag: fix creating ipv6 fragment extension hea= der >=20 > Previous implementation won't work on every environment. The order of > allocation of bit-fields within a unit (high-order to low-order or > low-order to high-order) is implementation-defined. > Solution: used bytes instead of bit fields. >=20 > v2 changes: > - remove useless union > - fix process_ipv6 function (due to remove the union above) >=20 > Signed-off-by: Piotr Azarewicz > --- Acked-by: Cristian Dumitrescu