DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] test/compress: add trace with device name
@ 2018-07-10 11:07 Fiona Trahe
  2018-07-13 14:17 ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 3+ messages in thread
From: Fiona Trahe @ 2018-07-10 11:07 UTC (permalink / raw)
  To: dev; +Cc: pablo.de.lara.guarch, fiona.trahe

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-07-13 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-10 11:07 [dpdk-dev] [PATCH] test/compress: add trace with device name Fiona Trahe
2018-07-13 14:17 ` De Lara Guarch, Pablo
2018-07-13 14:31   ` De Lara Guarch, Pablo

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).