[dpdk-dev] Thread safety in rte_acl
Ananyev, Konstantin
konstantin.ananyev at intel.com
Mon Jan 8 12:42:27 CET 2018
>
> 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, but applying them (calling rte_acl_build()) is not.
Konstantin
More information about the dev
mailing list