]> git.droids-corp.org - dpdk.git/blobdiff - app/test-crypto-perf/cperf_test_throughput.c
app/crypto-perf: check minimum lcore number
[dpdk.git] / app / test-crypto-perf / cperf_test_throughput.c
index eae284e1d186ea85b32179cdcb44ffb0bec61b23..8766d6e9b0a925a06a75e739cec13d12580f459a 100644 (file)
@@ -92,6 +92,7 @@ cperf_throughput_test_runner(void *test_ctx)
        struct cperf_throughput_ctx *ctx = test_ctx;
        uint16_t test_burst_size;
        uint8_t burst_size_idx = 0;
+       uint32_t imix_idx = 0;
 
        static int only_once;
 
@@ -165,7 +166,7 @@ cperf_throughput_test_runner(void *test_ctx)
                                        ctx->dst_buf_offset,
                                        ops_needed, ctx->sess,
                                        ctx->options, ctx->test_vector,
-                                       iv_offset);
+                                       iv_offset, &imix_idx);
 
                        /**
                         * When ops_needed is smaller than ops_enqd, the