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 Maciej Gajdzica (13): port: added structures for port stats 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 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 +++++++++++++++++++++++++-- 7 files changed, 535 insertions(+), 17 deletions(-) -- 1.7.9.5