From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7DF25A0352; Thu, 14 May 2020 14:28:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1C00B1D8E7; Thu, 14 May 2020 14:28:37 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 007E81D8E4 for ; Thu, 14 May 2020 14:28:34 +0200 (CEST) IronPort-SDR: 22ox1qguSJs84ONhaxdefDd7ZYczMsgFxgTNMAEBJ+2BVxIGMSd5YpPMZVl2ESoNzZvUuUMVgO cq6hDK0K4ZgQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 May 2020 05:28:34 -0700 IronPort-SDR: jtqoLf6AGM4ohmx2NsemUK0zf47+MY54preDVSfdmcFiCAMz7bHFQFJnEIUWayLRxW/SWY6Bzi /G5pr+AY79RA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,391,1583222400"; d="scan'208";a="464313894" Received: from silpixa00400072.ir.intel.com ([10.237.222.213]) by fmsmga005.fm.intel.com with ESMTP; 14 May 2020 05:28:33 -0700 From: Vladimir Medvedkin To: dev@dpdk.org Cc: konstantin.ananyev@intel.com, bruce.richardson@intel.com Date: Thu, 14 May 2020 13:28:24 +0100 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: <1583757826-375246-1-git-send-email-vladimir.medvedkin@intel.com> References: <1583757826-375246-1-git-send-email-vladimir.medvedkin@intel.com> Subject: [dpdk-dev] [PATCH v2 0/6] fib: implement AVX512 vector lookup 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" This patch series implements vectorized lookup using AVX512 for ipv4 dir24_8 and ipv6 trie algorithms. Also introduced rte_fib_set_lookup_fn() to change lookup function type. Added option to select lookup function type in testfib application. v2: - rename rte_zmm to __rte_x86_zmm to reflect its internal usage - make runtime decision to use avx512 lookup Vladimir Medvedkin (6): eal: introduce zmm type for AVX 512-bit fib: make lookup function type configurable fib: introduce AVX512 lookup fib6: make lookup function type configurable fib6: introduce AVX512 lookup app/testfib: add support for different lookup functions app/test-fib/main.c | 58 ++++++++- lib/librte_eal/x86/include/rte_vect.h | 20 +++ lib/librte_fib/Makefile | 23 ++++ lib/librte_fib/dir24_8.c | 106 ++++++++++++++-- lib/librte_fib/dir24_8.h | 2 +- lib/librte_fib/dir24_8_avx512.h | 116 +++++++++++++++++ lib/librte_fib/meson.build | 13 ++ lib/librte_fib/rte_fib.c | 20 ++- lib/librte_fib/rte_fib.h | 23 ++++ lib/librte_fib/rte_fib6.c | 19 ++- lib/librte_fib/rte_fib6.h | 21 ++++ lib/librte_fib/rte_fib_version.map | 2 + lib/librte_fib/trie.c | 85 +++++++++++-- lib/librte_fib/trie.h | 2 +- lib/librte_fib/trie_avx512.h | 231 ++++++++++++++++++++++++++++++++++ 15 files changed, 711 insertions(+), 30 deletions(-) create mode 100644 lib/librte_fib/dir24_8_avx512.h create mode 100644 lib/librte_fib/trie_avx512.h -- 2.7.4