[dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table.

Bruce Richardson bruce.richardson at intel.com
Fri Aug 14 11:25:02 CEST 2015


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 at dpdk.org] On Behalf Of Yeddula, Avinash
> Sent: Wednesday, August 12, 2015 3:04 PM
> To: dev at 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


More information about the dev mailing list