From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v6 0/5] Extended xstats API in ethdev library to allow grouping of stats Date: Thu, 20 Apr 2017 22:31:35 +0200 Message-ID: <2191902.oqd7qsnxNQ@xps> 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, harry.van.haaren@intel.com, deepak.k.jain@intel.com To: Kuba Kozak 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) In-Reply-To: <1492095568-20993-1-git-send-email-kubax.kozak@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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