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 &&
.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");