From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 06 Nov 2015 06:13:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,252,1444719600"; d="scan'208";a="829187112" Received: from sie-lab-212-222.ir.intel.com (HELO silpixa00366884.ir.intel.com) ([10.237.212.222]) by fmsmga001.fm.intel.com with ESMTP; 06 Nov 2015 06:13:30 -0800 From: Harry van Haaren To: dev@dpdk.org Date: Fri, 6 Nov 2015 14:12:52 +0000 Message-Id: <1446819175-31325-1-git-send-email-harry.van.haaren@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH 0/3] xstats queue handling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2015 14:13:33 -0000 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