summaryrefslogtreecommitdiffstats
path: root/src/vnet/crypto/crypto.h
diff options
context:
space:
mode:
authorFan Zhang <roy.fan.zhang@intel.com>2021-03-30 17:31:38 +0100
committerNeale Ranns <neale@graphiant.com>2021-04-09 13:40:44 +0000
commite4db945e1cd960f94f3e3f3d1049fd98cfadbeb1 (patch)
treeca92d2b9e15bf4e18c92fcafbb80ed6f9947bcb1 /src/vnet/crypto/crypto.h
parente39376e4d5aa66a5f8973f4f5470c736afeab4ed (diff)
dpdk: selection of cryptodev engine data-path
Type: improvement This patch combined cryptodev op and cryptodev raw API data paths into one and makes the engine run-timely select which data path is used: if all cryptodev devices support RTE_CRYPTODEV_FF_SYM_RAW_DP feature flag, the raw data path API is used, otherwise the traditional data path is used. Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: Ibbd7c4405288bd9a48a34878954fd3040df7b4ad
Diffstat (limited to 'src/vnet/crypto/crypto.h')
-rw-r--r--src/vnet/crypto/crypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/crypto/crypto.h b/src/vnet/crypto/crypto.h
index 670be69fd4f..7db591fcf86 100644
--- a/src/vnet/crypto/crypto.h
+++ b/src/vnet/crypto/crypto.h
@@ -19,6 +19,7 @@
#include <vlib/vlib.h>
#define VNET_CRYPTO_FRAME_SIZE 64
+#define VNET_CRYPTO_FRAME_POOL_SIZE 1024
/* CRYPTO_ID, PRETTY_NAME, KEY_LENGTH_IN_BYTES */
#define foreach_crypto_cipher_alg \