From: Wisam Jaddo Date: Thu, 17 Oct 2019 08:13:52 +0000 (+0000) Subject: app/testpmd: fix missing GENEVE item in raw encap X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6977f14517882fb33e8c5aba738a244e6f49c2b6;p=dpdk.git app/testpmd: fix missing GENEVE item in raw encap Fixes: 0f4203fe9d18 ("app/testpmd: support GENEVE pattern item in flow rules") Cc: stable@dpdk.org Signed-off-by: Wisam Jaddo Acked-by: Ori Kam --- diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index 5abe66f6ff..b2c16e6e45 100644 --- 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;