On 2/2/2023 1:47 PM, Gregory Etelson wrote: > 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> > Acked-by: Ori Kam <or...@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. > v9: Add parameters validation. > v10: Code update.
it seems there were some comments from Andrew to previous version, are they resolved now? @Andrew, do you have any objection/comment on this version?