crypto/scheduler: add fail-over scheduling mode
authorFan Zhang <roy.fan.zhang@intel.com>
Wed, 29 Mar 2017 16:31:32 +0000 (17:31 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Apr 2017 22:17:44 +0000 (00:17 +0200)
commit37f075dad1e9179448b5685b95a97fb2d7567361
treebdefdc329ab8f564f88d7dadfc502e51c626dba8
parenta783aa634410c638691077c174c604dc0fa54bae
crypto/scheduler: add fail-over scheduling mode

Fail-over mode works with 2 slaves, primary slave and secondary slave.
In this mode, the scheduler will enqueue the incoming crypto op burst
to the primary slave. When one or more crypto ops are failed to be
enqueued, they then will be enqueued to the secondary slave.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
doc/guides/cryptodevs/scheduler.rst
doc/guides/rel_notes/release_17_05.rst
drivers/crypto/scheduler/Makefile
drivers/crypto/scheduler/rte_cryptodev_scheduler.c
drivers/crypto/scheduler/rte_cryptodev_scheduler.h
drivers/crypto/scheduler/scheduler_failover.c [new file with mode: 0644]