All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ip_pipeline: Fix for performance issue in downstream configuration
@ 2016-07-18 18:23 Chokkalingam, SankarX
  2016-07-22 10:21 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Chokkalingam, SankarX @ 2016-07-18 18:23 UTC (permalink / raw)
  To: dev; +Cc: cristian.dumitrescu

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: Chokkalingam, SankarX <sankarx.chokkalingam@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
---
 examples/ip_pipeline/config_parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
 };
 
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-22 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-18 18:23 [PATCH] ip_pipeline: Fix for performance issue in downstream configuration Chokkalingam, SankarX
2016-07-22 10:21 ` Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.