crypto/scheduler: optimize crypto op ordering
authorFan Zhang <roy.fan.zhang@intel.com>
Thu, 2 Mar 2017 14:18:34 +0000 (14:18 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Apr 2017 22:17:44 +0000 (00:17 +0200)
commit8a48e039432b1d7cd95bad26d7bc2e18ce9bfc40
treeaba9ac514c7b02efc00bb5ea876d1bc2198c91d5
parent211e27a9c29b623d07ae3d1fb398dcfab8c7d46d
crypto/scheduler: optimize crypto op ordering

This patch optimizes the crypto op ordering by replacing the
ordering method from using rte_reorder library to using rte_ring
to avoid unnecessary crypto op storing and recovering cost.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/crypto/scheduler/scheduler_pmd_ops.c
drivers/crypto/scheduler/scheduler_pmd_private.h
drivers/crypto/scheduler/scheduler_roundrobin.c