From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 56EAC20F for ; Thu, 26 Mar 2015 18:48:02 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP; 26 Mar 2015 10:48:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,473,1422950400"; d="scan'208";a="671094902" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by orsmga001.jf.intel.com with ESMTP; 26 Mar 2015 10:48:01 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.49]) by IRSMSX152.ger.corp.intel.com ([163.33.192.66]) with mapi id 14.03.0224.002; Thu, 26 Mar 2015 17:47:59 +0000 From: "De Lara Guarch, Pablo" To: Yerden Zhumabekov , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] hash: fix breaking strict-aliasing rules Thread-Index: AQHQZja6lClY83UaE0Oo/yLn1SZY650vDW+g Date: Thu, 26 Mar 2015 17:47:59 +0000 Message-ID: References: <3ba2a35fc1c2e9e3058d678908e2245d88bd7743.1427203852.git.e_zhumabekov@sts.kz> In-Reply-To: <3ba2a35fc1c2e9e3058d678908e2245d88bd7743.1427203852.git.e_zhumabekov@sts.kz> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] hash: fix breaking strict-aliasing rules 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: Thu, 26 Mar 2015 17:48:03 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yerden > Zhumabekov > Sent: Tuesday, March 24, 2015 1:32 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2] hash: fix breaking strict-aliasing rules >=20 > Fix rte_hash_crc() function by making use of uintptr_t variable > to hold a pointer to data being hashed. In this way, casting uint64_t > pointer to uint32_t avoided. >=20 > Signed-off-by: Yerden Zhumabekov Acked-by: Pablo de Lara