eventdev: add device started attribute
authorHarry van Haaren <harry.van.haaren@intel.com>
Wed, 20 Sep 2017 13:36:02 +0000 (14:36 +0100)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 10 Oct 2017 16:31:30 +0000 (18:31 +0200)
commit44f3b4a4b50585ea30715ed76d1d2d102db9e5bc
tree463ca8e04d3337365899f5ae9a4c3ace8b118762
parent783bdfef7edb09b2791cf783542b862c7b675627
eventdev: add device started attribute

This commit adds an attribute to the eventdev, allowing applications
to retrieve if the eventdev is running or stopped. Note that no API
or ABI changes were required in adding the statistic, and code changes
are minimal.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_eventdev/rte_eventdev.c
lib/librte_eventdev/rte_eventdev.h