From patchwork Thu Nov 1 04:54:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Honnappa Nagarahalli X-Patchwork-Id: 149929 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp354391ljp; Wed, 31 Oct 2018 21:55:21 -0700 (PDT) X-Google-Smtp-Source: AJdET5c9/MxiSrgto/ffW9QJG2yuGs6xtr9GMs1CmneH7UlkIjd/Li6fgSRBv2/WrV3JF2jYzrIL X-Received: by 2002:a5d:4012:: with SMTP id n18-v6mr5039016wrp.185.1541048121170; Wed, 31 Oct 2018 21:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541048121; cv=none; d=google.com; s=arc-20160816; b=ddyl0eLyVmrnX5ELUTSaVIwRCoBTT2SWiHYSqPunRS8afmdK/T5RaUr/UetQfmwHIF 30KOtitE0nr03iy1BI0ZUru5tuT9ily97ZrNv6cO2R+iDjIlICLTrcBW5DjwSusEiIEL gizor4KClAK/Tj/8yycHNbMtKfmvzV+h7dUWMdyQTFvq0keK94ttNm47pc727DyGMR/K n8hwHsvDxBlMgivmpLiVFphKGgmKFVmK7+W54M8mePtpjjkv8euUTy2zddXKDJIT+dN7 mehqClGFnzmaBbSjOaD5M52nYZC/UnH2ZL49QQjNjwzyH0MM6ayJH5Q/dxXQRqDtg0z7 nqrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:cc:to:from; bh=I21Qypfi65+1JnhB7KP2XkA9HTXD/Op5/vCXCOIsSMw=; b=oEtPvMXNTJr7A7vZ6rf7VUTVlg0HwgGDbVFyVzxVzBE6E2pNBdz2j1Isp0rukvHzYk auRx1rJ8+61Iva9nRtGSNoKBB2pKyFsbOpjV+elGRP2ooxn/PEV5hMT3HXlG2P1omeT4 QcSLW2Zf+elLJyrRaliHKzuBLOQXEcA9oojJWZzEDn3qStPiF7NaHYmyoQrmpIZayRIT bcBfZhmpm484zlS3bzy+hZWySr4XiQ7NyNnWzvwKg87B7LJEeB/4srlNdnShsnSAWX62 u9eDakrUG2k+H+z+nO6a0pZ4F+LZERtXpT/5ZeIKtcBCVEif4x2ilGHxCN9/xUhV0gZg 4mVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id g11-v6si17748141wrr.181.2018.10.31.21.55.20; Wed, 31 Oct 2018 21:55:21 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BB88D4CAB; Thu, 1 Nov 2018 05:55:20 +0100 (CET) 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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