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 CD367A0518; Fri, 19 Jun 2020 12:34:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B7A171BE7D; Fri, 19 Jun 2020 12:34:30 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9B8951BDAC for ; Fri, 19 Jun 2020 12:34:29 +0200 (CEST) IronPort-SDR: bBnnQRKmP44+cdILUladq5jYoy/khkLwZIRfRojNhXn3rQjmLFUR1QaUgCIQNZ3iz5EgyeWtDZ HCbqvcdYNu6w== X-IronPort-AV: E=McAfee;i="6000,8403,9656"; a="144404813" X-IronPort-AV: E=Sophos;i="5.75,255,1589266800"; d="scan'208";a="144404813" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jun 2020 03:34:28 -0700 IronPort-SDR: aKOAMhr45yLJJUsJrBpAiphimQaa2eouG2Lo1/BO3DyaL7E9ePcpOjFOKwb7A85SlsyLXd5VPk 4a8UBu0l1/mA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,255,1589266800"; d="scan'208";a="421813497" Received: from vmedvedk-mobl.ger.corp.intel.com (HELO [10.213.211.11]) ([10.213.211.11]) by orsmga004.jf.intel.com with ESMTP; 19 Jun 2020 03:34:27 -0700 From: "Medvedkin, Vladimir" To: dev@dpdk.org Cc: konstantin.ananyev@intel.com, bruce.richardson@intel.com, Thomas Monjalon References: Message-ID: <38750502-6165-ac6b-7e58-a4945ddfde09@intel.com> Date: Fri, 19 Jun 2020 11:34:26 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Subject: Re: [dpdk-dev] [PATCH v3 0/8] 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" Waiting for reviews please. On 19/05/2020 13:12, Vladimir Medvedkin wrote: > 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. > > v3: > - separate out the AVX-512 code into a separate file > > v2: > - rename rte_zmm to __rte_x86_zmm to reflect its internal usage > - make runtime decision to use avx512 lookup > > Vladimir Medvedkin (8): > eal: introduce zmm type for AVX 512-bit > fib: make lookup function type configurable > fib: move lookup definition into the header file > fib: introduce AVX512 lookup > fib6: make lookup function type configurable > fib6: move lookup definition into the header file > 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 | 24 +++ > lib/librte_fib/dir24_8.c | 281 ++++++---------------------------- > lib/librte_fib/dir24_8.h | 226 ++++++++++++++++++++++++++- > lib/librte_fib/dir24_8_avx512.c | 165 ++++++++++++++++++++ > lib/librte_fib/dir24_8_avx512.h | 24 +++ > lib/librte_fib/meson.build | 20 +++ > 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 | 161 ++++--------------- > lib/librte_fib/trie.h | 119 +++++++++++++- > lib/librte_fib/trie_avx512.c | 269 ++++++++++++++++++++++++++++++++ > lib/librte_fib/trie_avx512.h | 20 +++ > 17 files changed, 1100 insertions(+), 372 deletions(-) > create mode 100644 lib/librte_fib/dir24_8_avx512.c > create mode 100644 lib/librte_fib/dir24_8_avx512.h > create mode 100644 lib/librte_fib/trie_avx512.c > create mode 100644 lib/librte_fib/trie_avx512.h > -- Regards, Vladimir