crypto/scheduler: add round-robin mode
authorFan Zhang <roy.fan.zhang@intel.com>
Tue, 24 Jan 2017 16:23:55 +0000 (16:23 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 30 Jan 2017 16:23:33 +0000 (17:23 +0100)
commit100e4f7e44ab7272d427e93d597478c498e191e6
tree4878f0aca2f3a0e20493278e4d65570b0f4a5d9e
parent31439ee72b2c9fb9b4cc37b4411cbd41c4027036
crypto/scheduler: add round-robin mode

Implements round-robin scheduling mode and register into cryptodev
scheduler ops structure. This mode enqueues a burst of operation
to one of its slaves, and iterates the next burst to the other
slave. Same procedure is done on dequeueing operations.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/scheduler/rte_cryptodev_scheduler.c
drivers/crypto/scheduler/rte_cryptodev_scheduler.h
drivers/crypto/scheduler/scheduler_roundrobin.c [new file with mode: 0644]