Re: [vpp-dev] ACL Match in fa_node.c

2017-05-23 Thread
Hi Andrew! -- Original -- From: "Andrew 👽 Yourtchenko"; Date: Tue, May 23, 2017 07:56 PM To: "张攀"; Cc: "vpp-dev"; Subject: Re: [vpp-dev] ACL Match in fa_node.c Hi! On 5/23/17, 张攀 wrote: > Hi guys, > > >

[vpp-dev] ACL Match in fa_node.c

2017-05-23 Thread
Hi guys, I looked into the source code of vpp/src/plugin/acl/fa_node.c, in function full_acl_match_5tuple(), it seems that every ingress packet is matching against each ACL rule stored in acl_main->acls in a for-loop manner. This seems not fairly effective. Besides, I notice that in vpp/src/p

[vpp-dev] Multiple RX-queues on Intel 82540EM?

2017-05-21 Thread
Hi All, Currently I am trying to configure multiple RX-queues(RSS) for a Intel 82540EM(e1000) and a Virtio interface of a VM. I modified the /etc/vpp/startup.conf file, trying to enable 2 rx-queues on each interface: dpdk { dev default { num-rx-queues 2 } dev :00:06.