Re: [dpdk-dev] Thread safety in rte_acl

2018-01-08 Thread Ananyev, Konstantin
> > Hi, I have two questions : 1. Is it safe that multiple threads will run > "rte_acl_classify" in parallel (on the same ctx )? Yes. > 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, b

[dpdk-dev] Thread safety in rte_acl

2018-01-07 Thread ????????
Hi, I have two questions : 1. Is it safe that multiple threads will run "rte_acl_classify" in parallel (on the same ctx )? 2. Is it safe that one thread will run "rte_acl_classify" when another thread tries to add new rules to same ctx? thanks,