Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based optimized miniflow extract

2021-07-02 Thread Eelco Chaudron
On 1 Jul 2021, at 15:26, Flavio Leitner wrote: Yes, these are the standard gcc/clang etc compiler -m switches. Search for "-mavx512bw" on e.g. this GCC page, lists them all; https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html If a compiler does not understand

Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based optimized miniflow extract

2021-07-01 Thread Flavio Leitner
vn.org; Flavio Leitner ; Stokes, Ian > > > > Subject: Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based > > optimized > > miniflow extract > > > > > > > > On 30 Jun 2021, at 15:30, Van Haaren, Harry wrote: > > > > >>

Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based optimized miniflow extract

2021-06-30 Thread Van Haaren, Harry
Harry > >> > >> Cc: d...@openvswitch.org; i.maxim...@ovn.org; Flavio Leitner > ; > >> Stokes, Ian > >> Subject: Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based > >> optimized > >> miniflow extract > >> > >> Thi

Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based optimized miniflow extract

2021-06-30 Thread Eelco Chaudron
>> ; >> Stokes, Ian >> Subject: Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based >> optimized >> miniflow extract >> >> This patch was an interesting patch to review and being reminded about >> endianness, >> and thi

Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based optimized miniflow extract

2021-06-30 Thread Van Haaren, Harry
> -Original Message- > From: Eelco Chaudron > Sent: Wednesday, June 30, 2021 2:12 PM > To: Amber, Kumar ; Van Haaren, Harry > > Cc: d...@openvswitch.org; i.maxim...@ovn.org; Flavio Leitner > ; > Stokes, Ian > Subject: Re: [ovs-dev] [v4 10/12] dpif-ne

Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based optimized miniflow extract

2021-06-30 Thread Eelco Chaudron
This patch was an interesting patch to review and being reminded about endianness, and this site, https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_maskz_permutexvar_epi8=4315, got me through it ;) Some comments below... //Eelco On 17 Jun 2021, at 18:27, Kumar Amber

Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based optimized miniflow extract

2021-06-29 Thread Amber, Kumar
Hi Ian, Pls find my replies inline and Thanks again for review. BR Amber > -Original Message- > From: Stokes, Ian > Sent: Tuesday, June 29, 2021 10:11 PM > To: Amber, Kumar ; d...@openvswitch.org > Cc: i.maxim...@ovn.org > Subject: RE: [ovs-dev] [v4 10/12] dpif-netde

Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based optimized miniflow extract

2021-06-29 Thread Stokes, Ian
> From: Harry van Haaren > > This commit adds AVX512 implementations of miniflow extract. > By using the 64 bytes available in an AVX512 register, it is > possible to convert a packet to a miniflow data-structure in > a small quantity instructions. > > The implementation here probes for

Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based optimized miniflow extract

2021-06-29 Thread Amber, Kumar
Hi Flavio, Pls find my replies inline. > -Original Message- > From: Flavio Leitner > Sent: Tuesday, June 29, 2021 6:50 PM > To: Amber, Kumar > Cc: d...@openvswitch.org; i.maxim...@ovn.org > Subject: Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based &g

Re: [ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based optimized miniflow extract

2021-06-29 Thread Flavio Leitner
Hi, On Thu, Jun 17, 2021 at 09:57:52PM +0530, Kumar Amber wrote: > From: Harry van Haaren > > This commit adds AVX512 implementations of miniflow extract. > By using the 64 bytes available in an AVX512 register, it is > possible to convert a packet to a miniflow data-structure in > a small

[ovs-dev] [v4 10/12] dpif-netdev/mfex: Add AVX512 based optimized miniflow extract

2021-06-17 Thread Kumar Amber
From: Harry van Haaren This commit adds AVX512 implementations of miniflow extract. By using the 64 bytes available in an AVX512 register, it is possible to convert a packet to a miniflow data-structure in a small quantity instructions. The implementation here probes for Ether()/IP()/UDP()