From patchwork Tue Oct 8 21:12:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Honnappa Nagarahalli X-Patchwork-Id: 175575 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp6230748ill; Tue, 8 Oct 2019 14:12:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTM+ndlJA8c6zqLJ+Kp6xHT8GKDd6WjMAz5fFrW0WJ2bnGAJNcpwtJn7tEaiNCLN/tLhz8 X-Received: by 2002:a17:906:5bc1:: with SMTP id w1mr29989427ejs.143.1570569157031; Tue, 08 Oct 2019 14:12:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570569157; cv=none; d=google.com; s=arc-20160816; b=ImzWhkf+O0MdrDM4BqlgvoAuKe1fh4smNsuEwAwxXjDOfHmVd/kEGVdp4+9EI6LSHp su5IzswMiiSlWkV9d4+nCu5W6PeePjzrH3kM9oXKeu03escWe3D24he1Z3X1bo3oj+NF HESEe7pW1PBm/2T3vraisrg9IyNyD8ZBT7nzXMWuvMre3/8KKv3J1TdRVGYGv4y7flj4 90vVM3mpF89Cdy8V1hTyojKY0SpXukIIMu6MDM+RVDS1UXwZfbX5onyjbi3psFpYchTS xFJCYyw0xjigo2Pm2+dHs8RDiZRx7bTQPV6vk+Zr78NVD5UrYiQgTMvgbX0ch5/MW2MH 0LAQ== 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:message-id:date:cc:to :from; bh=RYAGQTG3/1QFwbKD3PSYhIOJT37xqU82NLBie3Efqjs=; b=y4cWXPZyDl5xCIuQ+Xs6tCilQ2SQkYjy4P/RmSz1idk2+bIF8yti4eG92JY2mh2FLF s5ajigg/htWXDAxR423kFQZKakUi/v4XBuxQWTMdYLiZpcpgDyHHvBSGAJOvDau9Wqcs +KxwntqCQleXaids9WgsopdQo6wegGEETO0gPUjS01DTY3j5drR/s93WedtESRrnn6Yd Yo0Uu1DOGNI1Dqx9UxDcr8ROwI2rWaA4I/pjDe8HRR+z35PCtBUx2iLIJsUtLtMZxGor n91Xv8+vSwcn6zAZ1wLnawTvbyD+TStRsV59eqK+yDzsSvn7568g+0zVjD8Djcs5ZfqG MovA== 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 qu18si48840ejb.80.2019.10.08.14.12.36; Tue, 08 Oct 2019 14:12:37 -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 39E381C0DB; Tue, 8 Oct 2019 23:12:36 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 99A221C0D2; Tue, 8 Oct 2019 23:12:34 +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 E4B9728; Tue, 8 Oct 2019 14:12:33 -0700 (PDT) Received: from qc2400f-1.austin.arm.com (qc2400f-1.austin.arm.com [10.118.12.34]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DC9A53F68E; Tue, 8 Oct 2019 14:12:33 -0700 (PDT) From: Honnappa Nagarahalli To: honnappa.nagarahalli@arm.com, david.marchand@redhat.com, konstantin.ananyev@intel.com Cc: dev@dpdk.org, ruifeng.wang@arm.com, stable@dpdk.org, nd@arm.com Date: Tue, 8 Oct 2019 16:12:13 -0500 Message-Id: <20191008211220.31586-1-honnappa.nagarahalli@arm.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH 0/7] typo, doc, simple fixes and some optimizations 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" Few typo fixes, some corrections to the documentation and simple fixes to the test cases. The last 2 commits contain simple optimizations with good amount of performance improvements. v2: All instances of size_t fixed (Ruifeng) Honnappa Nagarahalli (7): doc/rcu: fix typos doc/rcu: correct the limitation on number of threads doc/rcu: add information about storing token and resource test/rcu: use size_t instead of int test/rcu: use correct nomenclature while printing results lib/rcu: add least acknowledged token optimization lib/rcu: update QS only when there are updates from writer app/test/test_rcu_qsbr.c | 4 +-- app/test/test_rcu_qsbr_perf.c | 27 ++++++++++------- doc/guides/prog_guide/rcu_lib.rst | 36 ++++++++++++---------- lib/librte_rcu/rte_rcu_qsbr.c | 4 +++ lib/librte_rcu/rte_rcu_qsbr.h | 50 +++++++++++++++++++++++++++++-- 5 files changed, 89 insertions(+), 32 deletions(-) -- 2.17.1 Reviewed-by: Honnappa Nagarahalli