X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-compress-perf%2Fmain.c;h=ce9e80bedc4593291d8e7a0bac4c9d5ac3bc49c7;hb=c4e442fa4c455afcbdf11d5c3d7fd7e3481eb1a4;hp=6ff6a2f04acd0335edd6dca44b35ddbc1384afc7;hpb=7be78d027918dbc846e502780faf94d5acdf5f75;p=dpdk.git diff --git a/app/test-compress-perf/main.c b/app/test-compress-perf/main.c index 6ff6a2f04a..ce9e80bedc 100644 --- a/app/test-compress-perf/main.c +++ b/app/test-compress-perf/main.c @@ -168,7 +168,7 @@ comp_perf_initialize_compressdev(struct comp_test_data *test_data, cdev_id = enabled_cdevs[i]; struct rte_compressdev_info cdev_info; - uint8_t socket_id = rte_compressdev_socket_id(cdev_id); + int socket_id = rte_compressdev_socket_id(cdev_id); rte_compressdev_info_get(cdev_id, &cdev_info); if (cdev_info.max_nb_queue_pairs && @@ -194,6 +194,7 @@ comp_perf_initialize_compressdev(struct comp_test_data *test_data, .max_nb_priv_xforms = NUM_MAX_XFORMS, .max_nb_streams = 0 }; + test_data->nb_qps = config.nb_queue_pairs; if (rte_compressdev_configure(cdev_id, &config) < 0) { RTE_LOG(ERR, USER1, "Device configuration failed\n");