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
ipc: end multiprocess thread during cleanup
[dpdk.git]
/
lib
/
eventdev
/
rte_event_timer_adapter.c
diff --git
a/lib/eventdev/rte_event_timer_adapter.c
b/lib/eventdev/rte_event_timer_adapter.c
index
0e21b7c
..
9dad170
100644
(file)
--- a/
lib/eventdev/rte_event_timer_adapter.c
+++ b/
lib/eventdev/rte_event_timer_adapter.c
@@
-525,7
+525,7
@@
event_buffer_flush(struct event_buffer *bufp, uint8_t dev_id, uint8_t port_id,
RTE_ASSERT(head_idx < EVENT_BUFFER_SZ && tail_idx < EVENT_BUFFER_SZ);
RTE_ASSERT(head_idx < EVENT_BUFFER_SZ && tail_idx < EVENT_BUFFER_SZ);
- /* Determine the largest contigous run we can attempt to enqueue to the
+ /* Determine the largest contig
u
ous run we can attempt to enqueue to the
* event device.
*/
if (head_idx > tail_idx)
* event device.
*/
if (head_idx > tail_idx)
@@
-786,6
+786,9
@@
swtim_service_func(void *arg)
sw->stats.adapter_tick_count++;
}
sw->stats.adapter_tick_count++;
}
+ rte_event_maintain(adapter->data->event_dev_id,
+ adapter->data->event_port_id, 0);
+
return 0;
}
return 0;
}