> -----Original Message-----
> From: pbhagavat...@marvell.com <pbhagavat...@marvell.com>
> Sent: Monday, May 29, 2023 10:55 PM
> To: jer...@marvell.com; Ruifeng Wang <ruifeng.w...@arm.com>; Yipeng Wang
> <yipeng1.w...@intel.com>; Sameh Gobriel <sameh.gobr...@intel.com>; Bruce
> Richardson
> <bruce.richard...@intel.com>; Vladimir Medvedkin
> <vladimir.medved...@intel.com>;
> Konstantin Ananyev <konstantin.v.anan...@yandex.ru>
> Cc: dev@dpdk.org; Pavan Nikhilesh <pbhagavat...@marvell.com>
> Subject: [PATCH v3 1/2] ip_frag: optimize key compare and hash generation
>
> From: Pavan Nikhilesh <pbhagavat...@marvell.com>
>
> 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 <pbhagavat...@marvell.com>
> ---
> 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 <ruifeng.w...@arm.com>