u32 eidx;
u8 *name;
- if ((error = vlib_call_init_function (vm, vnet_crypto_init)))
- return error;
+ if (!clib_cpu_supports_aes ())
+ return 0;
/*
* A priority that is better than OpenSSL but worse than VPP natvie
return (NULL);
}
-VLIB_INIT_FUNCTION (crypto_ipsecmb_init);
+/* *INDENT-OFF* */
+VLIB_INIT_FUNCTION (crypto_ipsecmb_init) =
+{
+ .runs_after = VLIB_INITS ("vnet_crypto_init"),
+};
+/* *INDENT-ON* */
/* *INDENT-OFF* */
VLIB_PLUGIN_REGISTER () =
{
.version = VPP_BUILD_VER,
- .description = "Intel IPSEC multi-buffer",
+ .description = "Intel IPSEC Multi-buffer Crypto Engine",
};
/* *INDENT-ON* */