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 C4A6BA0C57; Mon, 1 Nov 2021 15:44:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CEFC40E28; Mon, 1 Nov 2021 15:44:10 +0100 (CET) Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by mails.dpdk.org (Postfix) with ESMTP id 7E2D940DF6 for ; Mon, 1 Nov 2021 11:55:59 +0100 (CET) Received: by mail-yb1-f178.google.com with SMTP id s186so19431117yba.12 for ; Mon, 01 Nov 2021 03:55:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gadgeon.com; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=GTwTYsW/2J/JnGKOFkzpMsSavcuI3SYhzJjVKuCCN9o=; b=XRqWVrGSEJEVkT4Jn9TajexoKw9VcbCshC3g5vhHCSolww02ZzyGLsCPxNCvHn6CF4 oLU4xtcgYixs6rScZMU/2YZOphu/RCJZQODq5+MnBP4ofas880r/B6WSd1MWOWbgZ/wH s88Y3wXmyY7jD92tEnoQ4/DdLrXVj9qOYElLGNetNTeUoW5FKv676Y7ormTKYwMRpXsx 6bHNPJNklcqX/OEc3IJJEKyw1qki28RKVEc/Uw95OWN6rjE5H/aRR+Ju5Q/jwHQo6MN6 I6+yy6/i8ASAIAGcy6jzlRyzB6EBmNGQ+uCSjf6Zi7W2Aq5G+5Y3ihx9ZWzw5cavA+cI h4Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=GTwTYsW/2J/JnGKOFkzpMsSavcuI3SYhzJjVKuCCN9o=; b=keFJQkXyytmY9OzbH8lJMnS9eCBeGxuYnqG30ZL6RsOeFypCWHRn3Ra8c0QTaJMktA kqfJQvBvy3vQVXv3m3gmo81sWdjhKNOueIG5ebFe1j7qSoK+y9E+bkaAbZTND+3t9j6T bzjNu4fWFnKjlAMS1r5avoQ3HauTNNxHpx6tiz+rQhSRVLJxerbbza6HRbd14enSeBdi XODje37cQJR5JNKEnTsq1ZVwNFEi2985y+1dRG7XY3Ddjr71i9tZVFcSn/wG92XSwt+w TXiZAjy6Ick9xjA17R34zwc0M2TDWlE067J5bsmAYnSuPx2kiPrsVRKQ+0+bvIJ9uik9 0V/w== X-Gm-Message-State: AOAM531ae/dL33lbi6ySwkd2CM6Dz3MZ83g7EO67ZZ2weA0V8bfnWTCY MZNE9AO6Inb3IYOxKjRv7jy0t7xvbFvbrio1sdgaQ2TGhcqq+A== X-Google-Smtp-Source: ABdhPJyv8fpf5b6MXLDnW/dTkSfXOzqYIG5xqDRzloDptqKP3SiY0dwkwKAItRTAWEi0C1oXtcGktUNgYbnMXt0tYHY= X-Received: by 2002:a25:ea54:: with SMTP id o20mr17350690ybe.537.1635764158897; Mon, 01 Nov 2021 03:55:58 -0700 (PDT) MIME-Version: 1.0 From: Syam Prasad N Pearson Date: Mon, 1 Nov 2021 16:25:32 +0530 Message-ID: To: users@dpdk.org, dev@dpdk.org Cc: Syam Prasad N Pearson X-Mailman-Approved-At: Mon, 01 Nov 2021 15:44:08 +0100 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [dpdk-dev] Doubt regarding DPDK hash Library implementation 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" Dear Sir/Madam, I am a developer trying to get familiar with the DPDK hash library. I tried to make and use a hash table successfully. During the development I came across a variable /** Number of items per bucket. */ *#define RTE_HASH_BUCKET_ENTRIES 8* defined inside: dpdk-20.11.3/dpdk-stable-20.11.3/lib/librte_hash /rte_cuckoo_hash.h Why does the library take this value as *8*, is there any particular reason for this? what if it is 16,32... etc. I am using DPDK 20.11.3 LTS. Please help. -- Regards, Syam Pearson Syam Pearson Gadgeon Smart Systems m: +91-97460-44420 (India) w: www.gadgeon.com www.delpheon.io [image: www.linkedin.com/in/kirankumar-c-32349964]