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 30273A04B0; Sat, 24 Oct 2020 11:09:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F0B5A5913; Sat, 24 Oct 2020 11:09:52 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id A995558F9 for ; Sat, 24 Oct 2020 11:09:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603530588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bQg1CMqk9i8SMd07vdpLXmD2V/iMrWLQxm5se2CMNIM=; b=SP0zgcTEEV1LTJTneBS3k4w0kXDHYT+9kraFb4jEbq4IYc/yYjEqpSmcwRomH4eIat5hYi PczZP5JQUFUf5TXX+LUCSbx14s0m7Cdki753mUeUrjEU/Uwxq0oteuFBrJwX/L5KEwWQlv 35/tOVFfeBYz7m5AH8V1ah+t3mqszp4= Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-539-fR42OfybM96jTERs-Rvphw-1; Sat, 24 Oct 2020 05:09:45 -0400 X-MC-Unique: fR42OfybM96jTERs-Rvphw-1 Received: by mail-vs1-f72.google.com with SMTP id s2so868401vsj.21 for ; Sat, 24 Oct 2020 02:09:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bQg1CMqk9i8SMd07vdpLXmD2V/iMrWLQxm5se2CMNIM=; b=ri8no2HJWDVl3KVEcQVzUdiFodKT8b1Drq0GoVXYEeG9EtWGff4kJrR1PtU0FeZL6t 5DhLjr+MIZTN0YE6GVm7O50fIozaefC+tNKqmpGbuVQtyeXyw2kch5mYDV7aYw2B+i6r ns4fALuR1ujwdmuhRKocpK8sbL1zWsoWtsV5tdo/zN0Pkmf9T8eIvEjnDGitzhxeALbT muiHnw+6huNUXClvw8zPMKatArxGavsbqnTW2c7VSNYebYoSpnlMt0S+IjWUS0K0oEnG UOie4u4/uSpanKLHp/gSwQE74r7q6utfNudJtrRU99wwj2Zhr5zv6nJiAU9SzaLf8Wsj FL6Q== X-Gm-Message-State: AOAM531v0pYGiCS29loCXFMG5NLt7MoEK74m9ZJ81vn4T2rpwfEcnilJ i2+UHXEw7FnSTlN1HK4GT6TgINaozlKvz6mIMf6jADAA1YiHdhQxSDCVr9aE4lNznhtk2HK114U IFo5wpu9iGSA0ZUvVz90= X-Received: by 2002:a1f:6014:: with SMTP id u20mr4454949vkb.9.1603530584511; Sat, 24 Oct 2020 02:09:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzh+t6FJoKZJ8e9hR64YRHuxWrBxD8pCvJ0OVybB6QZWv3aiiDM3i6cmn1djslp+Y5T0jnMeZqkFDn2ovTLi5I= X-Received: by 2002:a1f:6014:: with SMTP id u20mr4454929vkb.9.1603530584279; Sat, 24 Oct 2020 02:09:44 -0700 (PDT) MIME-Version: 1.0 References: <20201020161301.7458-1-dharmik.thakkar@arm.com> <20201021225006.10438-1-dharmik.thakkar@arm.com> In-Reply-To: <20201021225006.10438-1-dharmik.thakkar@arm.com> From: David Marchand Date: Sat, 24 Oct 2020 11:09:32 +0200 Message-ID: To: Dharmik Thakkar Cc: dev , nd , Honnappa Nagarahalli , "Ruifeng Wang (Arm Technology China)" , "Wang, Yipeng1" , Dmitry Kozlyuk , Pallavi Kadam , Thomas Monjalon Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v6 0/4] hash: integrate RCU QSBR 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" On Thu, Oct 22, 2020 at 12:51 AM Dharmik Thakkar wrote: > > Integrate RCU QSBR to make it easier for the applications to use lock > free algorithm. > > Resource reclamation implementation was split from the original > series, and has already been part of RCU library. Rework the series > to base hash integration on RCU reclamation APIs. > > Refer 'Resource reclamation framework for DPDK' available at [1] > to understand various aspects of integrating RCU library > into other libraries. > > [1] https://doc.dpdk.org/guides/prog_guide/rcu_lib.html > > Introduce a new API rte_hash_rcu_qsbr_add for application to > register a RCU variable that hash library will use. > > Functional tests and performance tests are added to cover the > integration with RCU. Fixed some style issues/checkpatch warnings. The unit test code especially is not really checkpatch compliant, maybe worth a separate cleanup later. Removed unrelated changes (like removing empty lines, fixing typos in unrelated parts). Series applied, thanks. Little note: checkpatch now has a check on repeated words better than a script of mine: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/scripts/checkpatch.pl?id=1a3dcf2e6b35faa1176b9cd8200094fbce16ba19 Probably worth it for people to update their checkpatch.pl. -- David Marchand