Hi Jack, >-----Original Message----- >From: dev <dev-boun...@dpdk.org> On Behalf Of Ori Kam >Sent: Wednesday, February 3, 2021 9:51 AM >To: Jack Min <jack...@nvidia.com> >Cc: dev@dpdk.org >Subject: Re: [dpdk-dev] [PATCH 1/2] doc: more info of rte flow shared action > >Hi Jack, > >> -----Original Message----- >> From: Jack Min <jack...@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 <jack...@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 <or...@nvidia.com> >Best, >Ori
Reviewed-by: Asaf Penso <as...@nvidia.com>