From: Fiona Trahe <fiona.trahe@intel.com>
To: dev@dpdk.org
Cc: pablo.de.lara.guarch@intel.com, fiona.trahe@intel.com
Subject: [dpdk-dev] [PATCH] test/compress: add trace with device name
Date: Tue, 10 Jul 2018 12:07:14 +0100 [thread overview]
Message-ID: <1531220834-30217-1-git-send-email-fiona.trahe@intel.com> (raw)
Print out name of device on which test is running at start of
test suite.
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
---
test/test/test_compressdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/test/test_compressdev.c b/test/test/test_compressdev.c
index f960963..56dcc78 100644
--- a/test/test/test_compressdev.c
+++ b/test/test/test_compressdev.c
@@ -80,6 +80,9 @@ testsuite_setup(void)
return TEST_FAILED;
}
+ RTE_LOG(NOTICE, USER1, "Running tests on device %s\n",
+ rte_compressdev_name_get(0));
+
uint32_t max_buf_size = 0;
for (i = 0; i < RTE_DIM(compress_test_bufs); i++)
max_buf_size = RTE_MAX(max_buf_size,
--
2.7.4
next reply other threads:[~2018-07-10 11:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-10 11:07 Fiona Trahe [this message]
2018-07-13 14:17 ` De Lara Guarch, Pablo
2018-07-13 14:31 ` De Lara Guarch, Pablo
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=1531220834-30217-1-git-send-email-fiona.trahe@intel.com \
--to=fiona.trahe@intel.com \
--cc=dev@dpdk.org \
--cc=pablo.de.lara.guarch@intel.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).