From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8B4062C52 for ; Fri, 26 Oct 2018 18:59:09 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Oct 2018 09:59:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,428,1534834800"; d="scan'208";a="85849484" Received: from skx-yipeng.jf.intel.com ([10.54.81.175]) by orsmga006.jf.intel.com with ESMTP; 26 Oct 2018 09:59:08 -0700 From: Yipeng Wang 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: Fri, 26 Oct 2018 02:53:40 -0700 Message-Id: <1540547626-197189-1-git-send-email-yipeng1.wang@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1540494678-64299-1-git-send-email-yipeng1.wang@intel.com> References: <1540494678-64299-1-git-send-email-yipeng1.wang@intel.com> Subject: [dpdk-dev] [PATCH v4 0/6] hash: improve multiple places 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: Fri, 26 Oct 2018 16:59:10 -0000 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: cover more test case in unit test. commit 4: improve readwrite test to consider the extendable table. commit 5: remove scaling unit test. commit 6: add readwrite test to meson and autotest file. v3->v4: * Fix memory leak in commit 3 (Honnappa) v2->v3: * Split commit 4 to commit 3 and 4 (Honnappa) * Remove hard coded macro (Bruce) * Add commit 6 fix to add readwrite test to autotest files. * Remove unnecessary header in commit 1 (Mattias) 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 Yipeng Wang (6): hash: fix unnecessary pause test/hash: change multiwriter test to use jhash test/hash: test more corner cases in unit test test/hash: add readwrite test for ext table test/hash: remove hash scaling unit test test/hash: fix to add read-write test to autotest lib/librte_hash/rte_cuckoo_hash.c | 5 +- test/test/Makefile | 1 - test/test/autotest_data.py | 12 +-- test/test/meson.build | 3 +- test/test/test_hash_multiwriter.c | 3 +- test/test/test_hash_readwrite.c | 74 ++++++++++++--- test/test/test_hash_scaling.c | 191 -------------------------------------- 7 files changed, 71 insertions(+), 218 deletions(-) delete mode 100644 test/test/test_hash_scaling.c -- 2.7.4