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 DD2BFA0C43; Wed, 12 May 2021 14:41:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B6B34003F; Wed, 12 May 2021 14:41:24 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 98CC74003E; Wed, 12 May 2021 14:41:23 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4473F5C0115; Wed, 12 May 2021 08:41:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 12 May 2021 08:41:23 -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=fm1; bh= blbINHrl66dsqTUmBWgJXLJBF3tmyRXnNylXn2f4070=; b=ZYYwn3Y1WsDQolAH guUGaGrAzoWmfc1dF+vn74m1CpPhNXePqA8aa7PLHCtMnk1NqjKb06JKxjhG5rBP bMbTWA2aV+w6da+acF/vkZXiGoTvx/239GOoLC7nDcfUCVxb1OFCIvkVPP0WHjf5 oJCPRyM9Dj/RBiv53m/IBUphTJLlNaROKJWpqmN2upfhZ/uf//DfeaLRPGu4plQT CSWSfZ9g7CDkxTETt4EXB123SVRivsHwYCptsQvgO+a0Ptoy9Dw+qr+j5lbxG/Il qThjqO+dGKbxA+Mn650IbiNTI40zm+KfkIvt1rj+KcdcRbVfJS9CXJbjUJPUwMsE vJtSGA== 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=blbINHrl66dsqTUmBWgJXLJBF3tmyRXnNylXn2f40 70=; b=fJhI0/oge6Gsqy9LEd8htmEK1DpVrMsWSMqAvCwy90b7DFrIan3fbKNZW HDTQ0ePy9D4l6e660q22QacVzkbeknbtWFxtDkLIkfazWrOnunHTOZxspS7TQRQd 04JSGswX2KduWurlOzIwtv/it1V3PPVrLuRr8uOCfYMYFK4cuoGPZrAvFn8OWiVi UFb5rUasit8YxX+Ufrb3Ys593QmcqClR53XusEygm6Dc4OO01DWcMtcEYK/F1VqV wrXvYMQIT5M9XJOlVDafc1HIciQ5ongs/omBvjQKZUEyIK7A19CvQvdaHYZH9Qbc yR6rY8hHS0SaFg5c6OsqXbuXEM/HQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehvddghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght 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; Wed, 12 May 2021 08:41:22 -0400 (EDT) From: Thomas Monjalon To: Jiawei Wang Cc: matan@nvidia.com, viacheslavo@nvidia.com, orika@nvidia.com, jackmin@nvidia.com, stable@dpdk.org, dev@dpdk.org, rasland@nvidia.com Date: Wed, 12 May 2021 14:41:20 +0200 Message-ID: <6727693.qub9c4p3AB@thomas> In-Reply-To: <20210512120951.14982-2-jiaweiw@nvidia.com> References: <20210511042407.5742-1-jiaweiw@nvidia.com> <20210512120951.14982-1-jiaweiw@nvidia.com> <20210512120951.14982-2-jiaweiw@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v3 2/2] net/mlx5: fix default context in flow age action 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" 12/05/2021 14:09, Jiawei Wang: > One of the user parameters for the flow AGE action is the > action context. This context should be provided back to the > user when the action is aged-out. > While this context is NULL, a default value should be provided > by the PMD: the rte_flow pointer in case of rte_flow_create API > and the action pointer in case of the rte_flow_action_handle API. > > The default for rte_flow_action_handle was set correctly, > while in case of rte_flow_create it wrongly remained NULL. > > This patch set the default value for rte_flow_create case to be > the rte_flow pointer. > > Fixes: f9bc5274a6f9 ("net/mlx5: allow age modes combination") > Cc: stable@dpdk.org > > Signed-off-by: Jiawei Wang > Acked-by: Matan Azrad Series applied in next-net-mlx, thanks