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 DF9D98D99 for ; Thu, 13 Aug 2015 23:37:26 +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 t7DLYeuW011607 for ; Thu, 13 Aug 2015 17:37:25 -0400 Received: from mdwvexchht01.ciena.com (LIN1-118-36-28.ciena.com [63.118.36.28]) by mx0a-00103a01.pphosted.com with ESMTP id 1w92x0r282-2 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Thu, 13 Aug 2015 17:37:25 -0400 Received: from ONWVEXCHHT04.ciena.com (10.128.6.44) by MDWVEXCHHT01.ciena.com (10.4.156.175) with Microsoft SMTP Server (TLS) id 8.3.389.2; Thu, 13 Aug 2015 17:37:22 -0400 Received: from ONWVEXCHMB01.ciena.com ([10.128.6.18]) by ONWVEXCHHT04.ciena.com ([::1]) with mapi; Thu, 13 Aug 2015 17:37:22 -0400 From: "Yeddula, Avinash" To: "dev@dpdk.org" Date: Thu, 13 Aug 2015 17:37:21 -0400 Thread-Topic: [ 2nd try ] Lookup mechanim in DPDK HASH table. Thread-Index: AdDWEC6OvyssoEwzRkW/rjWnlKZeIQ== 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-11.0.0.4179-8.000.1202-21744.003 X-TM-AS-Result: No--0.845100-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-13_10:2015-08-13,2015-08-13,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-1508130328 Subject: [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: Thu, 13 Aug 2015 21:37:27 -0000 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 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