]> git.droids-corp.org - dpdk.git/blobdiff - app/test-compress-perf/main.c
net/ena: fix build with GCC 12
[dpdk.git] / app / test-compress-perf / main.c
index 3402b65c637718db2480582f328dc29707e993d2..ce9e80bedc4593291d8e7a0bac4c9d5ac3bc49c7 100644 (file)
@@ -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");