numam-dpdk/drivers/event/sw
Harry van Haaren 0e1eadd0d6 event/sw: add queue-to-port stats
This commit adds a new statistic to the SW eventdev PMD.
The statistic shows how many packets were sent from a
queue to a port. This provides information on how traffic
from a specific queue is being load-balanced to worker cores.

Note that these numbers should be compared across all queue
stages - the load-balancing does not try to perfectly share
each queue's traffic, rather it balances the overall traffic
from all queues to the ports.

The statistic is printed from the rte_eventdev_dump() function,
as well as being made available via the xstats API.

Unit tests have been updated to expect more per-queue statistics,
and the correctness of counts and counts after reset is verified.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
2017-06-21 15:29:53 +02:00
..
event_ring.h eal: introduce macro for always inline 2017-06-06 17:21:55 +02:00
iq_ring.h eal: introduce macro for always inline 2017-06-06 17:21:55 +02:00
Makefile event/sw: support xstats 2017-04-04 19:19:52 +02:00
rte_pmd_evdev_sw_version.map event/sw: add new software-only eventdev driver 2017-04-04 19:19:51 +02:00
sw_evdev_scheduler.c event/sw: add queue-to-port stats 2017-06-21 15:29:53 +02:00
sw_evdev_worker.c event/sw: fix credit return on invalid queue id 2017-04-20 00:26:55 +02:00
sw_evdev_xstats.c event/sw: add queue-to-port stats 2017-06-21 15:29:53 +02:00
sw_evdev.c event/sw: add queue-to-port stats 2017-06-21 15:29:53 +02:00
sw_evdev.h event/sw: add queue-to-port stats 2017-06-21 15:29:53 +02:00