summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorWenzhuo Lu <wenzhuo.lu@intel.com>2015-10-26 13:27:29 +0800
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-10-29 00:02:16 +0100
commit47b3ac6b45a1c2bef5b620d3bf67a7ffeb545319 (patch)
tree5c31d80e6bb157c82c23b7e0a3c7dd2380290070 /app
parent62dbd2ffea9ab6f7ff0e9a70046161acc5894ef3 (diff)
downloaddpdk-47b3ac6b45a1c2bef5b620d3bf67a7ffeb545319.zip
dpdk-47b3ac6b45a1c2bef5b620d3bf67a7ffeb545319.tar.gz
dpdk-47b3ac6b45a1c2bef5b620d3bf67a7ffeb545319.tar.xz
app/testpmd: initialize new flow director masks
When a port is enabled, there're default values for the parameters of fdir mask. For the new parameters, the default values also need to be set. Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Diffstat (limited to 'app')
-rw-r--r--app/test-pmd/testpmd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
index 2578b6b..3cd3cd0 100644
--- a/app/test-pmd/testpmd.c
+++ b/app/test-pmd/testpmd.c
@@ -298,6 +298,9 @@ struct rte_fdir_conf fdir_conf = {
},
.src_port_mask = 0xFFFF,
.dst_port_mask = 0xFFFF,
+ .mac_addr_byte_mask = 0xFF,
+ .tunnel_type_mask = 1,
+ .tunnel_id_mask = 0xFFFFFFFF,
},
.drop_queue = 127,
};