From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id C59CD2C2F for ; Thu, 1 Nov 2018 05:55:19 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E46E9A78; Wed, 31 Oct 2018 21:55:18 -0700 (PDT) Received: from qc2400f-1.austin.arm.com (qc2400f-1.austin.arm.com [10.118.12.122]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 743BB3F557; Wed, 31 Oct 2018 21:55:18 -0700 (PDT) From: Honnappa Nagarahalli To: bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, gavin.hu@arm.com, dharmik.thakkar@arm.com, nd@arm.com, yipeng1.wang@intel.com, sameh.gobriel@intel.com, Honnappa Nagarahalli Date: Wed, 31 Oct 2018 23:54:51 -0500 Message-Id: <20181101045454.632-1-honnappa.nagarahalli@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <1539208085-30756-4-git-send-email-yipeng1.wang@intel.com> References: <1539208085-30756-4-git-send-email-yipeng1.wang@intel.com> Subject: [dpdk-dev] [PATCH 0/3] hash: deprecate lock ellision and read/write concurreny flags 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: Thu, 01 Nov 2018 04:55:20 -0000 Various configuration flags in rte_hash library result in increase of number of test cases. Configuration flags for enabling transactional memory use and read/write concurrency are not required. These features should be supported by default. Please refer to [1] for more context. This patch marks these flags for deprecation in 19.02 release and cleans up the test cases. [1] http://mails.dpdk.org/archives/dev/2018-October/117268.html Honnappa Nagarahalli (3): hash: deprecate lock ellision and read/write concurreny flags test/hash: stop using lock ellision and read/write concurreny flags doc/hash: deprecate lock ellision and read/write concurreny flags doc/guides/rel_notes/deprecation.rst | 5 + lib/librte_hash/rte_cuckoo_hash.c | 319 ++++++++++++++++++++++++++- lib/librte_hash/rte_hash.h | 20 +- lib/librte_hash/rte_hash_version.map | 7 + test/test/test_hash_multiwriter.c | 20 +- test/test/test_hash_perf.c | 40 ++-- test/test/test_hash_readwrite.c | 84 ++----- test/test/test_hash_readwrite_lf.c | 189 ++++------------ 8 files changed, 430 insertions(+), 254 deletions(-) -- 2.17.1