X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-compress-perf%2Fcomp_perf_options.h;h=2c26511ef0adf2a34c95e79c3bdb4d1aa11118d7;hb=4a83876faeb6d9e7e19e3b9ee212e55b8d637c3d;hp=5a32ed3a6be6bb16b99a24f0324d5c18074bbc96;hpb=8c7a31317b0ec128d25b30cd56db94c144ceaaa2;p=dpdk.git diff --git a/app/test-compress-perf/comp_perf_options.h b/app/test-compress-perf/comp_perf_options.h index 5a32ed3a6b..2c26511ef0 100644 --- a/app/test-compress-perf/comp_perf_options.h +++ b/app/test-compress-perf/comp_perf_options.h @@ -7,11 +7,11 @@ #define MAX_LIST 32 #define MIN_COMPRESSED_BUF_SIZE 8 -#define EXPANSE_RATIO 1.05 +#define EXPANSE_RATIO 1.1 #define MAX_MBUF_DATA_SIZE (UINT16_MAX - RTE_PKTMBUF_HEADROOM) #define MAX_SEG_SIZE ((int)(MAX_MBUF_DATA_SIZE / EXPANSE_RATIO)) -extern const char *cperf_test_type_strs[]; +extern const char *comp_perf_test_type_strs[]; /* Cleanup state machine */ enum cleanup_st { @@ -56,12 +56,14 @@ struct comp_test_data { uint32_t pool_sz; uint32_t num_iter; uint16_t max_sgl_segs; + uint32_t total_segs; enum rte_comp_huffman huffman_enc; enum comp_operation test_op; int window_sz; struct range_list level_lst; uint8_t level; + int use_external_mbufs; double ratio; enum cleanup_st cleanup;