doc: add more explanation about flow shared action

Added more information of shared action on
how to update, query, and the benefits.

Signed-off-by: Xiaoyu Min <jackmin@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
Reviewed-by: Asaf Penso <asafp@nvidia.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Xiaoyu Min 2021-02-02 12:23:50 +00:00 committed by Ferruh Yigit
parent 1b0801390b
commit 71b09bd950

View File

@ -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