examples/ip_pipeline: fix parsing of pass-through pipeline
authorJasvinder Singh <jasvinder.singh@intel.com>
Mon, 21 Nov 2016 13:37:37 +0000 (13:37 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Jan 2017 17:37:41 +0000 (18:37 +0100)
commitd30185b7bf1cd6924bee7e7abe5d00ae31203ccb
tree4fcba5d7ae5a95a9965934866aa05dbe7ba55104
parentac6bad59f1026c3b271542aea1856e4a0d87c426
examples/ip_pipeline: fix parsing of pass-through pipeline

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")
Cc: stable@dpdk.org
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/pipeline/pipeline_passthrough_be.c