X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_pmd_perf.c;h=ef9262c3ba665c87005bc0182f5aa078f1e2e372;hb=71f39b07b6856c5f7d1c1aae8e9e5866d2a9a974;hp=1fd6843cdff7a13e71038cc90a9d593461b819a4;hpb=79bec05b32b75ce38a916f0d7605f6cd448ea72b;p=dpdk.git diff --git a/app/test/test_pmd_perf.c b/app/test/test_pmd_perf.c index 1fd6843cdf..ef9262c3ba 100644 --- a/app/test/test_pmd_perf.c +++ b/app/test/test_pmd_perf.c @@ -841,10 +841,10 @@ test_set_rxtx_conf(cmdline_fixed_string_t mode) port_conf.rxmode.enable_scatter = 0; return 0; } else if (!strcmp(mode, "scalar")) { - /* bulk alloc rx, simple tx */ - tx_conf.txq_flags = 0xf01; - tx_conf.tx_rs_thresh = 128; - tx_conf.tx_free_thresh = 128; + /* bulk alloc rx, full-featured tx */ + tx_conf.txq_flags = 0; + tx_conf.tx_rs_thresh = 32; + tx_conf.tx_free_thresh = 32; port_conf.rxmode.hw_ip_checksum = 1; port_conf.rxmode.enable_scatter = 0; return 0;