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 3038DA0C43; Wed, 12 May 2021 14:51:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A91F54003F; Wed, 12 May 2021 14:51:05 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 874424003E; Wed, 12 May 2021 14:51:04 +0200 (CEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 1E1DC5C003B; Wed, 12 May 2021 08:51:02 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 12 May 2021 08:51:02 -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= 1B12+QUHA+wKNDpenNDfZfPllvtZKEBvA1pgMxYfRF8=; b=IVEqY/YXAATj95Cc lMEWOZlCDH4mh4MvoyGqlp+gW3Vtw/g8uFJhpxEgX0MImzKWzXX1sI2+rRtUKwsW JJUaraYGaHTX+OBkFbmS1aXFl6mwVgL/+MPZZm5+tVEMbKcm/ZZz4/UShCEuTZLy kXmCuNctsVvVEZatXH5qlMtkeqwhAJH4DVqKOdzQ7XZoDGT/OudH9PMuwNyO7E9+ l2jfyZj89yfXlXJrtpGiIanE9j1+YvOJAGAp+rrck2jKN6/Ys1w2+1Xxn4cC1fw7 yOvqAP6W6TzPv0FpPHSA03518nUIqFkamTgc1Pi8aoK/a0ulYdsttalzikOt605N YM7kYw== 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=1B12+QUHA+wKNDpenNDfZfPllvtZKEBvA1pgMxYfR F8=; b=kiZL8L9CSqfzln+6B1hStkvg+vTOMMItmbJ1kNX7cD19+SO4wCnh9sDq+ uGa0nmrzmzuKit/IDRCqPyQDAjsOvITxXM1uq5bpAhsmnGRuhxNDispec5drES7B xQ5Ptdk4LXy1U2Avl+TrHjoL3T7vA8svsc2VgujXIeVPFuBDa8BcNksG0aMRX9UQ 0B+UCh7TivISBKuX70Es8RrYavy8Z/6AQMD/DzhVou6+022aRW73YVABJcSPScSU JlPoo7RCO3Qt9Yqe+X+KDmsKXorESeZrMYOQ6aHCBGaCZkb94jgw3qDSbRnEZ6OZ sjYTUIEa2TQ77hgVbLNEBpgAewFBg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehvddgheegucetufdoteggodetrfdotf 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:51:00 -0400 (EDT) From: Thomas Monjalon To: Shun Hao Cc: Ori Kam , Slava Ovsiienko , dev@dpdk.org, Raslan Darawsheh , Roni Bar Yanai , "stable@dpdk.org" , Matan Azrad Date: Wed, 12 May 2021 14:50:59 +0200 Message-ID: <124681044.obifSdhIsJ@thomas> In-Reply-To: References: <20210512102100.23870-1-shunh@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1] net/mlx5: fix meter flow id 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" > > When getting meter flow_id bits, there's an issue that not handling correctly > > if flow_id is 0. > > > > This fix this issue that when flow_id is 0, treat it as 1 bit. > > > > Fixes: 83306d6c46 ("net/mlx5: fix meter statistics") > > Cc: stable@dpdk.org > > > > Signed-off-by: Shun Hao > Acked-by: Matan Azrad Applied in next-net-mlx, thanks.