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 6DB0FC6FE for ; Fri, 19 Jun 2015 11:49:13 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 19 Jun 2015 02:49:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,643,1427785200"; d="scan'208";a="713833067" Received: from unknown (HELO stargo) ([10.217.248.233]) by orsmga001.jf.intel.com with SMTP; 19 Jun 2015 02:49:10 -0700 Received: by stargo (sSMTP sendmail emulation); Fri, 19 Jun 2015 11:41:28 +0200 From: Maciej Gajdzica To: dev@dpdk.org Date: Fri, 19 Jun 2015 11:41:12 +0200 Message-Id: <1434706885-4519-1-git-send-email-maciejx.t.gajdzica@intel.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH v5 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: Fri, 19 Jun 2015 09:49:13 -0000 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 Changes in v5: - added missing CONFIG_ prefix to defines in config files 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