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 7F483A034F; Thu, 1 Apr 2021 08:31:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 429D840142; Thu, 1 Apr 2021 08:31:16 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 711A14013F for ; Thu, 1 Apr 2021 08:31:15 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id BFCD15C00D4; Thu, 1 Apr 2021 02:31:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 01 Apr 2021 02:31:13 -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= j3r3rqsrDcTIXXbjK2ADsYyGAgiso0DHN7ukom4XdJI=; b=ffNGvsNEsn9ISw/V YlP0zRaQg3vXIIZZHUCMonbD3xJsKWS+Y9rb1COH2PWqFqdPn9FOMNrhA7Dfjaee qM5FpvgF6WDdr3uValKq7XlEhuaTfM9F4XJKujagqpJiPd0YKkj5BhBFJUHtnvL2 ggFoT4ruNJaR0UdCNRfLOLMlBVwvK/J8++f0NpCiz71AplU1wZwVRItJ4H93HL+Y tAF6+cGhm8wleTr4RgXCoCv1C76rOXygPkQ9midenFmL+Srhtsqm6XC1yOTayqsc DHPD3yb7uL1FO8l2VLMpa8FVdFuVjz2Coc/BQebkMobiDg/EzDVdDvwmQ6AW67wU NKABFQ== 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=j3r3rqsrDcTIXXbjK2ADsYyGAgiso0DHN7ukom4Xd JI=; b=SkGS8VDsIAB1dyLau2xfizPS59O6AJkaQJ31i8FXryi64fOXgJNIBwONe dSBTS8rR4+wWXxygEpqgROM/7RwNnEACGmBscnMaWSHNWON+ReUOXBeo1P5gHmRh vJEsFXpCAaH8LjA18nTq57HlC46IzIJ1Yyhz1ZPZw/GD43hMu7nQ7ojK8aQU8HEo YqkTb9vD1Bs/3MmodSJHekYXa0eotdDAwm2X3GYsdPKoK6lkSyZwuYnLWc9iSxZf oH8sR9ie2owYazojDoz/CnnB82c7J/xDDrjppSlxbsQWWnrnAtsUTwgQNXAJGLb3 uUBDmadvct3NhwVntlIsRbAuC5A3Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudeifedguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeffvdffjeeuteelfeeileduudeugfetjeelveefkeejfeeigeeh teffvdekfeegudenucffohhmrghinhepughpughkrdhorhhgnecukfhppeejjedrudefge drvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght 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 6CC5A24005E; Thu, 1 Apr 2021 02:31:12 -0400 (EDT) From: Thomas Monjalon To: Li Zhang Cc: orika@nvidia.com, viacheslavo@nvidia.com, matan@nvidia.com, cristian.dumitrescu@intel.com, lironh@marvell.com, dev@dpdk.org, rasland@nvidia.com, roniba@nvidia.com Date: Thu, 01 Apr 2021 08:31:10 +0200 Message-ID: <40266646.2hgBqQEIht@thomas> In-Reply-To: <20210401061618.1478961-1-lizh@nvidia.com> References: <20210401061618.1478961-1-lizh@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 0/2] Check meter packet mode in PMD 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" 01/04/2021 08:16, Li Zhang: > Currently meter algorithms only supports rate is bytes per second(BPS). > Add packet_mode flag in meter profile parameters data structure in RTE. What means RTE? I see no flag added in these patches. > Add the necessary checks to the existing drivers implementing > the rte_mtr API to makes sure that profiles with > packet_mode set to TRUE are rejected. > > Depends-on: series=16002 ("Support PPS(packet per second) on meter") > https://patchwork.dpdk.org/project/dpdk/list/?series=16002 It seems these patches should be part of the above patchset. > Li Zhang (2): > net/softnic: check meter packet mode > net/mvpp2: check meter packet mode