app/testpmd: fix missing jump action in flow action
Checks
Commit Message
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")
Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
---
app/test-pmd/config.c | 1 +
1 file changed, 1 insertion(+)
Comments
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Reshma Pattan
> Sent: Wednesday, September 19, 2018 3:01 PM
> To: adrien.mazarguil@6wind.com; dev@dpdk.org
> Cc: Pattan, Reshma <reshma.pattan@intel.com>
> Subject: [dpdk-dev] [PATCH] 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")
>
> Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
On 9/20/2018 5:11 PM, Iremonger, Bernard wrote:
>> -----Original Message-----
>> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Reshma Pattan
>> Sent: Wednesday, September 19, 2018 3:01 PM
>> To: adrien.mazarguil@6wind.com; dev@dpdk.org
>> Cc: Pattan, Reshma <reshma.pattan@intel.com>
>> Subject: [dpdk-dev] [PATCH] 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")
>>
>> Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
>
> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
Applied to dpdk-next-net/master, thanks.
@@ -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)),