Hi Gregory,.
> -----Original Message----- > From: Gregory Etelson <getel...@nvidia.com> > Sent: Wednesday, 1 February 2023 17:17 > To: dev@dpdk.org > Cc: Gregory Etelson <getel...@nvidia.com>; Matan Azrad > <ma...@nvidia.com>; Raslan Darawsheh <rasl...@nvidia.com>; Ori Kam > <or...@nvidia.com>; NBU-Contact-Thomas Monjalon (EXTERNAL) > <tho...@monjalon.net>; Ferruh Yigit <ferruh.yi...@amd.com>; Andrew > Rybchenko <andrew.rybche...@oktetlabs.ru> > Subject: [PATCH v8 1/2] ethdev: add query_update sync and async function > calls > > Current API allows either query or update indirect flow action. > If indirect action must be conditionally updated according to it's > present state application must first issue action query then > analyze returned data and if needed issue update request. > When the update will be processed, action state can change and > the update can invalidate the action. > > Add `rte_flow_action_handle_query_update` function call, > and it's async version `rte_flow_async_action_handle_query_update` > to atomically query and update flow action. > > Application can control query and update order, if that is supported > by port hardware, by setting `qu_mode` parameter to > RTE_FLOW_QU_QUERY_FIRST or RTE_FLOW_QU_UPDATE_FIRST. > > Signed-off-by: Gregory Etelson <getel...@nvidia.com> > --- > v2: Remove RTE_FLOW_QU_DEFAULT query-update mode. > v3: Update release release notes. > Fix doxygen errors. > v4: Add returned errno codes. > v5: Update the patch description. > Fix typos. > v6: Resolve merge conflict with the main branch. > v7: Update documentation. > v8: Style fixes. > --- Acked-by: Ori Kam <or...@nvidia.com> Best, Ori