From: Xiaoyu Min Date: Tue, 2 Feb 2021 12:23:50 +0000 (+0000) Subject: doc: add more explanation about flow shared action X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=71b09bd95096610aaddb69497297103a129e0e7c;p=dpdk.git 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 Acked-by: Ori Kam Reviewed-by: Asaf Penso Reviewed-by: Ferruh Yigit --- 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