event/sw: add scheduling logic
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 30 Mar 2017 19:30:39 +0000 (20:30 +0100)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Tue, 4 Apr 2017 17:19:51 +0000 (19:19 +0200)
commit617995dfc5b2fc9c60ceee3ff2025dc792c309e3
tree018a0494af4ab1d6d4217629604eb1c22185d31c
parent656af9180014ee095deacf106161c873d3063bc8
event/sw: add scheduling logic

Add in the scheduling function which takes the events from the
producer queues and buffers them before scheduling them to consumer
queues. The scheduling logic includes support for atomic, reordered,
and parallel scheduling of flows.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Gage Eads <gage.eads@intel.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
drivers/event/sw/Makefile
drivers/event/sw/sw_evdev.c
drivers/event/sw/sw_evdev.h
drivers/event/sw/sw_evdev_scheduler.c [new file with mode: 0644]