From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A890BC316 for ; Mon, 8 Jun 2015 17:01:39 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 08 Jun 2015 08:01:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,574,1427785200"; d="scan'208";a="743025241" Received: from unknown (HELO Sent) ([10.217.248.178]) by orsmga002.jf.intel.com with SMTP; 08 Jun 2015 08:01:20 -0700 Received: by Sent (sSMTP sendmail emulation); Mon, 08 Jun 2015 17:01:16 +0116 From: Michal Jastrzebski To: dev@dpdk.org Date: Mon, 8 Jun 2015 17:00:05 +0200 Message-Id: <1433775616-6896-15-git-send-email-michalx.k.jastrzebski@intel.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1433775616-6896-1-git-send-email-michalx.k.jastrzebski@intel.com> References: <1433775616-6896-1-git-send-email-michalx.k.jastrzebski@intel.com> Subject: [dpdk-dev] [PATCH v4 00/10] table: added table 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:40 -0000 From: Maciej Gajdzica Added statistics for every type of table. By default all table 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 table statistics Maciej Gajdzica (10): table: added structure for storing table stats and config option table: added acl table stats table: added array table stats table: added hash_ext table stats table: added hash_key16 table stats table: added hash_key32 table stats table: added hash_key8 table stats table: added hash_lru table stats table: added lpm_ipv6 table stats table: added lpm table stats config/common_bsdapp | 1 + config/common_linuxapp | 1 + lib/librte_table/rte_table.h | 25 +++++++++++++++ lib/librte_table/rte_table_acl.c | 35 +++++++++++++++++++++ lib/librte_table/rte_table_array.c | 34 +++++++++++++++++++- lib/librte_table/rte_table_hash_ext.c | 44 ++++++++++++++++++++++++++ lib/librte_table/rte_table_hash_key16.c | 41 ++++++++++++++++++++++++ lib/librte_table/rte_table_hash_key32.c | 41 ++++++++++++++++++++++++ lib/librte_table/rte_table_hash_key8.c | 52 +++++++++++++++++++++++++++++++ lib/librte_table/rte_table_hash_lru.c | 44 ++++++++++++++++++++++++++ lib/librte_table/rte_table_lpm.c | 34 ++++++++++++++++++++ lib/librte_table/rte_table_lpm_ipv6.c | 34 ++++++++++++++++++++ 12 files changed, 385 insertions(+), 1 deletion(-) -- 1.7.9.5