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 <wisamm@mellanox.com> Acked-by: Ori Kam <orika@mellanox.com>
This commit is contained in:
parent
ed650f3dd8
commit
6977f14517
@ -6022,6 +6022,9 @@ cmd_set_raw_parsed(const struct buffer *in)
|
|||||||
size = sizeof(struct rte_flow_item_nvgre);
|
size = sizeof(struct rte_flow_item_nvgre);
|
||||||
proto = 0x2F;
|
proto = 0x2F;
|
||||||
break;
|
break;
|
||||||
|
case RTE_FLOW_ITEM_TYPE_GENEVE:
|
||||||
|
size = sizeof(struct rte_flow_item_geneve);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
printf("Error - Not supported item\n");
|
printf("Error - Not supported item\n");
|
||||||
*total_size = 0;
|
*total_size = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user