From: Maciej Gajdzica <maciejx.t.gajdz...@intel.com> Added statistics for every type of port. By default all port statistics are disabled, user must activate them in config file.
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 config/common_bsdapp | 12 ++++ config/common_linuxapp | 12 ++++ lib/librte_port/rte_port.h | 60 ++++++++++++++-- lib/librte_port/rte_port_ethdev.c | 113 +++++++++++++++++++++++++++++- lib/librte_port/rte_port_frag.c | 36 ++++++++++ lib/librte_port/rte_port_ras.c | 38 ++++++++++ lib/librte_port/rte_port_ring.c | 118 +++++++++++++++++++++++++++++++- lib/librte_port/rte_port_sched.c | 96 ++++++++++++++++++++++++-- lib/librte_port/rte_port_source_sink.c | 98 ++++++++++++++++++++++++-- 9 files changed, 566 insertions(+), 17 deletions(-) -- 1.7.9.5