From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 8160D5963 for ; Mon, 8 Jun 2015 17:01:23 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 08 Jun 2015 08:00:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,574,1427785200"; d="scan'208";a="743024321" Received: from unknown (HELO Sent) ([10.217.248.178]) by orsmga002.jf.intel.com with SMTP; 08 Jun 2015 08:00:20 -0700 Received: by Sent (sSMTP sendmail emulation); Mon, 08 Jun 2015 17:00:19 +0116 From: Michal Jastrzebski To: dev@dpdk.org Date: Mon, 8 Jun 2015 16:59:51 +0200 Message-Id: <1433775616-6896-1-git-send-email-michalx.k.jastrzebski@intel.com> X-Mailer: git-send-email 2.1.1 Subject: [dpdk-dev] [PATCH v4 00/13] port: added port statistics 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: Mon, 08 Jun 2015 15:01:24 -0000 From: Maciej Gajdzica Added statistics for every type of port. By default all port statistics are disabled, user must activate them in config file. Changes in v2: - added missing signoffs Changes in v3: - removed new config options to enable/disable stats - using RTE_LOG_LEVEL instead Changes in v4: - created single config option for all port statistics Maciej Gajdzica (13): port: added structures for port stats and config option port: added port_ethdev_reader stats port: added port_ethdev_writer stats port: added port_ethdev_writer_nodrop stats port: added port_frag stats port: added port_ras stats port: added port_ring_reader stats port: added port_ring_writer stats port: added port_ring_writer_nodrop stats port: added port_sched_reader stats port: added port_sched_writer stats port: added port_source stats port: added port_sink stats config/common_bsdapp | 1 + config/common_linuxapp | 1 + lib/librte_port/rte_port.h | 60 +++++++++++++++-- lib/librte_port/rte_port_ethdev.c | 110 +++++++++++++++++++++++++++++- lib/librte_port/rte_port_frag.c | 36 ++++++++++ lib/librte_port/rte_port_ras.c | 38 +++++++++++ lib/librte_port/rte_port_ring.c | 114 +++++++++++++++++++++++++++++++- lib/librte_port/rte_port_sched.c | 96 +++++++++++++++++++++++++-- lib/librte_port/rte_port_source_sink.c | 98 +++++++++++++++++++++++++-- 9 files changed, 537 insertions(+), 17 deletions(-) -- 1.7.9.5