]> git.droids-corp.org - dpdk.git/commitdiff
examples/ip_pipeline: fix flow classification config
authorSankar Chokkalingam <sankarx.chokkalingam@intel.com>
Wed, 27 Jul 2016 09:35:30 +0000 (02:35 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 28 Jul 2016 16:11:56 +0000 (18:11 +0200)
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 <sankarx.chokkalingam@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/config/flow.cfg

index 6895d39325326d56dc17454762d3a93a0cca12b8..cec990abf5a6f0f61369889a7a17f6339da6a6d8 100644 (file)
@@ -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 = 0000FFF00000FFF0 ; QinQ key mask
+;key_offset = 268            ; QinQ key offset
+;key_mask = 00000FFF00000FFF ; QinQ key mask
 key_size = 16                               ; IPv4 5-tuple key size
 key_offset = 278                            ; IPv4 5-tuple key offset
 key_mask = 00FF0000FFFFFFFFFFFFFFFFFFFFFFFF ; IPv4 5-tuple key mask