From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-00103a01.pphosted.com (mx0a-00103a01.pphosted.com [67.231.144.234]) by dpdk.org (Postfix) with ESMTP id D8D9F8D38 for ; Thu, 13 Aug 2015 00:04:01 +0200 (CEST) Received: from pps.filterd (m0000419.ppops.net [127.0.0.1]) by mx0a-00103a01.pphosted.com (8.14.5/8.14.5) with SMTP id t7CM05Vr019486 for ; Wed, 12 Aug 2015 18:04:00 -0400 Received: from vawvcgsie2k1302.ciena.com (LIN1-118-36-36.ciena.com [63.118.36.36]) by mx0a-00103a01.pphosted.com with ESMTP id 1w7qt3m920-1 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 12 Aug 2015 18:04:00 -0400 Received: from VAWVE2K13MBX02.ciena.com (10.4.156.88) by VAWVCGSIE2K1302.ciena.com (10.4.62.16) with Microsoft SMTP Server (TLS) id 15.0.847.32; Wed, 12 Aug 2015 18:03:58 -0400 Received: from ONWVEXCHHT03.ciena.com (10.128.6.43) by VAWVE2K13MBX02.ciena.com (10.4.156.88) with Microsoft SMTP Server (TLS) id 15.0.847.32; Wed, 12 Aug 2015 18:03:58 -0400 Received: from ONWVEXCHMB01.ciena.com ([10.128.6.18]) by ONWVEXCHHT03.ciena.com ([::1]) with mapi; Wed, 12 Aug 2015 18:03:57 -0400 From: "Yeddula, Avinash" To: "dev@dpdk.org" Date: Wed, 12 Aug 2015 18:03:56 -0400 Thread-Topic: Lookup mechanim in DPDK HASH table. Thread-Index: AdDVSsiQxs8S21tUQ/SKiw+pFL11uQ== Message-ID: Accept-Language: en-US, en-CA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-CA x-tm-as-product-ver: SMEX-10.0.0.1412-7.000.1014-21742.003 x-tm-as-result: No--42.929100-8.000000-31 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No 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-12_11:2015-08-12,2015-08-12,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-1506180000 definitions=main-1508120315 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] 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: Wed, 12 Aug 2015 22:04:02 -0000 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 ha= sh 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 ke= ys on the same frame on the same table. Use case: Src mac lookup and dst mac lookup on the same mac table. Thanks -Avinash