git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pci: get IOMMU class on Linux
[dpdk.git]
/
drivers
/
event
/
sw
/
sw_evdev.c
diff --git
a/drivers/event/sw/sw_evdev.c
b/drivers/event/sw/sw_evdev.c
index
9cc63a0
..
da6ac30
100644
(file)
--- a/
drivers/event/sw/sw_evdev.c
+++ b/
drivers/event/sw/sw_evdev.c
@@
-617,8
+617,7
@@
sw_start(struct rte_eventdev *dev)
struct sw_evdev *sw = sw_pmd_priv(dev);
/* check a service core is mapped to this service */
struct sw_evdev *sw = sw_pmd_priv(dev);
/* check a service core is mapped to this service */
- struct rte_service_spec *s = rte_service_get_by_name(sw->service_name);
- if (!rte_service_is_running(s))
+ if (!rte_service_runstate_get(sw->service_id))
SW_LOG_ERR("Warning: No Service core enabled on service %s\n",
sw->service_name);
SW_LOG_ERR("Warning: No Service core enabled on service %s\n",
sw->service_name);