From: Sankar Chokkalingam Date: Mon, 18 Jul 2016 18:23:26 +0000 (-0700) Subject: examples/ip_pipeline: fix performance with default config X-Git-Tag: spdx-start~6102 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=f08455321fe4e8ff30064efcedd6fba75156b89d;p=dpdk.git examples/ip_pipeline: fix performance with default config In TM, the read size should be lesser than the write size to improve performance. This enables the TM ports to push maximum packets to the output port. This fix changes the burst_read value from 64 to 24 in default_tm_params. Signed-off-by: Sankar Chokkalingam Acked-by: Cristian Dumitrescu --- diff --git a/examples/ip_pipeline/config_parse.c b/examples/ip_pipeline/config_parse.c index 0adca98f04..8fe815771e 100644 --- a/examples/ip_pipeline/config_parse.c +++ b/examples/ip_pipeline/config_parse.c @@ -185,7 +185,7 @@ static const struct app_pktq_swq_params default_swq_params = { struct app_pktq_tm_params default_tm_params = { .parsed = 0, .file_name = "./config/tm_profile.cfg", - .burst_read = 64, + .burst_read = 24, .burst_write = 32, };