From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-00103a01.pphosted.com (mx0b-00103a01.pphosted.com [67.231.152.227]) by dpdk.org (Postfix) with ESMTP id 3AC338DB0 for ; Fri, 14 Aug 2015 18:28:54 +0200 (CEST) Received: from pps.filterd (m0002317.ppops.net [127.0.0.1]) by mx0b-00103a01.pphosted.com (8.14.5/8.14.5) with SMTP id t7EGOmN7002397; Fri, 14 Aug 2015 12:28:52 -0400 Received: from vawvcgsie2k1302.ciena.com (LIN1-118-36-36.ciena.com [63.118.36.36]) by mx0b-00103a01.pphosted.com with ESMTP id 1w92uhjqey-1 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Fri, 14 Aug 2015 12:28:52 -0400 Received: from MDWEXCHCGSIHT01.ciena.com (10.4.140.106) by VAWVCGSIE2K1302.ciena.com (10.4.62.16) with Microsoft SMTP Server (TLS) id 15.0.847.32; Fri, 14 Aug 2015 12:28:51 -0400 Received: from ONWVEXCHHT01.ciena.com (10.128.6.16) by MDWEXCHCGSIHT01.ciena.com (10.4.140.106) with Microsoft SMTP Server (TLS) id 8.3.389.2; Fri, 14 Aug 2015 12:28:51 -0400 Received: from ONWVEXCHMB01.ciena.com ([10.128.6.18]) by ONWVEXCHHT01.ciena.com ([::1]) with mapi; Fri, 14 Aug 2015 12:28:50 -0400 From: "Yeddula, Avinash" To: Bruce Richardson Date: Fri, 14 Aug 2015 12:28:49 -0400 Thread-Topic: [dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table. Thread-Index: AdDWcxyslAg/0YgxTxSpY7UiZ0IKRgAOw0ug Message-ID: 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: acceptlanguage: en-US X-TM-AS-Product-Ver: SMEX-11.0.0.4179-8.000.1202-21744.005 X-TM-AS-Result: No--2.774200-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33, 0.0.0000 definitions=2015-08-14_06:2015-08-13,2015-08-14,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1508030000 definitions=main-1508140234 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 16:28:54 -0000 That's correct Bruce. Thanks -Avinash -----Original Message----- From: Bruce Richardson [mailto:bruce.richardson@intel.com]=20 Sent: Friday, August 14, 2015 2:25 AM To: Yeddula, Avinash Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [ 2nd try ] Lookup mechanim in DPDK HASH table. On Thu, Aug 13, 2015 at 05:37:21PM -0400, Yeddula, Avinash wrote: > Any comments on this question ? >=20 > Thanks > -Avinash >=20 > -----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. >=20 > Hello All, >=20 > I'm using DPDK extendable hash tables. This question is with respect to t= he 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. >=20 > 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. >=20 > 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, r= ight? /Bruce