[dpdk-dev] [RFC 4/4] app/testpmd: support l3vxlan tunnel type
Xueming Li
xuemingl at mellanox.com
Wed Nov 29 18:31:06 CET 2017
Signed-off-by: Xueming Li <xuemingl at mellanox.com>
---
app/test-pmd/cmdline_flow.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c
index 9402eb7..762ab2c 100644
--- a/app/test-pmd/cmdline_flow.c
+++ b/app/test-pmd/cmdline_flow.c
@@ -160,6 +160,7 @@ enum index {
ITEM_SCTP_TAG,
ITEM_SCTP_CKSUM,
ITEM_VXLAN,
+ ITEM_L3VXLAN,
ITEM_VXLAN_VNI,
ITEM_E_TAG,
ITEM_E_TAG_GRP_ECID_B,
@@ -453,6 +454,7 @@ struct parse_action_priv {
ITEM_TCP,
ITEM_SCTP,
ITEM_VXLAN,
+ ITEM_L3VXLAN,
ITEM_E_TAG,
ITEM_NVGRE,
ITEM_MPLS,
@@ -1367,6 +1369,13 @@ static int comp_vc_action_rss_queue(struct context *, const struct token *,
.next = NEXT(item_vxlan),
.call = parse_vc,
},
+ [ITEM_L3VXLAN] = {
+ .name = "l3vxlan",
+ .help = "match L3VXLAN header",
+ .priv = PRIV_ITEM(L3VXLAN, sizeof(struct rte_flow_item_vxlan)),
+ .next = NEXT(item_vxlan),
+ .call = parse_vc,
+ },
[ITEM_VXLAN_VNI] = {
.name = "vni",
.help = "VXLAN identifier",
--
1.8.3.1
More information about the dev
mailing list