eventdev: clarify the worker thread workflow
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Thu, 18 May 2017 11:10:41 +0000 (16:40 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Wed, 21 Jun 2017 13:33:22 +0000 (15:33 +0200)
commit0b275d32a4d7eaf420dcb8e0fcca50c079f6fecf
tree652c1b1afe296718d7635b8c916b6196a7e329ad
parent9d646a167ae3c3c7be8345cb7e4874995587384d
eventdev: clarify the worker thread workflow

If the RTE_EVENT_DEV_CAP_DISTRIBUTED_SCHED capability flag
is not set indicates the device is centralized and thus needs
a dedicated scheduling thread that repeatedly calls
rte_event_schedule().

Update the worker thread code snippet to match
the description.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_eventdev/rte_eventdev.h