eventdev: add port attribute function
authorHarry van Haaren <harry.van.haaren@intel.com>
Wed, 20 Sep 2017 13:35:59 +0000 (14:35 +0100)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 10 Oct 2017 16:30:50 +0000 (18:30 +0200)
commit78ffab961155d722407646fced5457d180e9f9d4
tree6ce069ebd328cc6f5bb53147d692702aeab81731
parentcec04e240d066183fccf29dbe19a13b763e2bd6b
eventdev: add port attribute function

This commit reworks the port functions to retrieve information
about the port, like the enq or deq depths. Note that "port count"
is a device attribute, and is added in a later patch for dev attributes.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.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