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 <tomaszx.cel@intel.com>
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Artur Trybula <arturx.trybula@intel.com>
This commit is contained in:
Fiona Trahe 2019-04-30 17:10:14 +00:00 committed by Akhil Goyal
parent f7095d41bb
commit fa68e40d69

View File

@ -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);