From: Akhil Goyal Date: Wed, 5 Jul 2017 16:21:42 +0000 (+0530) Subject: crypto/dpaa2_sec: update driver name string X-Git-Tag: spdx-start~2661 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=217a72cec4d228d963065f8b7ef04d4e63921ea9;p=dpdk.git crypto/dpaa2_sec: update driver name string while registering driver to dpaa2, hard coded string is used. It is now updated as per the latest changes in string name. Signed-off-by: Akhil Goyal --- diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index b1eede91b2..a70812271e 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -1976,4 +1976,4 @@ static struct rte_dpaa2_driver rte_dpaa2_sec_driver = { .remove = cryptodev_dpaa2_sec_remove, }; -RTE_PMD_REGISTER_DPAA2(dpaa2_sec_pmd, rte_dpaa2_sec_driver); +RTE_PMD_REGISTER_DPAA2(CRYPTODEV_NAME_DPAA2_SEC_PMD, rte_dpaa2_sec_driver); diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h index c47a3f664b..bd422fdcde 100644 --- a/lib/librte_cryptodev/rte_cryptodev.h +++ b/lib/librte_cryptodev/rte_cryptodev.h @@ -71,7 +71,7 @@ extern "C" { /**< ARMv8 Crypto PMD device name */ #define CRYPTODEV_NAME_SCHEDULER_PMD crypto_scheduler /**< Scheduler Crypto PMD device name */ -#define CRYPTODEV_NAME_DPAA2_SEC_PMD cryptodev_dpaa2_sec_pmd +#define CRYPTODEV_NAME_DPAA2_SEC_PMD crypto_dpaa2_sec /**< NXP DPAA2 - SEC PMD device name */ /** Crypto device type */