[dpdk-dev] [PATCH] hash: fix thash gfni implementation

Ji, Kai kai.ji at intel.com
Tue Nov 9 19:08:33 CET 2021



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Vladimir Medvedkin
> Sent: Tuesday, November 9, 2021 5:25 PM
> To: dev at dpdk.org
> Cc: thomas at monjalon.net; david.marchand at redhat.com; Ananyev,
> Konstantin <konstantin.ananyev at intel.com>;
> lance.richardson at broadcom.com; Medvedkin, Vladimir
> <vladimir.medvedkin at intel.com>; Wang, Yipeng1
> <yipeng1.wang at intel.com>; Gobriel, Sameh <sameh.gobriel at intel.com>;
> Richardson, Bruce <bruce.richardson at intel.com>
> Subject: [dpdk-dev] [PATCH] hash: fix thash gfni implementation
> 
> This patch replaces _mm512_set_epi8 with _mm512_set_epi32 due to the
> lack of support by some compilers.
> Also this patch checks if AVX512F is supported along with GFNI.
> This is done if the code is built on a platform that supports GFNI, but does not
> support AVX512.
> 
> Fixes: 4fd8c4cb0de1 ("hash: add new Toeplitz hash implementation")
> Cc: vladimir.medvedkin at intel.com
> 
> Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
Acked-by: Ji, Kai <kai.ji at intel.com>



More information about the dev mailing list