From: <pbhagavatula@marvell.com>
To: <jerinj@marvell.com>, <david.marchand@redhat.com>, <aconole@redhat.com>
Cc: <dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>
Subject: [dpdk-dev] [PATCH] app/test: decrease iterations in reciprocal division test
Date: Wed, 23 Oct 2019 22:56:36 +0530 [thread overview]
Message-ID: <20191023172637.10410-1-pbhagavatula@marvell.com> (raw)
From: Pavan Nikhilesh <pbhagavatula@marvell.com>
Decrease max iterations in reciprocal division test to reduce the
runtime.
Update fast_test_names to include reciprocal division.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
---
app/test/meson.build | 2 +-
app/test/test_reciprocal_division.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/test/meson.build b/app/test/meson.build
index 2c23c6347..fa4945189 100644
--- a/app/test/meson.build
+++ b/app/test/meson.build
@@ -197,6 +197,7 @@ fast_test_names = [
'per_lcore_autotest',
'prefetch_autotest',
'rcu_qsbr_autotest',
+ 'reciprocal_division',
'red_autotest',
'ring_autotest',
'ring_pmd_autotest',
@@ -243,7 +244,6 @@ perf_test_names = [
'memcpy_perf_autotest',
'hash_perf_autotest',
'timer_perf_autotest',
- 'reciprocal_division',
'reciprocal_division_perf',
'lpm_perf_autotest',
'red_all',
diff --git a/app/test/test_reciprocal_division.c b/app/test/test_reciprocal_division.c
index 8ea9b1d24..bea021972 100644
--- a/app/test/test_reciprocal_division.c
+++ b/app/test/test_reciprocal_division.c
@@ -13,7 +13,7 @@
#include <rte_random.h>
#include <rte_reciprocal.h>
-#define MAX_ITERATIONS (1ULL << 32)
+#define MAX_ITERATIONS (1ULL << 16)
#define DIVIDE_ITER (100)
static int
--
2.17.1
next reply other threads:[~2019-10-23 17:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-23 17:26 pbhagavatula [this message]
2019-10-24 13:12 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191023172637.10410-1-pbhagavatula@marvell.com \
--to=pbhagavatula@marvell.com \
--cc=aconole@redhat.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=jerinj@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).