[dpdk-dev] [PATCH 1/2] doc: more info of rte flow shared action

Ori Kam orika at nvidia.com
Wed Feb 3 08:50:44 CET 2021


Hi Jack,

> -----Original Message-----
> From: Jack Min <jackmin at nvidia.com>
> Subject: [PATCH 1/2] doc: more info of rte flow shared action
> 
> Added more information of shared action on
> how to update, query, and the benefits.
> 
> Signed-off-by: Xiaoyu Min <jackmin at nvidia.com>
> ---
>  doc/guides/prog_guide/rte_flow.rst | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/doc/guides/prog_guide/rte_flow.rst
> b/doc/guides/prog_guide/rte_flow.rst
> index 0b8c243fe1..62a57919eb 100644
> --- a/doc/guides/prog_guide/rte_flow.rst
> +++ b/doc/guides/prog_guide/rte_flow.rst
> @@ -2756,6 +2756,13 @@ Flow utilize shared action by handle as returned
> from
>  The behaviour of the shared action defined by ``action`` argument of type
>  ``struct rte_flow_action`` passed to ``rte_flow_shared_action_create()``.
> 
> +Multiple flows can use the same shared action.
> +The shared action can be in-place updated by
> ``rte_flow_shared_action_update()``
> +without destroying flow and creating flow again.
> +
> +The shared action specified data (e.g. counter) can be queried by
> +``rte_flow_shared_action_query()``.
> +
>  .. _table_rte_flow_shared_action:
> 
>  .. table:: SHARED
> --
> 2.30.0

Acked-by: Ori Kam <orika at nvidia.com>
Best,
Ori


More information about the dev mailing list