Re: [PATCH v8 2/2] hash: unify crc32 selection for x86 and Arm

2022-05-11 Thread David Marchand
On Wed, May 4, 2022 at 4:53 AM Wang, Yipeng1 wrote: > > static inline void > > rte_hash_crc_set_alg(uint8_t alg) > > { > > + crc32_alg = CRC32_SW; > > > > + if (alg == CRC32_SW) > > + return; > > > > + if (!(alg & CRC32_SSE42_x64)) > > + RTE_LOG(WARNING, HASH

RE: [PATCH v8 2/2] hash: unify crc32 selection for x86 and Arm

2022-05-03 Thread Wang, Yipeng1
; Subject: [PATCH v8 2/2] hash: unify crc32 selection for x86 and Arm > > Merge crc32 hash calculation public API implementation for x86 and Arm. > Select the best available CRC32 algorithm when unsupported algorithm on a > given CPU architecture is requested by an application. > >

Re: [PATCH v8 2/2] hash: unify crc32 selection for x86 and Arm

2022-05-03 Thread David Marchand
On Fri, Apr 29, 2022 at 6:17 PM Pavan Nikhilesh wrote: > > Merge crc32 hash calculation public API implementation for x86 and Arm. > Select the best available CRC32 algorithm when unsupported algorithm > on a given CPU architecture is requested by an application. > > Previously, if an application

[PATCH v8 2/2] hash: unify crc32 selection for x86 and Arm

2022-04-29 Thread Pavan Nikhilesh
Merge crc32 hash calculation public API implementation for x86 and Arm. Select the best available CRC32 algorithm when unsupported algorithm on a given CPU architecture is requested by an application. Previously, if an application directly includes `rte_crc_arm64.h` without including `rte_hash_crc