From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry van Haaren Subject: [PATCH 0/3] xstats queue handling Date: Fri, 6 Nov 2015 14:12:52 +0000 Message-ID: <1446819175-31325-1-git-send-email-harry.van.haaren@intel.com> To: dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id CFE045A58 for ; Fri, 6 Nov 2015 15:13:32 +0100 (CET) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset modifies how queue statistics are presented by rte_eth_xstats_get() and each PMD's xstats_get(). Generic stats from the rte_eth_stats struct are presented by rte, and each PMD can augment those stats with extra stats that are available (if any). Currently ixgbe and i40e are the only NICs supporting queue xstats, and they have been updated to conform with the new method of presentation. Harry van Haaren (3): ethdev: xstats generic Q stats refactor ixgbe: refactor xstats queue handling i40e: refactor xstats queue handling drivers/net/i40e/i40e_ethdev.c | 112 +++++++++++++++++++-------------- drivers/net/ixgbe/ixgbe_ethdev.c | 132 ++++++++++++++++----------------------- lib/librte_ether/rte_ethdev.c | 10 +-- 3 files changed, 120 insertions(+), 134 deletions(-) -- 1.9.1