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 B75F8A0518 for ; Fri, 24 Jul 2020 14:12:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AC9BC1C294; Fri, 24 Jul 2020 14:12:21 +0200 (CEST) Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by dpdk.org (Postfix) with ESMTP id 91B551C294 for ; Fri, 24 Jul 2020 14:12:20 +0200 (CEST) Received: by mail-wr1-f48.google.com with SMTP id a15so8091617wrh.10 for ; Fri, 24 Jul 2020 05:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1Ch9B/OsKrwOpaKfMNZxaEyufBKXtFhxHrtBs/uVZgw=; b=aJy74BlHJI8jzEjF9K/fsMthl7XYCY08vC9NfJ7lJgHyJfqXmOpNCtzsXCsiASXA6c hsWjrIilw/f3LHjPB7oWrtI2gAHTEx36XENUfuaPWRkFK2/fVam8G34k8odwBsQau/T6 xF6/2de7GqP7DRf45LuqHPbend1xjJBTdoUfJzxSfEKTU3z3bBYTqDJHiWsz+UnQYLAR huNTAapptPbMIRFvJLqYWh+5TA824hWPNJg487jlImYiEG01O2Q1lmUR7fm8WwzZiCH3 wQEAEYbab9VrkyY5P5Sxnp138r0VKeKaNnWlcDsG0DQns3SdCieQzRJ7OE9mDWRUlb3h AZPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1Ch9B/OsKrwOpaKfMNZxaEyufBKXtFhxHrtBs/uVZgw=; b=gmpFzGImGamhUOqzLkOTNupxcPfRThFLEAXbE0xzPAP3PtzA7QfXP5iWL1TIeW9mXf 5dKHg9kz/5lL8JiKhYpWF8VkhgPCDOA5wfS0nj6pA0Jrw52w+OUeQl/ocfevd/1nbQ7s UCUoue1hc4K5TR/7hNlvUVDJ6vuKlw68S7zvOoGE8c6PhWVW/xkCY6Py5gQAZTosuXmQ h1pwy5UniwKNpeJbWO/OYlF/o/h6uGnBaCyArlDMHgGkW/8gRShYFI5V4+53ZHwysXl+ bECjJNaSTuFap+hKyWRcn2r1Xm00kIrfmgULZCd1gJw12ECgBbrKrGl8OJ7T52oYPLCn kQSQ== X-Gm-Message-State: AOAM532e8JS9qtjEYqT8tDLfkH6VWjksgyqME/lohdPWkQg7jyumdP5Y cK5iwuhb6LaQIwRcDktOZMAzz3tDIZmK4w== X-Google-Smtp-Source: ABdhPJyoWvD+hrbjmAqtZ1v8BAFEmhk8DRwAsa8yqnkHzrUp7I1k05PYc3zDCzFIEFQqrC7cQe3gSg== X-Received: by 2002:a5d:464a:: with SMTP id j10mr8795574wrs.187.1595592740261; Fri, 24 Jul 2020 05:12:20 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id n5sm7043143wmi.34.2020.07.24.05.12.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 05:12:19 -0700 (PDT) From: luca.boccassi@gmail.com To: Honnappa Nagarahalli Cc: dpdk stable Date: Fri, 24 Jul 2020 13:00:22 +0100 Message-Id: <20200724120030.1863487-184-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200724120030.1863487-1-luca.boccassi@gmail.com> References: <20200724120030.1863487-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'test/hash: move lock-free tests to perf tests' has been queued to stable release 19.11.4 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/26/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From fd4535580ad432e0f742737ca002e20d189bab40 Mon Sep 17 00:00:00 2001 From: Honnappa Nagarahalli Date: Mon, 3 Feb 2020 13:49:11 -0600 Subject: [PATCH] test/hash: move lock-free tests to perf tests [ backported from upstream commit 2cc1d7b40f40768b0aca71450f4b011eff27c919 ] Move reader writer lock free tests to performance tests. Signed-off-by: Honnappa Nagarahalli --- app/test/Makefile | 2 +- app/test/autotest_data.py | 4 ++-- app/test/meson.build | 4 ++-- ...t_hash_readwrite_lf.c => test_hash_readwrite_lf_perf.c} | 7 ++++--- 4 files changed, 9 insertions(+), 8 deletions(-) rename app/test/{test_hash_readwrite_lf.c => test_hash_readwrite_lf_perf.c} (99%) diff --git a/app/test/Makefile b/app/test/Makefile index 1ee155009..30eff3320 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -122,7 +122,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_perf.c SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_functions.c SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_multiwriter.c SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_readwrite.c -SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_readwrite_lf.c +SRCS-$(CONFIG_RTE_LIBRTE_HASH) += test_hash_readwrite_lf_perf.c SRCS-$(CONFIG_RTE_LIBRTE_RIB) += test_rib.c SRCS-$(CONFIG_RTE_LIBRTE_RIB) += test_rib6.c diff --git a/app/test/autotest_data.py b/app/test/autotest_data.py index 6deb97bcc..ca29b09f3 100644 --- a/app/test/autotest_data.py +++ b/app/test/autotest_data.py @@ -670,8 +670,8 @@ non_parallel_test_list = [ "Report": None, }, { - "Name": "Hash read-write lock-free concurrency autotest", - "Command": "hash_readwrite_lf_autotest", + "Name": "Hash read-write lock-free concurrency perf autotest", + "Command": "hash_readwrite_lf_perf_autotest", "Func": default_autotest, "Report": None, }, diff --git a/app/test/meson.build b/app/test/meson.build index d8650db46..d8af67dbf 100644 --- a/app/test/meson.build +++ b/app/test/meson.build @@ -56,7 +56,7 @@ test_sources = files('commands.c', 'test_hash_multiwriter.c', 'test_hash_readwrite.c', 'test_hash_perf.c', - 'test_hash_readwrite_lf.c', + 'test_hash_readwrite_lf_perf.c', 'test_interrupts.c', 'test_ipsec.c', 'test_ipsec_sad.c', @@ -224,7 +224,6 @@ fast_test_names = [ 'eventdev_common_autotest', 'fbarray_autotest', 'hash_readwrite_autotest', - 'hash_readwrite_lf_autotest', 'ipsec_autotest', 'kni_autotest', 'kvargs_autotest', @@ -269,6 +268,7 @@ perf_test_names = [ 'stack_perf_autotest', 'stack_lf_perf_autotest', 'rand_perf_autotest', + 'hash_readwrite_lf_perf_autotest', ] driver_test_names = [ diff --git a/app/test/test_hash_readwrite_lf.c b/app/test/test_hash_readwrite_lf_perf.c similarity index 99% rename from app/test/test_hash_readwrite_lf.c rename to app/test/test_hash_readwrite_lf_perf.c index 97c304054..7bfc067f4 100644 --- a/app/test/test_hash_readwrite_lf.c +++ b/app/test/test_hash_readwrite_lf_perf.c @@ -1241,7 +1241,7 @@ err: } static int -test_hash_readwrite_lf_main(void) +test_hash_readwrite_lf_perf_main(void) { /* * Variables used to choose different tests. @@ -1254,7 +1254,7 @@ test_hash_readwrite_lf_main(void) int ext_bkt = 0; if (rte_lcore_count() < 2) { - printf("Not enough cores for hash_readwrite_lf_autotest, expecting at least 2\n"); + printf("Not enough cores for hash_readwrite_lf_perf_autotest, expecting at least 2\n"); return TEST_SKIPPED; } @@ -1431,4 +1431,5 @@ results: return 0; } -REGISTER_TEST_COMMAND(hash_readwrite_lf_autotest, test_hash_readwrite_lf_main); +REGISTER_TEST_COMMAND(hash_readwrite_lf_perf_autotest, + test_hash_readwrite_lf_perf_main); -- 2.20.1