Re: [dpdk-dev] 回复:RE: Thread safety in rte_acl

2018-01-08 Thread Ramia, Kannan Babu
You can look at the source of anyone of the applications in samplevnf project in OPNFV which uses the active/shadow method for dynamically modifying the rules and applying them. Regards Kannan Babu -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Sent: Monday

Re: [dpdk-dev] 回复:RE: Thread safety in rte_acl

2018-01-08 Thread Ananyev, Konstantin
>> 2. Is it safe that one >> thread will run  "rte_acl_classify" when another thread tries to add new >> rules to same ctx? thanks, >Just add new rules is safe, but applying them (calling rte_acl_build()) is not. > In my case, there are two process sharing hugepage memory(struct > rte_acl_ct