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 6C0578D9E for ; Mon, 17 Aug 2015 16:00:34 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 17 Aug 2015 07:00:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,695,1432623600"; d="scan'208";a="770334955" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by fmsmga001.fm.intel.com with ESMTP; 17 Aug 2015 07:00:32 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.149]) by IRSMSX104.ger.corp.intel.com ([169.254.5.131]) with mapi id 14.03.0224.002; Mon, 17 Aug 2015 15:00:05 +0100 From: "Singh, Jasvinder" To: "Richardson, Bruce" , "Yeddula, Avinash" Thread-Topic: [dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table. Thread-Index: AdDWEC6OvyssoEwzRkW/rjWnlKZeIQAWoiAAAKCu8WA= Date: Mon, 17 Aug 2015 14:00:05 +0000 Message-ID: <54CBAA185211B4429112C315DA58FF6DD265C4@IRSMSX103.ger.corp.intel.com> References: <20150814092502.GA8916@bricha3-MOBL3> In-Reply-To: <20150814092502.GA8916@bricha3-MOBL3> 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 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table. 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: Mon, 17 Aug 2015 14:00:34 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson > Sent: Friday, August 14, 2015 10:25 AM > To: Yeddula, Avinash > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table. >=20 > On Thu, Aug 13, 2015 at 05:37:21PM -0400, Yeddula, Avinash wrote: > > Any comments on this question ? > > > > Thanks > > -Avinash > > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yeddula, Avinash > > Sent: Wednesday, August 12, 2015 3:04 PM > > To: dev@dpdk.org > > Subject: [dpdk-dev] Lookup mechanim in DPDK HASH table. > > > > Hello All, > > > > I'm using DPDK extendable hash tables. This question is with respect to= the > lookup aspect of the hash table. > > I see that there is just one "t->key_offset" that is pre-defined for th= e hash > table. I also understand that the frame needs to carry the "lookup_key / > keys" in the meta data. > > > > Here is my question: How to support more than one lookup with differen= t > keys on the same frame on the same table. > > Use case: Src mac lookup and dst mac lookup on the same mac table. > > > > Thanks > > -Avinash >=20 > Just to confirm: this is using the extensible bucket hash in the rte_tabl= e > library of packet framework, rather than the standalone rte_hash library, > right? >=20 > /Bruce Could you share detail on the two different keys used for lookups. In case = if you are considering bidirectional packet flow between the source and des= tination, symmetric hash can be used- http://www.ndsl.kaist.edu/~kyoungsoo= /papers/TR-symRSS.pdf=20 Jasvinder