From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A2AA7A00E6 for ; Sun, 1 Sep 2019 08:58:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C31A81D42A; Sun, 1 Sep 2019 08:58:35 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 3F4461D17E for ; Sun, 1 Sep 2019 08:58:30 +0200 (CEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 66F08344; Sat, 31 Aug 2019 23:58:29 -0700 (PDT) Received: from dp6132.austin.arm.com (dp6132.austin.arm.com [10.118.12.38]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2159F3F59C; Sun, 1 Sep 2019 00:00:52 -0700 (PDT) From: Dharmik Thakkar To: Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, ruifeng.wang@arm.com, Dharmik Thakkar Date: Sun, 1 Sep 2019 06:58:07 +0000 Message-Id: <20190901065810.15137-1-dharmik.thakkar@arm.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [RFC 0/3] RCU integration with hash library 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 patchset integrates RCU QSBR support with hash library. Note: This patchset has dependency on another patchset: https://patchwork.dpdk.org/cover/57813/ Refer to RCU documentation to understand various aspects of integrating RCU library into other libraries. Introduce a new API rte_hash_rcu_qsbr_add for application to register a RCU variable that hash library will use. Add functional and performance test cases. Fix 'ixgbe_ethdev.h' to avoid multiple definitions of 'bool'. (Please note that this fix is temporary. Recommend suggesting better solution) Dharmik Thakkar (3): net/ixgbe: avoid multpile definitions of 'bool' lib/hash: integrate RCU QSBR test/hash: add tests for integrated RCU QSBR app/test/test_hash_readwrite_lf.c | 700 ++++++++++++++++++++++++++- drivers/net/ixgbe/ixgbe_ethdev.h | 1 + lib/librte_hash/Makefile | 2 +- lib/librte_hash/meson.build | 2 + lib/librte_hash/rte_cuckoo_hash.c | 354 +++++++++++++- lib/librte_hash/rte_cuckoo_hash.h | 3 + lib/librte_hash/rte_hash.h | 38 +- lib/librte_hash/rte_hash_version.map | 2 +- 8 files changed, 1065 insertions(+), 37 deletions(-) -- 2.17.1