From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 52CFFA052A; Wed, 27 Jan 2021 15:59:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41183140E44; Wed, 27 Jan 2021 15:59:13 +0100 (CET) Received: from smtp-3.sys.kth.se (smtp-3.sys.kth.se [130.237.48.192]) by mails.dpdk.org (Postfix) with ESMTP id D0F72140E43 for ; Wed, 27 Jan 2021 15:59:12 +0100 (CET) Received: from smtp-3.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-3.sys.kth.se (Postfix) with ESMTP id 8FFA89979; Wed, 27 Jan 2021 15:59:12 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-3.sys.kth.se ([127.0.0.1]) by smtp-3.sys.kth.se (smtp-3.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EBz4adWbko2h; Wed, 27 Jan 2021 15:59:11 +0100 (CET) X-KTH-Auth: barbette [78.129.119.184] DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1611759551; bh=Sdtl0FE9RlkBkLzQrdpSYtUb9WCRl+qX6vfGZyi/B0Q=; h=From:Subject:To:Cc:Date; b=oY3j/kYc6tOrkN47jXkj1qDN7Ggcf1iqyHwX60dbR65H3u6us+ET3/qtPHDIpJ0N4 EsSdbzaMrCoigR8mpKfBupFGLH2heB+ixZAwTRGQX+MrnJMYMjKRL0U4u71E3BlnS0 D7atJpMOTWhKKQjqWcrMFVlndqaF8sxsX50Fv/Zk= X-KTH-mail-from: barbette@kth.se Received: from [192.168.1.75] (host-78-129-119-184.dynamic.voo.be [78.129.119.184]) by smtp-3.sys.kth.se (Postfix) with ESMTPSA id 38ED12AF7; Wed, 27 Jan 2021 15:59:10 +0100 (CET) From: Tom Barbette To: dpdk-dev Cc: Yipeng Wang , Sameh Gobriel , Bruce Richardson Message-ID: <204cd192-8aa2-84d9-605b-41fa8f105351@kth.se> Date: Wed, 27 Jan 2021 15:59:09 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms070602010902060009040704" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] Efficient deletion in rte_hash X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 is a cryptographically signed message in MIME format. --------------ms070602010902060009040704 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: fr Hi all, In an ageing scenario, is there a faster way than calling=20 rte_hash_del_key() to delete an entry when we have the position (the=20 result of rte_hash_lookup()) on hand? Particularly, with and without CONCURRENCY_LF set. For instance, is it correct to call rte_hash_free_key_with_position()=20 with the position (the result of rte_hash_lookup())? I guess not. Thanks, Tom --------------ms070602010902060009040704--