From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by dpdk.org (Postfix) with ESMTP id C54D8475E for ; Mon, 13 Jun 2016 13:45:27 +0200 (CEST) Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u5DBiWX8003929 for ; Mon, 13 Jun 2016 07:45:27 -0400 Received: from e06smtp09.uk.ibm.com (e06smtp09.uk.ibm.com [195.75.94.105]) by mx0a-001b2d01.pphosted.com with ESMTP id 23gf58bcwe-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 13 Jun 2016 07:45:26 -0400 Received: from localhost by e06smtp09.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 13 Jun 2016 12:45:24 +0100 Received: from d06dlp03.portsmouth.uk.ibm.com (9.149.20.15) by e06smtp09.uk.ibm.com (192.168.101.139) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 13 Jun 2016 12:44:02 +0100 X-IBM-Helo: d06dlp03.portsmouth.uk.ibm.com X-IBM-MailFrom: zrlkos@ch.ibm.com X-IBM-RcptTo: users@dpdk.org Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 19A301B08061 for ; Mon, 13 Jun 2016 12:45:10 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u5DBi2877864800 for ; Mon, 13 Jun 2016 11:44:02 GMT Received: from d06av04.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u5DBi15E001265 for ; Mon, 13 Jun 2016 05:44:01 -0600 Received: from e39.co.us.ibm.com (e39.boulder.ibm.com [9.17.249.49]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u5DBi0LV001229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Jun 2016 05:44:01 -0600 Received: from localhost by e39.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 13 Jun 2016 05:44:00 -0600 Received: from smtp.notes.na.collabserv.com (192.155.248.90) by e39.co.us.ibm.com (192.168.2.139) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256/256) Mon, 13 Jun 2016 05:43:59 -0600 X-IBM-Helo: smtp.notes.na.collabserv.com X-IBM-MailFrom: zrlkos@ch.ibm.com X-IBM-RcptTo: users@dpdk.org Received: from /spool/local by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for from ; Mon, 13 Jun 2016 11:43:58 -0000 Received: from us1a3-smtp01.a3.dal06.isc4sb.com (10.106.154.95) by smtp.notes.na.collabserv.com (10.106.227.141) with smtp.notes.na.collabserv.com ESMTP; Mon, 13 Jun 2016 11:43:55 -0000 Received: from us1a3-mail159.a3.dal06.isc4sb.com ([10.146.71.254]) by us1a3-smtp01.a3.dal06.isc4sb.com with ESMTP id 2016061311435482-197688 ; Mon, 13 Jun 2016 11:43:54 +0000 To: users@dpdk.org From: "Akos Mate" Date: Mon, 13 Jun 2016 13:43:54 +0200 MIME-Version: 1.0 X-KeepSent: 01906321:BAAAAECF-C1257FD1:0040164B; type=4; name=$KeepSent X-Mailer: IBM Notes Release 9.0.1FP5 SHF190 February 24, 2016 X-LLNOutbound: False X-Disclaimed: 787 X-TNEFEvaluated: 1 x-cbid: 16061311-0036-0000-0000-000001EC8E9E X-IBM-ISS-SpamDetectors: Score=0.439231; BY=0; FL=0.125; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.439231; ST=0; TS=0; UL=0; ISC= X-IBM-ISS-DetailInfo: BY=3.00005375; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000170; SDB=6.00715660; UDB=6.00333372; UTC=2016-06-13 11:43:56 x-cbparentid: 16061311-7792-0000-0000-000004032AA2 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-06-13_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1604210000 definitions=main-1606130135 X-Mailman-Approved-At: Mon, 13 Jun 2016 21:24:56 +0200 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] hash lookup docs X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2016 11:45:28 -0000 Hi, I think, the documentation is wrong here:=20 http://dpdk.org/doc/api/rte=5F=5Fhash=5F8h.html#a1bd8f85b9c99eea0a619acc1d6= ce2b2c The return value is most of the times not 0 on successful lookup. It seems = to return some kind of index value of the found data, and negative if not=20 found.