From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 147D44CE4 for ; Mon, 23 Jan 2017 08:45:49 +0100 (CET) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP; 22 Jan 2017 23:45:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,273,1477983600"; d="scan'208";a="51485719" Received: from yliu-dev.sh.intel.com ([10.239.67.162]) by orsmga004.jf.intel.com with ESMTP; 22 Jan 2017 23:45:48 -0800 From: Yuanhan Liu To: Jasvinder Singh Cc: Yuanhan Liu , Cristian Dumitrescu , dpdk stable Date: Mon, 23 Jan 2017 15:46:49 +0800 Message-Id: <1485157675-32114-14-git-send-email-yuanhan.liu@linux.intel.com> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1485157675-32114-1-git-send-email-yuanhan.liu@linux.intel.com> References: <1485157675-32114-1-git-send-email-yuanhan.liu@linux.intel.com> Subject: [dpdk-stable] patch 'examples/ip_pipeline: fix parsing of pass-through pipeline' has been queued to stable release 16.11.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2017 07:45:50 -0000 Hi, FYI, your patch has been queued to stable release 16.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 01/28/17. So please shout if anyone has objections. --- Note 16.11 is a LTS release. v16.11.1 is planned to be released shortly (about 2-3 weeks) after v17.02. --- Thanks. --yliu --- >>From 13e7358d00677ff97c1cbbf5610c6780e9a1d97c Mon Sep 17 00:00:00 2001 From: Jasvinder Singh Date: Mon, 21 Nov 2016 13:37:37 +0000 Subject: [PATCH] examples/ip_pipeline: fix parsing of pass-through pipeline [ upstream commit d30185b7bf1cd6924bee7e7abe5d00ae31203ccb ] This patch fixes the configuration file parsing error when load balancing function is enabled in pass-through pipeline. error log: pipeline> [APP] Initializing PIPELINE1 ... [PIPELINE1] Pass-through Parse error in section "PIPELINE1": entry "lb" has invalid value ("hash") Fixes: cbe82f6cfb0a ("examples/ip_pipeline: add swap action in pass-through") Signed-off-by: Jasvinder Singh Acked-by: Cristian Dumitrescu --- examples/ip_pipeline/pipeline/pipeline_passthrough_be.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ip_pipeline/pipeline/pipeline_passthrough_be.c b/examples/ip_pipeline/pipeline/pipeline_passthrough_be.c index 8b71a7d..7ab0afe 100644 --- a/examples/ip_pipeline/pipeline/pipeline_passthrough_be.c +++ b/examples/ip_pipeline/pipeline/pipeline_passthrough_be.c @@ -589,7 +589,7 @@ pipeline_passthrough_parse_args(struct pipeline_passthrough_params *p, params->name, arg_name); dma_hash_lb_present = 1; - if (strcmp(arg_value, "hash") || + if (strcmp(arg_value, "hash") && strcmp(arg_value, "HASH")) PIPELINE_PARSE_ERR_INV_VAL(0, -- 1.9.0