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 B6C41A0579; Tue, 6 Apr 2021 11:48:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A73F141068; Tue, 6 Apr 2021 11:48:16 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id D8189141063 for ; Tue, 6 Apr 2021 11:48:15 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 87F745C00D1; Tue, 6 Apr 2021 05:48:15 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 06 Apr 2021 05:48:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= a+vTvHt7w+BJOmTTqc1Z1nn+yk12IaCO3qIAAs18YGI=; b=ofEl+441dRU43tFo Uf8lqzRiaWAlUBoytlMVSjvm2gMKdtBWDh6ASmUrL+KFIK+rKP6eNHveqy5i0WBU 0HVoEx6l+p1onjMkxw78fDWmAbDTxPA9nZ5UAo+/AsHPwFNuikRtSx5EYrx7cv4H SsrG3g6zaXVfifiyw0J+XsrFYOtkmRPlmi9f1OifPFCTDhamFNe9ttryn7ZA+LFN Gm4K2G1omGzU6i7scZsWvQC2/wRas6UPWSukitY2A/qfbzVCmu8kuBqJAsCuE7sx KCjg+WDim0ZXCpyqc/KeZJ+pDQkeQh11e0NscbF5+E9LmvHLT0+YyMB1pHm6sUQA D3pNGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=a+vTvHt7w+BJOmTTqc1Z1nn+yk12IaCO3qIAAs18Y GI=; b=NyuXtkWBqDKngXqjzSUIOPmJqEbTG+KlNiWuJLM+64CGBNM3WduDOvyQV mHVnZuUJZLmx8UtIn3NC7Js0uGVyUFTjwYkw+EqFPgW8vbBVq9hPwL3sqiyv/myb CgEag7wHqAPMglByfS/QR/MTm05/U0t1dsdlDDcQOOWD7KRZ1w/lFz/aXK05Q+/9 8umhOy5MTWcaiB1j3g0syKQehHZsBAF/RnlhTuWUaVITsuyvP+HcZOQsbzlgN8wV ljViEH8nK0QlEPp1yyC6mIEIrcu0fOMfRK8wHTeMzdjrdAwkdXCURtzjgsPR0WCI nvP8WT+fD5t+QBjX9puXz4S7xh7Kg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudejgedgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepffdvffejueetleefieeludduuefgteejleevfeekjeefieegheet ffdvkeefgedunecuffhomhgrihhnpeguphgukhdrohhrghenucfkphepjeejrddufeegrd dvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 528051080054; Tue, 6 Apr 2021 05:48:14 -0400 (EDT) From: Thomas Monjalon To: Bing Zhao Cc: Andrew Rybchenko , Ori Kam , "ferruh.yigit@intel.com" , "dev@dpdk.org" Date: Tue, 06 Apr 2021 11:48:12 +0200 Message-ID: <3094400.VKgfFvgXnU@thomas> In-Reply-To: References: <1615967952-228321-1-git-send-email-bingz@nvidia.com> <27c5c98f-b29c-d8a6-d3f3-05fcd41d5a8a@oktetlabs.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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" 06/04/2021 11:07, Bing Zhao: > Hi Thomas and Andrew, > > From: Andrew Rybchenko > > 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 > > In another email, I explained the change a bit more. Please check and give comments, thank you all. Any link to this email from inbox.dpdk.org? Please explain here the naming reason.