From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id D635CDE0 for ; Thu, 20 Apr 2017 22:31:37 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 994B5207ED; Thu, 20 Apr 2017 16:31:36 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 20 Apr 2017 16:31:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=X/54OtZu4VN8t1g oEPIX6f43NZY4KJm22Z8YVsZS3mk=; b=GHA+wWDd+lfdDVJYbIVBko3L5LDgntK K4xQb330ppaHEQQiijhC5JvuM+3Xa3d1igiAD8pZ44YJnYumnKnNUaebwmRd/9RJ dLX2CwUEFPXerCoMfEw1gsl9+jqt6fX+hU3uOQguH5bvUNSrF0ltf6ya3uEye0W+ qa3SkdE/1EJE= 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-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=X/54OtZu4VN8t1goEPIX6f43NZY4KJm22Z8YVsZS3mk=; b=prioD1SE xASVvqAsJJAvLTqmd+T1qIVxacEhsOh7M3Ljg+oQANgMzig/CcfaUIRQVqqe4jxZ yhIOrW9Tnuk5K7jeR4wXY0AZLj2fgnSZRgMOITxJYQKHP57yIY4oF5SE61+Vl8A7 AzPv4H8rbiHwVFR1KrvH2bTLN1Nm2Jddtfmbs1NGsTEeBL0gXFJfEqjBXS2mRx62 MfDLr5kk2+DjmNxAdFPUFPvZvFI+8qpPOs21OcZhtLWNnVqN+xYwUnzlBQd97Aj/ ZRujc96ygbR4viduTF4aLqLsWqchocHrYsx0ktjufj2KJEPlNf/qj0J140RTBJz8 LLO5WD571mt1WQ== X-ME-Sender: X-Sasl-enc: fM27D/oEJglkW67VETh2DGwBcPTTkipzesh8tjyV08It 1492720296 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3BF4C24370; Thu, 20 Apr 2017 16:31:36 -0400 (EDT) From: Thomas Monjalon To: Kuba Kozak Cc: dev@dpdk.org, harry.van.haaren@intel.com, deepak.k.jain@intel.com Date: Thu, 20 Apr 2017 22:31:35 +0200 Message-ID: <2191902.oqd7qsnxNQ@xps> In-Reply-To: <1492095568-20993-1-git-send-email-kubax.kozak@intel.com> References: <1491928644-10383-2-git-send-email-michalx.k.jastrzebski@intel.com> <1492095568-20993-1-git-send-email-kubax.kozak@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v6 0/5] Extended xstats API in ethdev library to allow grouping of stats X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2017 20:31:38 -0000 13/04/2017 16:59, Kuba Kozak: > Extended xstats API in ethdev library to allow grouping of stats logically > so they can be retrieved per logical grouping managed by the application. > Changed existing functions rte_eth_xstats_get_names and rte_eth_xstats_get > to use a new list of arguments: array of ids and array of values. > ABI versioning mechanism was used to support backward compatibility. > Introduced two new functions rte_eth_xstats_get_all and > rte_eth_xstats_get_names_all which keeps functionality of the previous > ones (respectively rte_eth_xstats_get and rte_eth_xstats_get_names) > but use new API inside. Both functions marked as deprecated. > Introduced new function: rte_eth_xstats_get_id_by_name to retrieve > xstats ids by its names. > Extended functionality of proc_info application: > --xstats-name NAME: to display single xstat value by NAME > Updated test-pmd application to use new API. Applied, thanks