From 71b09bd95096610aaddb69497297103a129e0e7c Mon Sep 17 00:00:00 2001 From: Xiaoyu Min Date: Tue, 2 Feb 2021 12:23:50 +0000 Subject: [PATCH] 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 --- 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.20.1