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 0D3F4A034F; Mon, 22 Mar 2021 15:54:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CCFA340040; Mon, 22 Mar 2021 15:54:32 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 667354003D for ; Mon, 22 Mar 2021 15:54:31 +0100 (CET) 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 (2048 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 1767E7F4DF; Mon, 22 Mar 2021 17:54:31 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 1767E7F4DF DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1616424871; bh=W0yyAe8s/LzhSwiWJ9wFzcZp5Wvzw6U2x8xXi6JnOIY=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=sdeOhONy8zFBu5Ri/8k9f7KNgWbkIpj9lZiQEwaKnNTEUvt/9SfEVCxElhWIi6z3U u85f2WQPE1EF6vm4BoEoRk1pH3hexxoEo2aAz8GnpP1cJIWMc2z3xvd9OBGFdo3HtX xCcKAQm3BhGoDHfPqRXqtTwq2oWgmQSKyDpnF24c= To: Thomas Monjalon , Bing Zhao Cc: orika@nvidia.com, ferruh.yigit@intel.com, dev@dpdk.org References: <1615967952-228321-1-git-send-email-bingz@nvidia.com> <4868470.BFrr8Tzbyp@thomas> From: Andrew Rybchenko Organization: OKTET Labs Message-ID: <27c5c98f-b29c-d8a6-d3f3-05fcd41d5a8a@oktetlabs.ru> Date: Mon, 22 Mar 2021 17:54:30 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <4868470.BFrr8Tzbyp@thomas> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [RFC] ethdev: introduce action context APIs 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 Sender: "dev" On 3/17/21 11:28 AM, Thomas Monjalon wrote: > 17/03/2021 08:59, Bing Zhao: >> The new functions rte_flow_action_ctx* that were added will replace >> the curret shared functions rte_flow_shared_action_*. >> - rte_flow_shared_action_create >> - rte_flow_shared_action_destroy >> - rte_flow_shared_action_update >> - rte_flow_shared_action_query >> + rte_flow_action_ctx_create >> + rte_flow_action_ctx_destroy >> + rte_flow_action_ctx_update >> + rte_flow_action_ctx_query >> >> When creating a action context, it could be shared among different >> flows or different ports. Or it could also be used by a single flow. >> The name "shared" is improper in a sense. > > Is it the only reason for the change? > I better understand "shared" even if it is sometimes not shared. +1