From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-000f0801.pphosted.com (mx0b-000f0801.pphosted.com [67.231.152.113]) by dpdk.org (Postfix) with ESMTP id 9477C7EAC for ; Sat, 25 Oct 2014 05:10:33 +0200 (CEST) Received: from pps.filterd (m0048192 [127.0.0.1]) by mx0b-000f0801.pphosted.com (8.14.5/8.14.5) with SMTP id s9P2STnK017816 for ; Fri, 24 Oct 2014 20:19:04 -0700 Received: from hq1wp-exchub01.corp.brocade.com ([144.49.131.13]) by mx0b-000f0801.pphosted.com with ESMTP id 1q7xre0h69-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Fri, 24 Oct 2014 20:19:04 -0700 Received: from HQ1WP-EXHUB01.corp.brocade.com (10.70.36.14) by HQ1WP-EXCHUB01.corp.brocade.com (10.70.36.99) with Microsoft SMTP Server (TLS) id 14.3.123.3; Fri, 24 Oct 2014 20:19:04 -0700 Received: from HQ1-EXCH03.corp.brocade.com ([fe80::b84d:57f5:e24b:1e00]) by HQ1WP-EXHUB01.corp.brocade.com ([fe80::55ee:533:4b9d:a097%12]) with mapi; Fri, 24 Oct 2014 20:19:03 -0700 From: Erik Ziegenbalg To: "dev@dpdk.org" Date: Fri, 24 Oct 2014 20:19:02 -0700 Thread-Topic: rte_acl test-acl app Thread-Index: AQHP8AJswOTEayCvC06SfgAs26yuCQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US 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.12.52, 1.0.28, 0.0.0000 definitions=2014-10-25_01:2014-10-24,2014-10-24,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-1402240000 definitions=main-1410250025 Subject: [dpdk-dev] rte_acl test-acl app 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: Sat, 25 Oct 2014 03:10:33 -0000 Hi everyone,=0A= =0A= I am having trouble to successfully perform a packet classification=0A= using the rte_acl test app. I have my rules.acl and trace.acl files as=0A= follows:=0A= =0A= rules.acl:=0A= @192.168.0.0/24 192.168.0.0/24 400 : 500 1000 : 2000 6/0xff=0A= =0A= trace.acl:=0A= 192.168.0.5 192.168.0.9 450 1002 0x06=0A= =0A= However, the result always comes up as 4294967295 (xFFFFFFFF). I have=0A= dug through the code quite a bit to follow and see what is going on, but=0A= not sure where I went wrong.=0A= =0A= Any help on how the rte_acl_classify function works would be much=0A= appreciated. In understand that the data for rte_acl_classify is a=0A= uint32_t ** and I double checked to make sure I'm passing along proper=0A= values. Is xFFFFFFFF the expected result? If so, I am getting the same=0A= for packets that should not match.=0A= =0A= Thank you,=0A= Erik Ziegenbalg=0A=