From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry van Haaren Subject: [PATCH v4 00/10] Port XStats Date: Fri, 30 Oct 2015 11:36:28 +0000 Message-ID: <1446204998-17151-1-git-send-email-harry.van.haaren@intel.com> References: <1445528914-27636-2-git-send-email-harry.van.haaren@intel.com> To: dev@dpdk.org Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 76ACB5938 for ; Fri, 30 Oct 2015 12:37:04 +0100 (CET) In-Reply-To: <1445528914-27636-2-git-send-email-harry.van.haaren@intel.com> 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 adds an implementation of the xstats_get() and xstats_reset() API to the following PMDs: virtio, igb, igbvf, ixgbe, ixgbevf, i40e, i40evf and fm10k. The xstats API allows DPDK apps to gain access to extended statistics from each port on a NIC. These statistics are structured as per a scheme detailed in the patch for the doc/prog_guide. v4: Consistency of names, refactored Q stat code v3: Added more stats to PMDs v2: Send correct patchset Harry van Haaren (10): doc: add extended statistics to prog_guide ethdev: update xstats_get() strings and Q handling virtio: add xstats() implementation igb: add xstats() implementation igbvf: add xstats() implementation ixgbe: add extended statistic strings ixgbevf: add xstats() implementation i40e: add xstats() implementation i40evf: add xstats() implementation fm10k: add xstats() implementation doc/guides/prog_guide/poll_mode_drv.rst | 51 ++++++- doc/guides/rel_notes/release_2_2.rst | 14 ++ drivers/net/e1000/igb_ethdev.c | 193 ++++++++++++++++++++++-- drivers/net/fm10k/fm10k_ethdev.c | 87 +++++++++++ drivers/net/i40e/i40e_ethdev.c | 217 ++++++++++++++++++++++++++- drivers/net/i40e/i40e_ethdev_vf.c | 89 ++++++++++- drivers/net/ixgbe/ixgbe_ethdev.c | 254 +++++++++++++++++++++++++++----- drivers/net/virtio/virtio_ethdev.c | 98 +++++++++++- drivers/net/virtio/virtio_rxtx.c | 32 ++++ drivers/net/virtio/virtqueue.h | 4 + lib/librte_ether/rte_ethdev.c | 38 +++-- 11 files changed, 1006 insertions(+), 71 deletions(-) -- 1.9.1