From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E9D57A04E7; Mon, 2 Nov 2020 14:15:13 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 72061C86A; Mon, 2 Nov 2020 14:15:12 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by dpdk.org (Postfix) with ESMTP id 07BE5C860 for ; Mon, 2 Nov 2020 14:15:10 +0100 (CET) Received: from [192.168.1.192] (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 (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 7FA2E7F540; Mon, 2 Nov 2020 16:15:08 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 7FA2E7F540 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1604322908; bh=sQGwvZpl9eeROUmSpF/2NrrtG8j/c/lFiF4hn2yt8dM=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=Se3x2z1ltKwww3SogsDSEzmdY/3zz/WG/H+r02Q8lPj8n+BbgTmt7WorAYb/I/BfR 0LAzfSiN+fJ/dn3v+O7KU7YbyMwJk6uoqB4GWiFa3yaFahIQaItNrfoXG8+76noPeA E4qjzSpn+Q77TO5jcuGDFJYzWV8mYpZNzSqJRs4c= To: Ivan Malov , dev@dpdk.org Cc: Xueming Li , Ori Kam , Thomas Monjalon , Ferruh Yigit References: <20201029114644.22169-1-ivan.malov@oktetlabs.ru> <20201102114317.24492-1-ivan.malov@oktetlabs.ru> From: Andrew Rybchenko Message-ID: <690f1a3c-bb98-d0d2-d2eb-797bf5dc9f05@oktetlabs.ru> Date: Mon, 2 Nov 2020 16:15:06 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <20201102114317.24492-1-ivan.malov@oktetlabs.ru> Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v3 1/2] ethdev: introduce transfer attribute to shared action conf X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/2/20 2:43 PM, Ivan Malov wrote: > In a flow rule, attribute "transfer" means operation level > at which both traffic is matched and actions are conducted. > > Add the very same attribute to shared action configuration. > If a driver needs to prepare HW resources in two different > ways, depending on the operation level, in order to set up > an action, then this new attribute will indicate the level. > Also, when handling a flow rule insertion, the driver will > be able to turn down a shared action if its level is unfit. > > Signed-off-by: Ivan Malov > Acked-by: Ori Kam Acked-by: Andrew Rybchenko