crypto/scheduler: fix ring dequeue return handling
authorFan Zhang <roy.fan.zhang@intel.com>
Wed, 19 Apr 2017 14:47:02 +0000 (15:47 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 20 Apr 2017 09:32:45 +0000 (11:32 +0200)
commit21d0b0433c955c7e4c54c55ffb81119f1f7c3689
tree5ac7226c23cd3ac9bb98bc3add411d68f0a10bf8
parentc64457cb11f0df25813983b10c47d80058b9a8ba
crypto/scheduler: fix ring dequeue return handling

Commit <ecaed092b677> ("ring: return remaining entry count when
dequeuing") changed the return of rte_ring_sc_dequeue_bulk.
This patch updates the scheduler to comply with this change.

Fixes: 8a48e039432b ("crypto/scheduler: optimize crypto op ordering")

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
drivers/crypto/scheduler/scheduler_pmd_private.h