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 D6339A0A0A for ; Tue, 18 May 2021 11:43:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BE555410FE; Tue, 18 May 2021 11:43:39 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 6B2E040041; Tue, 18 May 2021 11:43:37 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0E1355C01A8; Tue, 18 May 2021 05:43:37 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 18 May 2021 05:43:37 -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= wVLUlWAVm8Qsex7qVqX6g7eZq3ShYOp9QXtlZnTjlXs=; b=VF6J3JS3uqOGEF7m SyH/0b3W+Y2YdhdXel1kmSnVgWjVdDLIyBbDAakB4CoOKGHL/qP3b5XWBBjxsP3I LFeZ6AVIveJ1dSXaYuBN1zM5bo7RWTadrCf4nwulVsYFwjFEv4KT0sCm3VXnZugH tLrfwpFLI2pFRE0KA1GQUbiUFScJpUit53aqN9xkwxhBgMYxF4VPxZA7HdvXetkz pxhwbttA0cgYNv/ADDI8tx85ArjUGqcIAErIwVtBrO/rzlO5HRVRLea5gkmyTxgj ILCghLKZ4DwDC6U694k+TFoWcaBiPj/0A+UO5+NYLeuJ8Wr1sYx/3sg6qXulgDo2 DETMtA== 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=wVLUlWAVm8Qsex7qVqX6g7eZq3ShYOp9QXtlZnTjl Xs=; b=ICLLKdfTL5EMYJWTNa1oy5YJoK+/QbuFDOBBUmALoBKrn2/piBmLg3h/7 //Rpj7+HY1u0kaYEymlOXIhYKDFBEVfFhc/JAHChsg/EgCh4qQUplyutvZ6MadYr fiVar6jCAYKJ7eUHJMRMHi5NNC773pE21lKc2fQ2CQ3S/OBNQrTE9tGoP23Fdxoz x2MhGklVXBn3mWt6OpRrz9EXBztAgsMazQRFmVDVlNbSJROzcwnyqoAomQ2Tv6v7 sj0Qple8o+B/DvzMCbiAVwOGKWFPTfN96q7CT5wkOBInZkjz1Vb9mNXMltne6u1V XXLwxuD8JFSoCn+tUrdxG7uJxG7RQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeijedgudekucetufdoteggodetrfdotf 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; Tue, 18 May 2021 05:43:35 -0400 (EDT) From: Thomas Monjalon To: Alexander Kozyrev Cc: "dev@dpdk.org" , "stable@dpdk.org" , Raslan Darawsheh , Matan Azrad , Slava Ovsiienko , asafp@nvidia.com Date: Tue, 18 May 2021 11:43:34 +0200 Message-ID: <2199211.lUFL8MgVHS@thomas> In-Reply-To: References: <20210513195458.258410-1-akozyrev@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/mlx5: check meta register width for modify field X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" > > The modify_field Flow API assumes that the META item is 32 bits wide. > > But the C Register that is used for Meta item can be 16 or 32 bits wide > > depending on kernel and firmware configurations. > > Take this into consideration and use the appropriate META width. > > > > Fixes: 641dbe4fb0 ("net/mlx5: support modify field flow action") > > Cc: stable@dpdk.org > > > > Signed-off-by: Alexander Kozyrev > Acked-by: Viacheslav Ovsiienko Applied in next-net-mlx, thanks.