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 A9ABE8DB4 for ; Wed, 23 Sep 2015 14:47:52 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 23 Sep 2015 05:47:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,577,1437462000"; d="scan'208";a="811180973" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga002.fm.intel.com with ESMTP; 23 Sep 2015 05:47:50 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.216]) by IRSMSX102.ger.corp.intel.com ([169.254.2.160]) with mapi id 14.03.0248.002; Wed, 23 Sep 2015 13:47:49 +0100 From: "Dumitrescu, Cristian" To: Thomas Monjalon Thread-Topic: [dpdk-dev] DPDK hash function related question Thread-Index: AQHQ9Tx8QFcaIPHkMU2bLpD8i3z7sZ5KENfQ Date: Wed, 23 Sep 2015 12:47:49 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D89126478D6D05@IRSMSX108.ger.corp.intel.com> References: <3EB4FA525960D640B5BDFFD6A3D89126478D64A1@IRSMSX108.ger.corp.intel.com> <10949795.PKElVBY67L@xps13> In-Reply-To: <10949795.PKElVBY67L@xps13> 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 Cc: "dev@dpdk.org" , "Bly, Mike" Subject: Re: [dpdk-dev] DPDK hash function related question 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, 23 Sep 2015 12:47:53 -0000 > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Tuesday, September 22, 2015 4:41 PM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org; Yeddula, Avinash; Bly, Mike > Subject: Re: [dpdk-dev] DPDK hash function related question >=20 > 2015-09-22 10:05, Dumitrescu, Cristian: > > Are you using a DPDK release older than 2.1? > > In DPDK we moved away from test_hash to CRC-based hashes. > > Please take a look at DPDK release 2.1 examples/ip_pipeline application= : > > in pipeline_flow_classification_be.c, we use CRC-based hash functions > > defined in file hash_func.h from the same folder. >=20 > Has it already been said that these functions should be hosted elsewhere? > e.g in librte_hash ;) It is fine with me. Pablo, feel free to look at these functions and move th= em to librte_hash if useful. We are looking to augment these functions to with some more for symmetric h= ashing during 2.2 (hopefully) or 2.3 development, might be better to wait f= or this until that time for a more comprehensible solution. Regards, Cristian