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 993C6A00C2; Sat, 25 Apr 2020 15:55:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DBB781C1B1; Sat, 25 Apr 2020 15:55:42 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id D5E601C1A1 for ; Sat, 25 Apr 2020 15:55:41 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E94E45C02DD; Sat, 25 Apr 2020 09:55:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Sat, 25 Apr 2020 09:55:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= VuR9Dve3dUjk/YtOU/ljjWOZWznYQdvMFgo6qq3/Xq0=; b=he+vmmd13I5EjjzN 08sPpoAi5VD7aMEBBHGbCH2pQ3kvXQy9SBBwrtyXlfyH3BdmyqwfIy5MGAmYaox0 iJn6ArAlaoMqHkhJMP+iW6meKiebUUzOjzhSsldM+4ACwWsnPfZJMDsGFgBXTJfs +E/LYMudUlinVYYv6bXyqIuXmSeSnEnlboI40ZwfnCUDs6mL8AT4mG+mdEyKosCH 7J+6agou6v+VkMS03xagZ1ccsxN88+jsz1kiO8m3kHVBJXR9Cf5uBzxdhZ6phD+W plSPnLc9GEngYU0JglFaGOg2PauOvopxLoRYvouQXoa68Gxhag2DNQ3xamN4tlkA 7PmOQw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=VuR9Dve3dUjk/YtOU/ljjWOZWznYQdvMFgo6qq3/X q0=; b=3xn9WH4/3XYT7yuxAEDckTNsOj+sAY0Tnxz3RoWmuLmVvy6VkvrvNWTUR ExgRNKUPtr9JOQJ78Uk3d8UGMmZuVwhhOVIroidzc9+ay5DMOSNgBEgzb0cAh9Y5 uKlDnmZD7YaZSuRYIZ8Pevb6Pt7r2O4WMQN3Lk/cIF6U5WmO5HTEc2TLyEX+j8nL 3V/sRJd8FstLqlApOLtR4XUQNGxaL0D9Oand6QPcqPc1cyL+w7Ibe+WD9/HN5RAX /X3hUR52Jsk7wAqHEyntz8ttkI2vmo6D2TtqRU1czM8VTSTRVV6ezHTfF9jh3Wsb vQ+wHS94tYaHfYr5XO3DgKAD5emsA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrheeggdegiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucffoh hmrghinhepughpughkrdhorhhgnecukfhppeejjedrudefgedrvddtfedrudekgeenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrsh esmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 509603065DDD; Sat, 25 Apr 2020 09:55:39 -0400 (EDT) From: Thomas Monjalon To: Vladimir Medvedkin Cc: dev@dpdk.org, konstantin.ananyev@intel.com, akhil.goyal@nxp.com Date: Sat, 25 Apr 2020 15:55:38 +0200 Message-ID: <3379458.WbyNdk4fJJ@thomas> In-Reply-To: <6590f0170bc4f55d9707ef15ee398e388802b012.1587406845.git.vladimir.medvedkin@intel.com> References: <2811605d29b62740ba467527271c7a30fe75cf78.1585240684.git.vladimir.medvedkin@intel.com> <6590f0170bc4f55d9707ef15ee398e388802b012.1587406845.git.vladimir.medvedkin@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] ipsec: use hash lookup with hash sigs in sad 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" 20/04/2020 20:27, Vladimir Medvedkin: > Change hash function from jhash to crc. > Precalculate hash signatures for a bulk of keys and then > use rte_hash_lookup_with_hash_bulk_data() to speed up sad lookup > Also use rte_hash_add_key_with_hash and _del_key_with_hash with > precalculated hash signature for a key in rte_ipsec_sad_add and > rte_ipsec_sad_del > > Signed-off-by: Vladimir Medvedkin > Acked-by: Konstantin Ananyev > --- > This patch depends on https://patches.dpdk.org/patch/68700/ The dependency was merged today, so this patch on IPsec library is applied as well for -rc1, thanks.