Re: [ovs-dev] [v8 02/12] dpif-netdev: Add auto validation function for miniflow extract

2021-07-11 Thread Amber, Kumar
Hi Flavio > > +if (keys_size < cnt) { > > +miniflow_extract_func default_func = NULL; > > +atomic_uintptr_t *pmd_func = (void *)&pmd->miniflow_extract_opt; > > +atomic_store_relaxed(pmd_func, (uintptr_t) default_func); > > +VLOG_ERR("Invalid key size supplied

Re: [ovs-dev] [v8 02/12] dpif-netdev: Add auto validation function for miniflow extract

2021-07-10 Thread Flavio Leitner
On Fri, Jul 09, 2021 at 05:35:52PM +0530, kumar Amber wrote: > From: Kumar Amber > > This patch introduced the auto-validation function which > allows users to compare the batch of packets obtained from > different miniflow implementations against the linear > miniflow extract and return a hitmas

[ovs-dev] [v8 02/12] dpif-netdev: Add auto validation function for miniflow extract

2021-07-09 Thread kumar Amber
From: Kumar Amber This patch introduced the auto-validation function which allows users to compare the batch of packets obtained from different miniflow implementations against the linear miniflow extract and return a hitmask. The autovaidator function can be triggered at runtime using the follo