summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSankar Chokkalingam <sankarx.chokkalingam@intel.com>2016-07-18 11:23:26 -0700
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-07-22 12:40:26 +0200
commitf08455321fe4e8ff30064efcedd6fba75156b89d (patch)
tree76bb328dc7e74f23b53b18ecc71e8197448da822 /examples
parent6fe8ecc10cb3824bd73d34f92af02d03d9fd0b8b (diff)
downloaddpdk-f08455321fe4e8ff30064efcedd6fba75156b89d.zip
dpdk-f08455321fe4e8ff30064efcedd6fba75156b89d.tar.gz
dpdk-f08455321fe4e8ff30064efcedd6fba75156b89d.tar.xz
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 <sankarx.chokkalingam@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ip_pipeline/config_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ip_pipeline/config_parse.c b/examples/ip_pipeline/config_parse.c
index 0adca98..8fe8157 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,
};