From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/ip_pipeline: use crc32 in hash functions for arm64 Date: Mon, 03 Jul 2017 23:11:34 +0200 Message-ID: <4804120.hkK0KHU9aJ@xps> References: <1495098540-8303-1-git-send-email-jianbo.liu@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, jerin.jacob@caviumnetworks.com, ashwin.sekhar@caviumnetworks.com To: Jianbo Liu , cristian.dumitrescu@intel.com Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 98D242A58 for ; Mon, 3 Jul 2017 23:11:35 +0200 (CEST) In-Reply-To: <1495098540-8303-1-git-send-email-jianbo.liu@linaro.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 18/05/2017 11:09, Jianbo Liu: > Implement the same hash functions with crc32 on arm platform. > > Signed-off-by: Jianbo Liu > --- > examples/ip_pipeline/pipeline/hash_func.h | 2 + > examples/ip_pipeline/pipeline/hash_func_arm64.h | 245 ++++++++++++++++++++++++ > 2 files changed, 247 insertions(+) > create mode 100644 examples/ip_pipeline/pipeline/hash_func_arm64.h I don't understand why this code is in an example. We have some CRC code in librte_hash, librte_net and ip_pipeline. Cristian, Jianbo, does it make sense to move these functions somewhere else?