From fa68e40d6924ce5e35c8f44811ca6da31e0d2c64 Mon Sep 17 00:00:00 2001 From: Fiona Trahe Date: Tue, 30 Apr 2019 17:10:14 +0000 Subject: [PATCH] app/compress-perf: print socket id Added info about socket id used by compression perf test process and by the driver Signed-off-by: Tomasz Cel Signed-off-by: Fiona Trahe Acked-by: Artur Trybula --- app/test-compress-perf/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-compress-perf/main.c b/app/test-compress-perf/main.c index 5a579eaa09..7b9ee7420d 100644 --- a/app/test-compress-perf/main.c +++ b/app/test-compress-perf/main.c @@ -534,6 +534,9 @@ main(int argc, char **argv) else level = test_data->level.list[0]; + printf("App uses socket: %u\n", rte_socket_id()); + printf("Driver uses socket: %u\n", + rte_compressdev_socket_id(test_data->cdev_id)); printf("Burst size = %u\n", test_data->burst_sz); printf("File size = %zu\n", test_data->input_data_sz); -- 2.20.1