Skip to contentSkip to conversation

app/testpmd: fix failure of creating E-Tag and NVGRE flows

PATCH Applied Beilei Xing 3 participants 3 messages May 12, 2017 – Jun 8, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/testpmd: fix failure of creating E-Tag and NVGRE flows

Application fails to create NVGRE and E_Tag flows with current configuration, this commit fixes the issue by adding flow items for E_TAG and NVGRE.

Fixes e4840ef2685d ("ethdev: fix incomplete items in flow API")
---
 app/test-pmd/config.c | 2 ++
 1 file changed, 2 insertions(+)
app/test-pmd/config.c +2 -0
index 4d873cd..83a8f52 100644
@@ -968,6 +968,8 @@ static const struct {
 	MK_FLOW_ITEM(TCP, sizeof(struct rte_flow_item_tcp)),
 	MK_FLOW_ITEM(SCTP, sizeof(struct rte_flow_item_sctp)),
 	MK_FLOW_ITEM(VXLAN, sizeof(struct rte_flow_item_vxlan)),
+	MK_FLOW_ITEM(E_TAG, sizeof(struct rte_flow_item_e_tag)),
+	MK_FLOW_ITEM(NVGRE, sizeof(struct rte_flow_item_nvgre)),
 	MK_FLOW_ITEM(MPLS, sizeof(struct rte_flow_item_mpls)),
 	MK_FLOW_ITEM(GRE, sizeof(struct rte_flow_item_gre)),
 };
Signature · 1 line
2.5.5
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Beilei Xing

Application fails to create NVGRE and E_Tag flows with current configuration, this commit fixes the issue by adding flow items for E_TAG and NVGRE.

Fixes e4840ef2685d ("ethdev: fix incomplete items in flow API")

Missed that obvious issue as I could only validate the command-line parsing side of things for these items. Thanks.

Signature · 2 lines
Adrien Mazarguil
6WIND
#2 lore raw

12/05/2017 09:50, Adrien Mazarguil:

Quoted 8 lines · Beilei Xing
Quoted 7 lines

Application fails to create NVGRE and E_Tag flows with current configuration, this commit fixes the issue by adding flow items for E_TAG and NVGRE.

Fixes e4840ef2685d ("ethdev: fix incomplete items in flow API")
Quoted 6 lines
Quoted 1 line

Missed that obvious issue as I could only validate the command-line parsing side of things for these items. Thanks.

Applied, thanks