Re: [dpdk-dev] [PATCH v3 2/2] net: add support for AVX512/VPCLMULQDQ based CRC

2020-10-05 Thread O'loingsigh, Mairtin
Hi Pablo, > -Original Message- > From: De Lara Guarch, Pablo > Sent: Monday, October 5, 2020 2:20 PM > To: O'loingsigh, Mairtin ; Singh, Jasvinder > ; Richardson, Bruce > > Cc: dev@dpdk.org; Ryan, Brendan ; Coyle, David > > Subject: RE: [PATCH v3 2/2] net: add support for AVX512/VPCLMUL

Re: [dpdk-dev] [PATCH v3 2/2] net: add support for AVX512/VPCLMULQDQ based CRC

2020-10-05 Thread De Lara Guarch, Pablo
Hi Mairtin, > -Original Message- > From: O'loingsigh, Mairtin > Sent: Tuesday, September 29, 2020 4:36 PM > To: Singh, Jasvinder ; Richardson, Bruce > ; De Lara Guarch, Pablo > > Cc: dev@dpdk.org; Ryan, Brendan ; Coyle, David > ; O'loingsigh, Mairtin > Subject: [PATCH v3 2/2] net: add s

[dpdk-dev] [PATCH v3 2/2] net: add support for AVX512/VPCLMULQDQ based CRC

2020-09-29 Thread Mairtin o Loingsigh
This patch enables the optimized calculation of CRC32-Ethernet and CRC16-CCITT using the AVX512 and VPCLMULQDQ instruction sets. This CRC implementation is built if the compiler supports the required instruction sets. It is selected at run-time if the host CPU, again, supports the required instruct