#include "rte_libcrypto_pmd_private.h"
-static int cryptodev_libcrypto_uninit(const char *name);
+static int cryptodev_libcrypto_remove(const char *name);
/*----------------------------------------------------------------------------*/
init_error:
LIBCRYPTO_LOG_ERR("driver %s: cryptodev_libcrypto_create failed", name);
- cryptodev_libcrypto_uninit(crypto_dev_name);
+ cryptodev_libcrypto_remove(crypto_dev_name);
return -EFAULT;
}
/** Initialise LIBCRYPTO crypto device */
static int
-cryptodev_libcrypto_init(const char *name,
+cryptodev_libcrypto_probe(const char *name,
const char *input_args)
{
struct rte_crypto_vdev_init_params init_params = {
/** Uninitialise LIBCRYPTO crypto device */
static int
-cryptodev_libcrypto_uninit(const char *name)
+cryptodev_libcrypto_remove(const char *name)
{
if (name == NULL)
return -EINVAL;
}
static struct rte_vdev_driver cryptodev_libcrypto_pmd_drv = {
- .probe = cryptodev_libcrypto_init,
- .remove = cryptodev_libcrypto_uninit
+ .probe = cryptodev_libcrypto_probe,
+ .remove = cryptodev_libcrypto_remove
};
RTE_PMD_REGISTER_VDEV(CRYPTODEV_NAME_LIBCRYPTO_PMD,