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 9FA79A04B1; Wed, 4 Nov 2020 19:59:17 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DE0312986; Wed, 4 Nov 2020 19:59:15 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by dpdk.org (Postfix) with ESMTP id 1E6BA28EE for ; Wed, 4 Nov 2020 19:59:14 +0100 (CET) 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 3CE33142F; Wed, 4 Nov 2020 10:59:12 -0800 (PST) Received: from localhost.localdomain (2p2660v4-1.austin.arm.com [10.118.13.220]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 29D7B3F718; Wed, 4 Nov 2020 10:59:12 -0800 (PST) From: Dharmik Thakkar To: Cc: dev@dpdk.org, nd@arm.com, Dharmik Thakkar Date: Wed, 4 Nov 2020 12:58:54 -0600 Message-Id: <20201104185858.18397-1-dharmik.thakkar@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201103222352.11566-1-dharmik.thakkar@arm.com> References: <20201103222352.11566-1-dharmik.thakkar@arm.com> Subject: [dpdk-dev] [PATCH v5 0/4] test/lpm: fix rcu qsbr perf test 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" Fix LPM adds, LPM deletes, and cycle calculation. Return error if LPM add/delete fails in multi-writer test. Return error if single or multi writer test fails Remove redundant error checking for readers. Combine single and multi threaded test cases to avoid code duplication. --- v5: - Update logic for routes inserted by each writer in multi writer test to avoid possibility of routes getting skipped v4: - Return error if rcu qsbr test fails - Improve multi writer test to enable more than 2 writers v3: - Add 'goto error' - Remove unnecessary if statement v2: - Add more details about the fix to the commit message - Replace hard coded values with an enum - Remove lock acquire/release for single writer Dharmik Thakkar (4): test/lpm: fix cycle calculation in rcu qsbr perf test/lpm: return error on failure in rcu qsbr perf test/lpm: remove error checking in rcu qsbr perf test/lpm: avoid code duplication in rcu qsbr perf app/test/test_lpm_perf.c | 380 +++++++++------------------------------ 1 file changed, 88 insertions(+), 292 deletions(-) -- 2.17.1