[dpdk-dev] ACL lookup doesn't work for some schemes

2015-02-15 Thread
I tested against DPDK 1.7.0, 1.8.0 and trunk(?ed2547b6).? > From: yuzhichang_scl at hotmail.com > To: dev at dpdk.org > Subject: RE: ACL lookup doesn't work for some schemes > Date: Sun, 15 Feb 2015 17:23:53 +0800 > > Sorry I forgot to attach the sample code i

[dpdk-dev] ACL lookup doesn't work for some schemes

2015-02-15 Thread
Sorry I forgot to attach the sample code in previous mail. See the attached. From: yuzhichang_...@hotmail.com To: dev at dpdk.org Subject: ACL lookup doesn't work for some schemes Date: Sun, 15 Feb 2015 17:18:55 +0800 Hi,I noticed that ACL lookup doesn't work for some schemes.1. If the fir

[dpdk-dev] ACL lookup doesn't work for some schemes

2015-02-15 Thread
Hi,I noticed that ACL lookup doesn't work for some schemes.1. If the first field is not uint8_t, even all fields are wildcard, lookup doesn't find the matching rule. See acl_8last.c.2. I prepended a uint8_t field, keep other fields be wildcard, lookup returns the correct result. See acl_8las