> -----Original Message-----
> From: Pavan Nikhilesh <[email protected]>
> Sent: Wednesday, April 27, 2022 11:23 PM
> To: Ruifeng Wang <[email protected]>; Yipeng Wang
> <[email protected]>; Sameh Gobriel <[email protected]>;
> Bruce Richardson <[email protected]>; Vladimir Medvedkin
> <[email protected]>
> Cc: [email protected]; [email protected]; Pavan Nikhilesh
> <[email protected]>
> Subject: [PATCH v7 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.
> 
> Previously, if an application directly includes `rte_crc_arm64.h` without
> including `rte_hash_crc.h` it will fail to compile.
> 
> Signed-off-by: Pavan Nikhilesh <[email protected]>
> ---
>  .../{rte_crc_arm64.h => hash_crc_arm64.h}     |  69 ++------
>  lib/hash/hash_crc_generic.h                   |  72 +++++++++
>  lib/hash/hash_crc_x86.h                       |  89 +++++++++++
>  lib/hash/meson.build                          |   1 -
>  lib/hash/rte_hash_crc.h                       | 147 +++++-------------
>  5 files changed, 210 insertions(+), 168 deletions(-)  rename
> lib/hash/{rte_crc_arm64.h => hash_crc_arm64.h} (65%)  create mode 100644
> lib/hash/hash_crc_generic.h
> 
Reviewed-by: Ruifeng Wang <[email protected]>

Reply via email to