X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_compressdev.c;h=a1b9f062501fe7a9fbc76742f6b44a37ff138ed0;hb=96fe84f42a361382b89f462873edae7c1236c303;hp=0571c17ecb8d64907ce0daa5776dce5044213af1;hpb=db06104c306256a18fdf98c5f68361d902337185;p=dpdk.git diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c index 0571c17ecb..a1b9f06250 100644 --- a/app/test/test_compressdev.c +++ b/app/test/test_compressdev.c @@ -1411,7 +1411,6 @@ test_deflate_comp_finalize(const struct interim_data_params *int_data, /* from int_data: */ unsigned int num_xforms = int_data->num_xforms; struct rte_comp_xform **compress_xforms = int_data->compress_xforms; - uint16_t *buf_idx = int_data->buf_idx; unsigned int num_bufs = int_data->num_bufs; /* from test_priv_data: */ @@ -1442,7 +1441,7 @@ test_deflate_comp_finalize(const struct interim_data_params *int_data, RTE_LOG(DEBUG, USER1, "Buffer %u compressed by %s from %u to" " %u bytes (level = %d, huffman = %s)\n", - buf_idx[priv_data->orig_idx], engine, + i, engine, ops_processed[i]->consumed, ops_processed[i]->produced, compress_xform->level, huffman_type_strings[huffman_type]); @@ -1734,7 +1733,6 @@ test_deflate_decomp_finalize(const struct interim_data_params *int_data, static unsigned int step; /* from int_data: */ - uint16_t *buf_idx = int_data->buf_idx; unsigned int num_bufs = int_data->num_bufs; const char * const *test_bufs = int_data->test_bufs; struct rte_comp_xform **compress_xforms = int_data->compress_xforms; @@ -1766,7 +1764,7 @@ test_deflate_decomp_finalize(const struct interim_data_params *int_data, strlcpy(engine, "pmd", sizeof(engine)); RTE_LOG(DEBUG, USER1, "Buffer %u decompressed by %s from %u to %u bytes\n", - buf_idx[priv_data->orig_idx], engine, + i, engine, ops_processed[i]->consumed, ops_processed[i]->produced); ops[i] = NULL; }