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 Maciej Gajdzica (10): table: added structure for storing table stats 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 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 ++++++++++++++++++++ 10 files changed, 383 insertions(+), 1 deletion(-) -- 1.7.9.5