eventdev: add dev attribute get function
authorHarry van Haaren <harry.van.haaren@intel.com>
Wed, 20 Sep 2017 13:36:00 +0000 (14:36 +0100)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 10 Oct 2017 16:31:04 +0000 (18:31 +0200)
commit64103dbcd67315a1561272929fffd40b75f165dc
treedfd20d5586c5c958c2c525cb54fef5caa8829b4e
parent78ffab961155d722407646fced5457d180e9f9d4
eventdev: add dev attribute get function

This commit adds a device attribute function, allowing flexible
fetching of device attributes, like port count or queue count.
The unit tests and .map file are updated to the new function.

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
lib/librte_eventdev/rte_eventdev_version.map
test/test/test_eventdev.c
test/test/test_eventdev_octeontx.c