> -----Original Message-----
> From: [email protected] <[email protected]>
> Sent: Monday, May 29, 2023 10:55 PM
> To: [email protected]; Ruifeng Wang <[email protected]>; Yipeng Wang
> <[email protected]>; Sameh Gobriel <[email protected]>; Bruce
> Richardson
> <[email protected]>; Vladimir Medvedkin
> <[email protected]>;
> Konstantin Ananyev <[email protected]>
> Cc: [email protected]; Pavan Nikhilesh <[email protected]>
> Subject: [PATCH v3 1/2] ip_frag: optimize key compare and hash generation
>
> From: Pavan Nikhilesh <[email protected]>
>
> Use optimized rte_hash_k32_cmp_eq routine for key comparison for
> x86 and ARM64.
> Use CRC instructions for hash generation on ARM64.
>
> Signed-off-by: Pavan Nikhilesh <[email protected]>
> ---
> On Neoverse-N2, performance improved by 10% when measured with
> examples/ip_reassembly.
>
> v3 Changes:
> - Drop NEON patch.
> v2 Changes:
> - Fix compilation failure with non ARM64/x86 targets
>
> lib/hash/rte_cmp_arm64.h | 16 ++++++++--------
> lib/hash/rte_cmp_x86.h | 16 ++++++++--------
> lib/ip_frag/ip_frag_common.h | 14 +++++++++++++-
> lib/ip_frag/ip_frag_internal.c | 4 ++--
> 4 files changed, 31 insertions(+), 19 deletions(-)
>
Reviewed-by: Ruifeng Wang <[email protected]>