crypto/scheduler: change enqueue and dequeue functions
authorFan Zhang <roy.fan.zhang@intel.com>
Thu, 2 Mar 2017 11:12:11 +0000 (11:12 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Apr 2017 22:17:44 +0000 (00:17 +0200)
commit211e27a9c29b623d07ae3d1fb398dcfab8c7d46d
tree2878571cc0669863f9ef45ad1fa4511130a4f034
parent884ed3ff8e59f42e90e66e1486b53bcca1128308
crypto/scheduler: change enqueue and dequeue functions

This patch changes the enqueue and dequeue methods to cryptodev
scheduler PMD. Originally a 2-layer function call is carried out
upon enqueuing or dequeuing a burst of crypto ops. This patch
removes one layer to improve the performance.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/crypto/scheduler/scheduler_pmd.c
drivers/crypto/scheduler/scheduler_pmd_private.h
drivers/crypto/scheduler/scheduler_roundrobin.c