RE: [PATCH v6 1/2] ethdev: add query_update sync and async function calls

2023-02-01 Thread Gregory Etelson
Hello Andrew, > > > >> On 1/20/23 13:46, Gregory Etelson wrote: > > and it's async version `rte_flow_async_action_handle_query_update` > > to atomically query and update flow action. > > Sorry, may be I'm missing something, but after reading previous > discussion I have a fe

Re: [PATCH v6 1/2] ethdev: add query_update sync and async function calls

2023-02-01 Thread Andrew Rybchenko
On 1/20/23 19:50, Gregory Etelson wrote: Hello Andrew, [] On 1/20/23 13:46, Gregory Etelson wrote: and it's async version `rte_flow_async_action_handle_query_update` to atomically query and update flow action. Sorry, may be I'm missing something, but after reading previous discussion I have

RE: [PATCH v6 1/2] ethdev: add query_update sync and async function calls

2023-01-20 Thread Gregory Etelson
Hello Andrew, [] > On 1/20/23 13:46, Gregory Etelson wrote: > >>> and it's async version `rte_flow_async_action_handle_query_update` > >>> to atomically query and update flow action. > >> > >> Sorry, may be I'm missing something, but after reading previous > >> discussion I have a feeling that up

Re: [PATCH v6 1/2] ethdev: add query_update sync and async function calls

2023-01-20 Thread Andrew Rybchenko
On 1/20/23 13:46, Gregory Etelson wrote: and it's async version `rte_flow_async_action_handle_query_update` to atomically query and update flow action. Sorry, may be I'm missing something, but after reading previous discussion I have a feeling that update could be queried data dependent. Howeve

RE: [PATCH v6 1/2] ethdev: add query_update sync and async function calls

2023-01-20 Thread Gregory Etelson
Hello Andrew, [] > > The patch adds `rte_flow_action_handle_query_update` function call, > > "This patch adds ..." -> "Add ..." > Will fix in v7. > > and it's async version `rte_flow_async_action_handle_query_update` > > to atomically query and update flow action. > > Sorry, may be I'm missi

Re: [PATCH v6 1/2] ethdev: add query_update sync and async function calls

2023-01-20 Thread Andrew Rybchenko
On 1/19/23 19:47, 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 t

[PATCH v6 1/2] ethdev: add query_update sync and async function calls

2023-01-19 Thread Gregory Etelson
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 c