event/sw: add service capability
authorHarry van Haaren <harry.van.haaren@intel.com>
Tue, 11 Jul 2017 14:19:31 +0000 (15:19 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 16 Jul 2017 18:38:21 +0000 (20:38 +0200)
commita599eb31f2e477674fc6176cdf989ee17432b552
tree052d8452b7876d19269f73c0c37b5df98aa9cbd2
parentf038a81e1c564840fa8876c110ab428f747008ed
event/sw: add service capability

This commit shows how easy it is to enable a specific
DPDK component with a service callback, in order to get
CPU cycles for it.

The beauty of this method is that the service is unaware
of how much CPU time it is getting - the application can
decide how to split and slice cores and map them to the
registered services.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
doc/guides/eventdevs/sw.rst
drivers/event/sw/sw_evdev.c
drivers/event/sw/sw_evdev.h