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 BA4BFA04FD; Wed, 26 Oct 2022 21:11:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D721400D5; Wed, 26 Oct 2022 21:11:05 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 2D11340041 for ; Wed, 26 Oct 2022 21:11:04 +0200 (CEST) Received: from [192.168.1.126] (unknown [188.242.181.57]) (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 627985A; Wed, 26 Oct 2022 22:11:03 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 627985A DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1666811463; bh=yaFq49fG8wE1V+GVTY9LeODDHudAp/KOlg+bh3SnJ5k=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=xcStljH1iAhoRS4GF1bzsVc1gQx0rKZbgFbezNU05Y3F6gGNuj0/bI0SuejWKA6Ys ThscFLfX5dSjMgMSzHTsR40z05AwxDjJ3sRHdB84TDWu5fTsGUQ9LhOqyiQiIjwK6e GLqFperZod9xP872sEqFNwG8sf+ZUHtGD2yQ8heI= Message-ID: <2e48e071-1158-42ab-d001-6392c0b4eb1c@oktetlabs.ru> Date: Wed, 26 Oct 2022 22:10:56 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v3 1/3] ethdev: add strict queue to pre-configuration flow hints To: Michael Baum , dev@dpdk.org Cc: Matan Azrad , Raslan Darawsheh , Ori Kam References: <20221019131228.2538941-1-michaelba@nvidia.com> <20221019144904.2543586-1-michaelba@nvidia.com> <20221019144904.2543586-2-michaelba@nvidia.com> Content-Language: en-US From: Andrew Rybchenko In-Reply-To: <20221019144904.2543586-2-michaelba@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 10/19/22 17:49, Michael Baum wrote: > The data-path focused flow rule management can manage flow rules in more > optimized way than traditional one by using hints provided by > application in initialization phase. > > In addition to the current hints we have in port attr, more hints could > be provided by application about its behaviour. > > One example is how the application do with the same flow rule ? > A. create/destroy flow on same queue but query flow on different queue > or queue-less way (i.e, counter query) > B. All flow operations will be exactly on the same queue, by which PMD > could be in more optimized way then A because resource could be > isolated and access based on queue, without lock, for example. > > This patch add flag about above situation and could be extended to cover > more situations. > > Signed-off-by: Michael Baum > Acked-by: Ori Kam Acked-by: Andrew Rybchenko