> -----Original Message-----
> From: Zhang, Qi Z <[email protected]>
> Sent: Saturday, October 7, 2023 11:48 AM
> To: Singh, Aman Deep <[email protected]>; Zhang, Yuying
> <[email protected]>
> Cc: [email protected]; Dumitrescu, Cristian <[email protected]>;
> [email protected]; [email protected]; Zhang, Qi Z <[email protected]>
> Subject: [PATCH v4] app/testpmd: enable cli for programmable action
>
> Parsing command line for rte_flow_action_prog.
>
> Syntax:
>
> "prog name <name> [arguments <arg_name_0> <arg_value_0> \
> <arg_name_1> <arg_value1> ... end]"
>
> Use parse_string0 to parse name string.
> Use parse_hex to parse hex string.
> Use struct action_prog_data to store parsed result.
>
> Example:
>
> Action with 2 arguments:
>
> "prog name action0 arguments field0 03FF field1 55AA end"
>
> Action without argument:
>
> "prog name action1"
>
> Signed-off-by: Qi Zhang <[email protected]>
> ---
>
> v4:
> - be more generous on the max size of name and value.
Acked-by: Cristian Dumitrescu <[email protected]>