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 1C0E4489BA; Thu, 23 Oct 2025 20:52:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D40D040151; Thu, 23 Oct 2025 20:52:41 +0200 (CEST) Received: from fhigh-a2-smtp.messagingengine.com (fhigh-a2-smtp.messagingengine.com [103.168.172.153]) by mails.dpdk.org (Postfix) with ESMTP id 5863A40144 for ; Thu, 23 Oct 2025 20:52:40 +0200 (CEST) Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.phl.internal (Postfix) with ESMTP id C85C6140008F; Thu, 23 Oct 2025 14:52:39 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Thu, 23 Oct 2025 14:52:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1761245559; x=1761331959; bh=Tr3LYQg/rCOk+2foguW6pmlvRtjzGKJboqlXT1oFzz8=; b= Dt+E/n1YhKGENbwuUsW83D0BlQCl3nwusigtRtSpmIDyGb6GESG3BbI2CoXJZCad Q7Z/xej0zvzqUkMkxyrvETARqddoHkYg8cFewvkBYRoLbNNJpZsbo0U2c5Jv5hbV G+MkrbOYpLSF54dGiDsgi3QcLShsR40s+wvKZBsNCapPZYmGAYkkw/bdMNadiRQm X5eLzyyfFN2J4Ypp05ZPCa77pplkTeS8VV1+BA+H+bQuirJFibl7O43p7pE7kdv9 SyRm64/0EhiOw9CX+cbZV6hbK8et/CyxB9Jh8DVoG6xOzI/m6zJFHscMw8afEDS7 zppojLQ+HgSzvyAzV/r6ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1761245559; x= 1761331959; bh=Tr3LYQg/rCOk+2foguW6pmlvRtjzGKJboqlXT1oFzz8=; b=x vFy6QS+uQ4lHPJPf0OesSjbOmCha/8+nmiyGps+sZwM9HydjX/S5bnzrpW8A1XFU nkOrpGv7g/8iVRKwof7fDuDUBq/kg9iR3RA9P2gCo10cb0Zg61v3kvEfxRi9VBu1 UAI8FbZdI1qcYwfcQrKPUnJJGk7NsTk9dR/XaUw5Sw+z30LGmPxzNIWVza9TAMG6 MVpM+JUfC7hXm4EFQZTcbJbMRGGkDlST3xoW4c7nwf4xD4cfi/XC//Aa09z3k7/H qMv9/EZ+BLH7lgqXxr7aDa2dbT+OdGhAZuTSklQJMsjCsT9zXtrQNs3W3R+EdYB0 5ufbdZD+JgmS1YX+lsVrA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddugeejvdefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefufffkjghfggfgtgesthfuredttddtjeenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeejudevheeiveduuddtveffgfdtgeekueevjeffjeegtdeggeekgfdv uefgfeekjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtpdhnsggprhgtphhtthhopeeipdhm ohguvgepshhmthhpohhuthdprhgtphhtthhopehsthgvphhhvghnsehnvghtfihorhhkph hluhhmsggvrhdrohhrghdprhgtphhtthhopeguvghvseguphgukhdrohhrghdprhgtphht thhopeihihhpvghnghdurdifrghnghesihhnthgvlhdrtghomhdprhgtphhtthhopehsrg hmvghhrdhgohgsrhhivghlsehinhhtvghlrdgtohhmpdhrtghpthhtohepsghruhgtvgdr rhhitghhrghrughsohhnsehinhhtvghlrdgtohhmpdhrtghpthhtohepvhhlrgguihhmih hrrdhmvgguvhgvughkihhnsehinhhtvghlrdgtohhm X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 23 Oct 2025 14:52:38 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, Yipeng Wang , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin Subject: Re: [PATCH v4 0/4] Cuckoo hash optimization for small sizes Date: Thu, 23 Oct 2025 20:52:36 +0200 Message-ID: <2964145.MzOyzyC30C@thomas> In-Reply-To: <20250916150219.104936-1-stephen@networkplumber.org> References: <0250818233102.180207-1-stephen@networkplumber.org> <20250916150219.104936-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" 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 16/09/2025 17:00, Stephen Hemminger: > Recent discussion around handling small keys motivated furthur > examination of the compare logic. > > v4 - add test for more sizes, and a few more special case sizes. > > Stephen Hemminger (4): > hash: move table of hash compare functions out of header > hash: use static_assert > hash: reduce architecture special cases > hash: add support for common small key sizes I really would like to see a review from the hash lib maintainers. We need at least some design and performance considerations. Cc Yipeng, Sameh, Bruce and Vladimir