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:
ed650f3
)
app/testpmd: fix missing GENEVE item in raw encap
author
Wisam Jaddo
<wisamm@mellanox.com>
Thu, 17 Oct 2019 08:13:52 +0000
(08:13 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:00:22 +0000
(19:00 +0200)
Fixes:
0f4203fe9d18
("app/testpmd: support GENEVE pattern item in flow rules")
Cc: stable@dpdk.org
Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
app/test-pmd/cmdline_flow.c
patch
|
blob
|
history
diff --git
a/app/test-pmd/cmdline_flow.c
b/app/test-pmd/cmdline_flow.c
index
5abe66f
..
b2c16e6
100644
(file)
--- a/
app/test-pmd/cmdline_flow.c
+++ b/
app/test-pmd/cmdline_flow.c
@@
-6022,6
+6022,9
@@
cmd_set_raw_parsed(const struct buffer *in)
size = sizeof(struct rte_flow_item_nvgre);
proto = 0x2F;
break;
+ case RTE_FLOW_ITEM_TYPE_GENEVE:
+ size = sizeof(struct rte_flow_item_geneve);
+ break;
default:
printf("Error - Not supported item\n");
*total_size = 0;