Re: [ovs-dev] [PATCH 2/2] dpif-avx512: Add support for simple match lookup.

2022-07-07 Thread Ferriter, Cian
> -Original Message- > From: Pai G, Sunil > Sent: Thursday 7 July 2022 10:23 > To: Ferriter, Cian ; ovs-dev@openvswitch.org > Subject: RE: [ovs-dev] [PATCH 2/2] dpif-avx512: Add support for simple match > lookup. > > Hi Cian, > > > +if (

Re: [ovs-dev] [PATCH 2/2] dpif-avx512: Add support for simple match lookup.

2022-07-07 Thread Pai G, Sunil
Hi Cian, > +if (!f) { > +/* Any miss in Simple Match means an upcall is needed. > Fall > + * back to the scalar DPIF to do this. */ > +return -1; > +} > + > +rules[i] = >cr; > +n_simple_hit++; > +

Re: [ovs-dev] [PATCH 2/2] dpif-avx512: Add support for simple match lookup.

2022-06-30 Thread Van Haaren, Harry
> -Original Message- > From: dev On Behalf Of Cian Ferriter > Sent: Thursday, June 30, 2022 3:51 PM > To: ovs-dev@openvswitch.org > Subject: [ovs-dev] [PATCH 2/2] dpif-avx512: Add support for simple match > lookup. > > Perform scalar simple match lookup i

[ovs-dev] [PATCH 2/2] dpif-avx512: Add support for simple match lookup.

2022-06-30 Thread Cian Ferriter
Perform scalar simple match lookup in AVX512 DPIF by reusing the simple match lookup functions. The simple match lookup is placed in a separate per packet loop before the batch miniflow extract call since miniflow extract can be skipped when simple match is being used. Unsuccessful lookup during