From patchwork Wed May 10 02:30:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jianbo Liu X-Patchwork-Id: 98959 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp13975qge; Tue, 9 May 2017 19:30:43 -0700 (PDT) X-Received: by 10.223.147.97 with SMTP id 88mr1764879wro.134.1494383443665; Tue, 09 May 2017 19:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494383443; cv=none; d=google.com; s=arc-20160816; b=pI5Pc+nN2NGo8ctFT8O7LX1ELGQndIWNzauHuXES7xZ07XozTJud8XESxDiauuegJI Y3Rz7lf3pC065Tj5hVt1Yjq3JMbTJhLjpsCG649AeJi7Ur4BMLAtLfpDdr63uJpNzKD1 58Vv85xpJOQeum/S0xTa8sMAYzByMmFY444Ca0LlpBZOBogat2J7K7ElnKHrGcussFOZ IOEvI8Gy+x0J99reOtUT16PoIH5m5wthqE/nulKezyyxaQeEQvFl2mS6DXa7zpKsKdre rgSR8hCS8CERnP+ZHibOyQ2jD79M3khjacnypg2J9Duo8hrf+gCqpRSR8TRBvwNqEGzg WeuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from:arc-authentication-results; bh=fo+gLkYrRBmRFfDXie47nHEkSHS+9lSremZ5kJTRIs8=; b=lPyNl3aPR41tI+/ov9m5htqQYT6YKADOEG+Ti5ZM2Q4Yxi0XWwwztTX0bdIZr+G9Jx MSJHItyP0ym4ykv4kUHiwU0f4PXdGEUzfpwoqr/nOvfsDsxFWlsEj6N1+Ej5E1hwKfdo iawNcM17wxtnxb2kR6OXNC8WAT1ytnfkip++0/9WLzj4kHmZ/Sx+/kjwrNeSxgOjrYti 3APjdT4V5EcD5GCzFGz/z+AlR+XFraVXhFAwdZ3pR+nqiabZDnyPwGXMHhd7V3pdoPUB /W4accUu+XQvH3xzLAoN6ASRybMKxmGVFpS8K5gx55Q1rnHpAto6Nb8TfLoHugI7ZF4e Xatg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id l67si2627418wmf.62.2017.05.09.19.30.43; Tue, 09 May 2017 19:30:43 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 32D2D4BE1; Wed, 10 May 2017 04:30:41 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id B1E1F20F for ; Wed, 10 May 2017 04:30:39 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AD65F344; Tue, 9 May 2017 19:30:38 -0700 (PDT) Received: from localhost.localdomain.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C939A3F3E1; Tue, 9 May 2017 19:30:37 -0700 (PDT) From: Jianbo Liu To: dev@dpdk.org, tomasz.kantecki@intel.com, jerin.jacob@caviumnetworks.com, ashwin.sekhar@caviumnetworks.com Cc: Jianbo Liu Date: Wed, 10 May 2017 10:30:12 +0800 Message-Id: <1494383419-9677-1-git-send-email-jianbo.liu@linaro.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1493709255-8887-1-git-send-email-jianbo.liu@linaro.org> References: <1493709255-8887-1-git-send-email-jianbo.liu@linaro.org> Subject: [dpdk-dev] [PATCH v2 0/7] accelerate examples/l3fwd with NEON on ARM64 platform X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" v2: - change name of l3fwd_em_sse.h to l3fwd_em_sequential.h - add the times of hash multi-lookup for different Archs - performance tuning on ThunderX: prefetching, set NO_HASH_LOOKUP_MULTI ... Jianbo Liu (7): examples/l3fwd: extract arch independent code from multi hash lookup examples/l3fwd: rename l3fwd_em_sse.h to l3fwd_em_sequential.h examples/l3fwd: extract common code from multi packet send examples/l3fwd: rearrange the code for lpm_l3fwd examples/l3fwd: add neon support for l3fwd examples/l3fwd: add the times of hash multi-lookup for different Archs examples/l3fwd: change the guard micro name for header file examples/l3fwd/l3fwd_common.h | 293 +++++++++++++++++++++ examples/l3fwd/l3fwd_em.c | 8 +- examples/l3fwd/l3fwd_em_hlm.h | 220 ++++++++++++++++ examples/l3fwd/l3fwd_em_hlm_neon.h | 74 ++++++ examples/l3fwd/l3fwd_em_hlm_sse.h | 280 +------------------- .../{l3fwd_em_sse.h => l3fwd_em_sequential.h} | 26 +- examples/l3fwd/l3fwd_lpm.c | 87 +++++- examples/l3fwd/l3fwd_lpm.h | 26 +- examples/l3fwd/l3fwd_lpm_neon.h | 165 ++++++++++++ examples/l3fwd/l3fwd_lpm_sse.h | 66 ----- examples/l3fwd/l3fwd_neon.h | 259 ++++++++++++++++++ examples/l3fwd/l3fwd_sse.h | 255 +----------------- 12 files changed, 1133 insertions(+), 626 deletions(-) create mode 100644 examples/l3fwd/l3fwd_common.h create mode 100644 examples/l3fwd/l3fwd_em_hlm.h create mode 100644 examples/l3fwd/l3fwd_em_hlm_neon.h rename examples/l3fwd/{l3fwd_em_sse.h => l3fwd_em_sequential.h} (86%) create mode 100644 examples/l3fwd/l3fwd_lpm_neon.h create mode 100644 examples/l3fwd/l3fwd_neon.h -- 1.8.3.1