net/mlx5: resize a full counter container
[dpdk.git] / app / test / test_compressdev.c
index 1b1983e..65889c2 100644 (file)
@@ -134,8 +134,8 @@ testsuite_setup(void)
        unsigned int i;
 
        if (rte_compressdev_count() == 0) {
-               RTE_LOG(ERR, USER1, "Need at least one compress device\n");
-               return TEST_FAILED;
+               RTE_LOG(WARNING, USER1, "Need at least one compress device\n");
+               return TEST_SKIPPED;
        }
 
        RTE_LOG(NOTICE, USER1, "Running tests on device %s\n",
@@ -1870,7 +1870,7 @@ test_compressdev_out_of_space_buffer(void)
        uint16_t i;
        const struct rte_compressdev_capabilities *capab;
 
-       RTE_LOG(INFO, USER1, "This is a negative test errors are expected\n");
+       RTE_LOG(ERR, USER1, "This is a negative test errors are expected\n");
 
        capab = rte_compressdev_capability_get(0, RTE_COMP_ALGO_DEFLATE);
        TEST_ASSERT(capab != NULL, "Failed to retrieve device capabilities");
@@ -1901,7 +1901,7 @@ test_compressdev_out_of_space_buffer(void)
                RTE_COMP_OP_STATELESS,
                LB_BOTH,
                ZLIB_DECOMPRESS,
-               1,
+               1,  /* run out-of-space test */
                0
        };
        /* Compress with compressdev, decompress with Zlib */