eventdev: restructure release function
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 9 Jun 2017 08:37:27 +0000 (14:07 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Wed, 21 Jun 2017 13:33:23 +0000 (15:33 +0200)
commit6d0784e4910e736609a7efa9e19a854dde99f3c5
tree215984f313197b34541adbd10153a9d82c68c3a2
parent7214438d93e6bca4eb6adb94c4ebb63f4d53d5dc
eventdev: restructure release function

Remove rte_event_dev_close() from rte_event_pmd_release() function so
that rte_event_pmd_release() can be used in stateless way. This will
enable rte_event_pmd_vdev_uninit() function to avoid using
eventdev_globals global variable and the need for exposing the a
global variable to PMD.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_eventdev/rte_eventdev.c