crypto/scheduler: use ring peek API
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Fri, 22 May 2020 11:57:36 +0000 (12:57 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Sat, 18 Jul 2020 21:09:00 +0000 (23:09 +0200)
commit8b6c9aee90a90705c40e0593012a2c2a4bec7d52
treecf1a34dd37d23de948238f2f5fdd95155c2fb94c
parent2a7d0b872f799a6ed23820b412b9ee3407816e97
crypto/scheduler: use ring peek API

scheduler PMD uses its own hand-made peek functions
that directly access rte_ring internals.
As now rte_ring has an API for that type of functionality -
change scheduler PMD to use API provided by rte_ring.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
drivers/crypto/scheduler/scheduler_multicore.c
drivers/crypto/scheduler/scheduler_pmd_private.h