vhost: disable host TSO for linear buffers without extbuf
[dpdk.git] / app / test-crypto-perf / cperf_options.h
index b0c9f44..f5bf03c 100644 (file)
@@ -1,8 +1,12 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2018 Intel Corporation
+ */
 
 #ifndef _CPERF_OPTIONS_
 #define _CPERF_OPTIONS_
 
 #include <rte_crypto.h>
+#include <rte_cryptodev.h>
 
 #define CPERF_PTEST_TYPE       ("ptest")
 #define CPERF_SILENT           ("silent")
@@ -72,6 +76,8 @@ struct cperf_options {
 
        uint32_t pool_sz;
        uint32_t total_ops;
+       uint32_t headroom_sz;
+       uint32_t tailroom_sz;
        uint32_t segment_sz;
        uint32_t test_buffer_size;
        uint32_t *imix_buffer_sizes;
@@ -104,7 +110,7 @@ struct cperf_options {
 
        uint16_t digest_sz;
 
-       char device_type[RTE_CRYPTODEV_NAME_LEN];
+       char device_type[RTE_CRYPTODEV_NAME_MAX_LEN];
        enum cperf_op_type op_type;
 
        char *test_file;