[PATCH v1] ethdev: add indirect action async query

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Wed Sep 28 10:50:56 CEST 2022


On 9/20/22 10:11, Suanming Mou wrote:
> As rte_flow_action_handle_create/destroy/update() have their own
> asynchronous rte_flow_async_action_handle_create/destroy/update()
> version functions to accelerate the indirect action operations in
> queue based flow engine. Currently, the asynchronous version query
> function for indirect action was missing.
> 
> This patch adds the rte_flow_async_action_handle_query() function
> corresponds to rte_flow_action_handle_query(). The new asynchronous
> version function enables enqueue the query to the hardware similar
> as asynchronous flow management does and returns immediately to free
> the CPU for other tasks. Application can get the query results from
> rte_flow_pull() when the hardware completes its work.
> 
> Signed-off-by: Suanming Mou <suanmingm at nvidia.com>
> Acked-by: Ori Kam <orika at nvidia.com>

Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list