aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk
diff options
context:
space:
mode:
authorDamjan Marion <dmarion@me.com>2024-12-16 09:06:42 +0000
committerDamjan Marion <dmarion@me.com>2024-12-18 12:34:55 +0000
commit0cf4eef73a4c1bd2831a4618af50939a2aab01c6 (patch)
tree809caae588fa1e12556cb180bc4b253120627134 /src/plugins/dpdk
parent4358a18dea319b590da5b64e263439136bd8f806 (diff)
crypto: move crypto engines outside of plugins
This is first step in process of making crypto engine binaries less dependant on specific VPP version. Type: improvement Change-Id: Ib08135688be409049b660e2b2ac435578b63be65 Signed-off-by: Damjan Marion <dmarion@me.com>
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r--src/plugins/dpdk/cryptodev/cryptodev.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/dpdk/cryptodev/cryptodev.c b/src/plugins/dpdk/cryptodev/cryptodev.c
index 43c2c879aab..0250da7cda3 100644
--- a/src/plugins/dpdk/cryptodev/cryptodev.c
+++ b/src/plugins/dpdk/cryptodev/cryptodev.c
@@ -327,10 +327,9 @@ cryptodev_sess_handler (vlib_main_t *vm, vnet_crypto_key_op_t kop,
}
/*static*/ void
-cryptodev_key_handler (vlib_main_t *vm, vnet_crypto_key_op_t kop,
- vnet_crypto_key_index_t idx)
+cryptodev_key_handler (vnet_crypto_key_op_t kop, vnet_crypto_key_index_t idx)
{
- cryptodev_sess_handler (vm, kop, idx, 8);
+ cryptodev_sess_handler (vlib_get_main (), kop, idx, 8);
}
clib_error_t *