dpdk-cryptodev: introduce sw_ring to the crypto op data path
This patch introduces sw_ring to the crypto op data path implementation, so that raw data path and crypto op data path use same mechanism of processing async frames. Crypto op ring has been removed from the implementation. Type: improvement Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com> Change-Id: Id823f80a88cfa0ff40252616a36de8bb044c7f45
This commit is contained in:
committed by
Fan Zhang
parent
61762c7aac
commit
ea7111ed40
@@ -183,12 +183,7 @@ typedef struct
|
||||
vlib_buffer_t *b[VNET_CRYPTO_FRAME_SIZE];
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
cryptodev_op_t **cops;
|
||||
struct rte_mempool *cop_pool;
|
||||
struct rte_ring *ring;
|
||||
};
|
||||
struct rte_mempool *cop_pool;
|
||||
struct
|
||||
{
|
||||
struct rte_crypto_raw_dp_ctx *ctx;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user