app/testpmd: fix missing GENEVE item in raw encap

Fixes: 0f4203fe9d ("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>
This commit is contained in:
Wisam Jaddo 2019-10-17 08:13:52 +00:00 committed by Ferruh Yigit
parent ed650f3dd8
commit 6977f14517

View File

@ -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;