[dpdk-dev] [PATCH] examples/ip_pipeline: fix wrong values in flow.cfg

2016-07-28 Thread Thomas Monjalon
2016-07-27 02:35, Sankar Chokkalingam:
> This configuration is example configuration for flow classification.
> This fix changes the offset and mask value to compute the hash correctly.
> This fix does not involve code change and do not impact compilation,
> build and performance.
> 
> Fixes: 93771a569daa ("examples/ip_pipeline: rework flow classification CLI")
> 
> Signed-off-by: Sankar Chokkalingam 
> Acked-by: Cristian Dumitrescu 

Applied, thanks


[dpdk-dev] [PATCH] examples/ip_pipeline: fix wrong values in flow.cfg

2016-07-27 Thread Sankar Chokkalingam
This configuration is example configuration for flow classification.
This fix changes the offset and mask value to compute the hash correctly.
This fix does not involve code change and do not impact compilation,
build and performance.

Fixes: 93771a569daa ("examples/ip_pipeline: rework flow classification CLI")

Signed-off-by: Sankar Chokkalingam 
Acked-by: Cristian Dumitrescu 
---
 examples/ip_pipeline/config/flow.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/ip_pipeline/config/flow.cfg 
b/examples/ip_pipeline/config/flow.cfg
index 6895d39..cec990a 100644
--- a/examples/ip_pipeline/config/flow.cfg
+++ b/examples/ip_pipeline/config/flow.cfg
@@ -64,8 +64,8 @@ pktq_in = RXQ0.0 RXQ1.0 RXQ2.0 RXQ3.0
 pktq_out = TXQ0.0 TXQ1.0 TXQ2.0 TXQ3.0 SINK0
 n_flows = 65536
 ;key_size = 8; QinQ key size
-;key_offset = 270; QinQ key offset
-;key_mask = FFF0FFF0 ; QinQ key mask
+;key_offset = 268; QinQ key offset
+;key_mask = 0FFF0FFF ; QinQ key mask
 key_size = 16   ; IPv4 5-tuple key size
 key_offset = 278; IPv4 5-tuple key offset
 key_mask = 00FF ; IPv4 5-tuple key mask
-- 
2.5.5