[v2,0/4] hash: improve multiple places
Message ID | 1540404570-102126-1-git-send-email-yipeng1.wang@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 A46344C8A; Thu, 25 Oct 2018 03:14:48 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 640DF293B for <dev@dpdk.org>; Thu, 25 Oct 2018 03:14:47 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2018 18:14:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,422,1534834800"; d="scan'208";a="244139398" Received: from skx-yipeng.jf.intel.com ([10.54.81.175]) by orsmga004.jf.intel.com with ESMTP; 24 Oct 2018 18:14:46 -0700 From: Yipeng Wang <yipeng1.wang@intel.com> To: bruce.richardson@intel.com Cc: stephen@networkplumber.org, dev@dpdk.org, yipeng1.wang@intel.com, honnappa.nagarahalli@arm.com, sameh.gobriel@intel.com Date: Wed, 24 Oct 2018 11:09:26 -0700 Message-Id: <1540404570-102126-1-git-send-email-yipeng1.wang@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH v2 0/4] hash: improve multiple places X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Wang, Yipeng1
Oct. 24, 2018, 6:09 p.m. UTC
This patch set depends on Honnappa's patch set:
http://patchwork.dpdk.org/cover/47268/
This patch set fixes/improves a couple of places mostly
on unit tests:
commit 1: remove unnecessary code in hash library.
commit 2: use jhash in multiwriter unit test.
commit 3: improve readwrite test to consider the extendable table.
commit 4: remove scaling unit test.
V1->V2:
* In commit 2 change use_jhash to a macro instead of a hard coded
local variable (Bruce).
* Add commit 4 to remove scaling unit test (Bruce).
Signed-off-by: Yipeng Wang <yipeng1.wang@intel.com>
Yipeng Wang (4):
hash: fix unnecessary pause
test/hash: change multiwriter test to use jhash
test/hash: add readwrite test for ext table
test/hash: remove hash scaling unit test
lib/librte_hash/rte_cuckoo_hash.c | 4 +-
test/test/Makefile | 1 -
test/test/autotest_data.py | 6 --
test/test/meson.build | 2 -
test/test/test_hash_multiwriter.c | 10 +-
test/test/test_hash_readwrite.c | 70 +++++++++++---
test/test/test_hash_scaling.c | 191 --------------------------------------
7 files changed, 69 insertions(+), 215 deletions(-)
delete mode 100644 test/test/test_hash_scaling.c