From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [ 2nd try ] Lookup mechanim in DPDK HASH table. Date: Fri, 14 Aug 2015 10:25:02 +0100 Message-ID: <20150814092502.GA8916@bricha3-MOBL3> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "dev@dpdk.org" To: "Yeddula, Avinash" 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) Content-Disposition: inline In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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