eventdev: include PCI devices when getting id from name
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Fri, 15 Jun 2018 03:45:24 +0000 (09:15 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 6 Jul 2018 04:54:49 +0000 (06:54 +0200)
commiteed9fdf645c44dd965963ec4506af043f56542bd
tree28ec521bb772d9a7d8e3e83deaaf193d8a208342
parentf8e9989606e7a9548a25ac10e2daae4c8af230cb
eventdev: include PCI devices when getting id from name

Currently, rte_event_dev_get_dev_id works only for virtual devices(vdev)
update the function to include devices probed through pci.

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