git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62dbd2f
)
app/testpmd: initialize new flow director masks
author
Wenzhuo Lu
<wenzhuo.lu@intel.com>
Mon, 26 Oct 2015 05:27:29 +0000
(13:27 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Wed, 28 Oct 2015 23:02:16 +0000
(
00:02
+0100)
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>
app/test-pmd/testpmd.c
patch
|
blob
|
history
diff --git
a/app/test-pmd/testpmd.c
b/app/test-pmd/testpmd.c
index
2578b6b
..
3cd3cd0
100644
(file)
--- 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,
};