[dpdk-dev] ACL-Dynamic Adding or Deleting rules

2015-06-05 Thread Sugumaran, Varthamanan
Hi,
Is there is a way to add/delete a single ACL rule in librte_acl?
I had looked at the library and found no method to add/delete a rule 
dynamically to the existing ACL context.
Please let me know if there are any alternate ways of doing it.

Thanks
Vartha


[dpdk-dev] ACL-Dynamic Adding or Deleting rules

2015-06-05 Thread Ananyev, Konstantin


> -Original Message-
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Sugumaran, Varthamanan
> Sent: Friday, June 05, 2015 6:22 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] ACL-Dynamic Adding or Deleting rules
> 
> Hi,
> Is there is a way to add/delete a single ACL rule in librte_acl?
> I had looked at the library and found no method to add/delete a rule 
> dynamically to the existing ACL context.

No, you always have to call rte_acl_build() to regenerate the whole RT table.
Konstantin


> Please let me know if there are any alternate ways of doing it.
> 
> Thanks
> Vartha