From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id BFBA88DA0 for ; Fri, 14 Aug 2015 11:25:06 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 14 Aug 2015 02:25:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,676,1432623600"; d="scan'208";a="784017845" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.208.63]) by orsmga002.jf.intel.com with SMTP; 14 Aug 2015 02:25:03 -0700 Received: by (sSMTP sendmail emulation); Fri, 14 Aug 2015 10:25:03 +0025 Date: Fri, 14 Aug 2015 10:25:02 +0100 From: Bruce Richardson To: "Yeddula, Avinash" Message-ID: <20150814092502.GA8916@bricha3-MOBL3> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) 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: Fri, 14 Aug 2015 09:25:07 -0000 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 the 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 different 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 Just to confirm: this is using the extensible bucket hash in the rte_table library of packet framework, rather than the standalone rte_hash library, right? /Bruce