summaryrefslogtreecommitdiffstats
path: root/src/plugins/crypto_ipsecmb/ipsecmb.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-04-23 12:57:14 +0200
committerFlorin Coras <florin.coras@gmail.com>2019-04-23 16:40:42 +0000
commit59e0c8f5dc4b9c2b580c68da5595e4ed750194fe (patch)
tree68d1200eb5dd113fbc108c043baee0aa3f62c723 /src/plugins/crypto_ipsecmb/ipsecmb.c
parent89fec713f84b8f567c52743c9c514ac29297fbda (diff)
Bump to intel-ipsec-mb version 0.52
Change-Id: Ifeaf93c98e4af92da9409fa5a2114b577e8c0937 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/crypto_ipsecmb/ipsecmb.c')
-rw-r--r--src/plugins/crypto_ipsecmb/ipsecmb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/crypto_ipsecmb/ipsecmb.c b/src/plugins/crypto_ipsecmb/ipsecmb.c
index 9b3cf3b7afd..6d4d9136784 100644
--- a/src/plugins/crypto_ipsecmb/ipsecmb.c
+++ b/src/plugins/crypto_ipsecmb/ipsecmb.c
@@ -519,6 +519,7 @@ crypto_ipsecmb_init (vlib_main_t * vm)
vlib_thread_main_t *tm = vlib_get_thread_main ();
clib_error_t *error;
u32 eidx;
+ u8 *name;
if ((error = vlib_call_init_function (vm, vnet_crypto_init)))
return error;
@@ -526,8 +527,9 @@ crypto_ipsecmb_init (vlib_main_t * vm)
/*
* A priority that is better than OpenSSL but worse than VPP natvie
*/
- eidx = vnet_crypto_register_engine (vm, "ipsecmb", 80,
- "Intel IPSEC multi-buffer");
+ name = format (0, "Intel(R) Multi-Buffer Crypto for IPsec Library %s%c",
+ IMB_VERSION_STR, 0);
+ eidx = vnet_crypto_register_engine (vm, "ipsecmb", 80, (char *) name);
vec_validate (imbm->per_thread_data, tm->n_vlib_mains - 1);