From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 85D5A2A5F for ; Mon, 18 Jul 2016 20:23:16 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 18 Jul 2016 11:23:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,385,1464678000"; d="scan'208";a="1019237953" Received: from unknown (HELO localhost.ch.intel.com) ([10.2.63.143]) by orsmga002.jf.intel.com with ESMTP; 18 Jul 2016 11:23:15 -0700 From: "Chokkalingam, SankarX" To: dev@dpdk.org Cc: cristian.dumitrescu@intel.com Date: Mon, 18 Jul 2016 11:23:26 -0700 Message-Id: <1468866206-2321-1-git-send-email-sankarx.chokkalingam@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH] ip_pipeline: Fix for performance issue in downstream configuration X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2016 18:23:17 -0000 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 Acked-by: Cristian Dumitrescu --- 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