]> git.droids-corp.org - dpdk.git/blobdiff - app/test-crypto-perf/cperf_options_parsing.c
app/crypto-perf: support multiple queue pairs
[dpdk.git] / app / test-crypto-perf / cperf_options_parsing.c
index 3974c8173e6dbe354d96141b2d6f9ebf4a87b01b..72c515ab60f4d3c4d8063516631b17cd32f7b750 100644 (file)
@@ -747,6 +747,7 @@ cperf_options_default(struct cperf_options *opts)
 
        strncpy(opts->device_type, "crypto_aesni_mb",
                        sizeof(opts->device_type));
+       opts->nb_qps = 1;
 
        opts->op_type = CPERF_CIPHER_THEN_AUTH;
 
@@ -1044,6 +1045,7 @@ cperf_options_dump(struct cperf_options *opts)
        printf("#\n");
        printf("# cryptodev type: %s\n", opts->device_type);
        printf("#\n");
+       printf("# number of queue pairs per device: %u\n", opts->nb_qps);
        printf("# crypto operation: %s\n", cperf_op_type_strs[opts->op_type]);
        printf("# sessionless: %s\n", opts->sessionless ? "yes" : "no");
        printf("# out of place: %s\n", opts->out_of_place ? "yes" : "no");