From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mta112.f1.k8.com.br (mta112.f1.k8.com.br [187.73.32.184]) by dpdk.org (Postfix) with ESMTP id 8CF045F2B for ; Wed, 1 Aug 2018 14:58:00 +0200 (CEST) Received: from [192.168.1.4] (pool-173-48-214-200.bstnma.fios.verizon.net [173.48.214.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtpz.f1.k8.com.br (Postfix) with ESMTPSA id 36AC38006C; Wed, 1 Aug 2018 12:57:41 +0000 (UTC) X-DKIM: OpenDKIM Filter v2.6.8 smtpz.f1.k8.com.br 36AC38006C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digirati.com.br; s=default; t=1533128278; bh=1+wSqEMaKUUqjFsiJdnSJbFKJeQ4uCr9VJXG8lbQMqw=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=FO0B1XW8IKXcpCvxD1KfX6atzxRI8LV5k2SuZyBq5DB6NDsahkR98sloYUTZH3CS9 0kCaxd2U+zzxNZZEoNTFUFNvjmy8rDAPm+RbHgHn4wGAlVI9esIRpaIgi5sfVAOH8B PnS3ncfCC1qAhak7K+j+0WBYJeFIywwRSVe0+VI8= To: "Wang, Yipeng1" , "Wiles, Keith" , "Fu, Qiaobin" Cc: "Richardson, Bruce" , "De Lara Guarch, Pablo" , "dev@dpdk.org" , "Doucette, Cody, Joseph" , "Gobriel, Sameh" , "Tai, Charlie" References: <20180728174851.46422-1-qiaobinf@bu.edu> <5CCC4983-8B4F-480B-B6E1-3A01806BC416@intel.com> <7E249D4F-3CAA-4EDB-936D-4DFAEA55F0D8@bu.edu> <8a2eb96f-bf40-a6af-c22c-072f915e063e@digirati.com.br> From: Michel Machado Organization: Digirati Internet LTDA. Message-ID: <76a8c325-2fc0-b805-015c-97d6cba83a58@digirati.com.br> Date: Wed, 1 Aug 2018 08:57:39 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 03 Aug 2018 16:25:03 +0200 Subject: Re: [dpdk-dev] [PATCH] hash table: add a bucket iterator function 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: , X-List-Received-Date: Wed, 01 Aug 2018 12:58:00 -0000 On 07/31/2018 09:40 PM, Wang, Yipeng1 wrote: > How about an API that is more universal? For example, an API such as "rte_iterate_conflict_entries". After an insertion failure, this function will iterate all entries that may conflict with the newly inserted key and you could decide which entry to evict? Fine. We'll rewrite the patch to do so. Thank you for the feedback. [ ]'s Michel Machado