common/cnxk: fix error checking
[dpdk.git] / app / test-compress-perf / main.c
index ed21605..6ff6a2f 100644 (file)
@@ -67,7 +67,7 @@ comp_perf_check_capabilities(struct comp_test_data *test_data, uint8_t cdev_id)
 
        uint64_t comp_flags = cap->comp_feature_flags;
 
-       /* Huffman enconding */
+       /* Huffman encoding */
        if (test_data->huffman_enc == RTE_COMP_HUFFMAN_FIXED &&
                        (comp_flags & RTE_COMP_FF_HUFFMAN_FIXED) == 0) {
                RTE_LOG(ERR, USER1,
@@ -389,7 +389,7 @@ main(int argc, char **argv)
        i = 0;
        uint8_t qp_id = 0, cdev_index = 0;
 
-       RTE_LCORE_FOREACH_SLAVE(lcore_id) {
+       RTE_LCORE_FOREACH_WORKER(lcore_id) {
 
                if (i == total_nb_qps)
                        break;
@@ -413,7 +413,7 @@ main(int argc, char **argv)
        while (test_data->level <= test_data->level_lst.max) {
 
                i = 0;
-               RTE_LCORE_FOREACH_SLAVE(lcore_id) {
+               RTE_LCORE_FOREACH_WORKER(lcore_id) {
 
                        if (i == total_nb_qps)
                                break;
@@ -424,7 +424,7 @@ main(int argc, char **argv)
                        i++;
                }
                i = 0;
-               RTE_LCORE_FOREACH_SLAVE(lcore_id) {
+               RTE_LCORE_FOREACH_WORKER(lcore_id) {
 
                        if (i == total_nb_qps)
                                break;
@@ -449,7 +449,7 @@ end:
 
        case ST_DURING_TEST:
                i = 0;
-               RTE_LCORE_FOREACH_SLAVE(lcore_id) {
+               RTE_LCORE_FOREACH_WORKER(lcore_id) {
                        if (i == total_nb_qps)
                                break;