summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorReshma Pattan <reshma.pattan@intel.com>2018-09-19 15:01:05 +0100
committerFerruh Yigit <ferruh.yigit@intel.com>2018-09-28 01:41:02 +0200
commitdcbbbd069217cef1c71601e0809e870df1545e47 (patch)
treece8bda711391a6c7f0dc8faf8cfd6c31768bae7f /app
parent5d85a49661b5c1ad2fa71547ed5fe6490427738a (diff)
downloaddpdk-dcbbbd069217cef1c71601e0809e870df1545e47.zip
dpdk-dcbbbd069217cef1c71601e0809e870df1545e47.tar.gz
dpdk-dcbbbd069217cef1c71601e0809e870df1545e47.tar.xz
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") Cc: stable@dpdk.org Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
Diffstat (limited to 'app')
-rw-r--r--app/test-pmd/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 5ba59b0..794aa52 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -1141,6 +1141,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)),