Skip to contentSkip to conversation

app/testpmd: fix missing jump action in flow action

PATCH Applied Reshma Pattan 3 participants 3 messages Sep 19, 2018 – Sep 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/testpmd: fix missing jump action in flow action

Added missing JUMP flow action in flow_action array. Without this the flow rule cannot be created for JUMP action.

Fixes 938a184a18 ("app/testpmd: implement basic support for flow API")
---
 app/test-pmd/config.c | 1 +
 1 file changed, 1 insertion(+)
app/test-pmd/config.c +1 -0
index a0f934932..ea2fc9575 100644
@@ -1132,6 +1132,7 @@ static const struct {
 	MK_FLOW_ACTION(END, 0),
 	MK_FLOW_ACTION(VOID, 0),
 	MK_FLOW_ACTION(PASSTHRU, 0),
+	MK_FLOW_ACTION(JUMP, 0),
 	MK_FLOW_ACTION(MARK, sizeof(struct rte_flow_action_mark)),
 	MK_FLOW_ACTION(FLAG, 0),
 	MK_FLOW_ACTION(QUEUE, sizeof(struct rte_flow_action_queue)),
Signature · 1 line
2.14.4
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Reshma Pattan
Sent: Wednesday, September 19, 2018 3:01 PM
To: [email protected]; [email protected]
Cc: Pattan, Reshma <[email protected]>
Subject: [dpdk-dev] [PATCH] app/testpmd: fix missing jump action in flow action

Quoted 6 lines

Added missing JUMP flow action in flow_action array. Without this the flow rule cannot be created for JUMP action.

Fixes 938a184a18 ("app/testpmd: implement basic support for flow API")
Applied
#2 lore raw
Quoted 7 lines · Bernard
Quoted 7 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Reshma Pattan
Sent: Wednesday, September 19, 2018 3:01 PM
To: [email protected]; [email protected]
Cc: Pattan, Reshma <[email protected]>
Subject: [dpdk-dev] [PATCH] app/testpmd: fix missing jump action in flow action

Quoted 8 lines
Quoted 6 lines

Added missing JUMP flow action in flow_action array. Without this the flow rule cannot be created for JUMP action.

Fixes 938a184a18 ("app/testpmd: implement basic support for flow API")

Applied to dpdk-next-net/master, thanks.