From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EE071A00C2; Wed, 28 Sep 2022 10:50:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A15134113C; Wed, 28 Sep 2022 10:50:59 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 466DC40F16 for ; Wed, 28 Sep 2022 10:50:58 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 75D1262; Wed, 28 Sep 2022 11:50:57 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 75D1262 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1664355057; bh=oDzwRN40VFGiHAFiD5ruW5+IYXlT7V9Zpe89MaP1B3U=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=O6yXglcweDc2gmIlNLMplulcRpboGRAVVQa5aW71E9nhe39HVpmBJaUZWKbmPewfC Tu2iyk+Ai6rR68u6ElUw2cUEizstnNRqc4LxJIf9GSxkpouuIx50beF1fdYwjidDR3 bQ4waLG9ow+nkGJHVR+EYMv+QBvchTQODrFLBDoM= Message-ID: <56b71bfd-8068-852d-922d-5fb9c05e90d9@oktetlabs.ru> Date: Wed, 28 Sep 2022 11:50:56 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v1] ethdev: add indirect action async query Content-Language: en-US To: Suanming Mou , Ori Kam , Aman Singh , Yuying Zhang , Thomas Monjalon , Ferruh Yigit , Ray Kinsella Cc: dev@dpdk.org References: <20220809132824.25890-1-suanmingm@nvidia.com> <20220920071141.21769-1-suanmingm@nvidia.com> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20220920071141.21769-1-suanmingm@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 > Acked-by: Ori Kam Applied to dpdk-next-net/main, thanks.