From: Fiona Trahe Date: Tue, 10 Jul 2018 11:07:14 +0000 (+0100) Subject: test/compress: log device name X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=78de041582adf18e8da0e7ee04b71ca47a4829f0;p=dpdk.git test/compress: log device name Print out name of device on which test is running at start of test suite. Signed-off-by: Fiona Trahe Acked-by: Pablo de Lara --- diff --git a/test/test/test_compressdev.c b/test/test/test_compressdev.c index f960963a4b..56dcc784ed 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,