From patchwork Fri Sep 28 14:11:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wang, Yipeng1" X-Patchwork-Id: 45611 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AA0E31B3AF; Fri, 28 Sep 2018 23:17:53 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 9E7281B3A6 for ; Fri, 28 Sep 2018 23:17:51 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Sep 2018 14:17:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,316,1534834800"; d="scan'208";a="266882879" Received: from skx-yipeng.jf.intel.com ([10.54.81.175]) by fmsmga005.fm.intel.com with ESMTP; 28 Sep 2018 14:16:08 -0700 From: Yipeng Wang To: bruce.richardson@intel.com Cc: dev@dpdk.org, yipeng1.wang@intel.com, honnappa.nagarahalli@arm.com, sameh.gobriel@intel.com Date: Fri, 28 Sep 2018 07:11:04 -0700 Message-Id: <1538143869-152808-1-git-send-email-yipeng1.wang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1537966465-248530-1-git-send-email-yipeng1.wang@intel.com> References: <1537966465-248530-1-git-send-email-yipeng1.wang@intel.com> Subject: [dpdk-dev] [PATCH v4 0/5] hash: fix multiple issues 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" This patch set was part of extendable hash table patch set before V2. According to Bruce's comment, this patch set is now separated from the original patch set for easier review and merge. https://mails.dpdk.org/archives/dev/2018-September/112555.html This patch set fixes multiple issues/bugs from rte_hash and hash unit test. V3->V4: In first commit, per Honnappa's suggestion, added comment to explain what value should BUCKET_SIZE be. In third commit, fix a typo: "consecutive" V2->V3: As Bruce suggested: Added a new commit to add missing file into meson.build for readwrite test. Revised the commit message for the last commit. Yipeng Wang (5): test/hash: fix bucket size in hash perf test test/hash: more accurate hash perf test output test/hash: fix rw test with non-consecutive cores test/hash: fix missing file in meson build file hash: fix unused define lib/librte_hash/rte_cuckoo_hash.h | 2 - test/test/meson.build | 1 + test/test/test_hash_perf.c | 13 ++++--- test/test/test_hash_readwrite.c | 78 ++++++++++++++++++++++++--------------- 4 files changed, 57 insertions(+), 37 deletions(-)