cryptodev: add type for DPAA2
authorAkhil Goyal <akhil.goyal@nxp.com>
Thu, 20 Apr 2017 05:44:15 +0000 (11:14 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 20 Apr 2017 09:32:45 +0000 (11:32 +0200)
Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
lib/librte_cryptodev/rte_cryptodev.h

index f5fba13..88aeb87 100644 (file)
@@ -70,6 +70,8 @@ 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
+/**< NXP DPAA2 - SEC PMD device name */
 
 /** Crypto device type */
 enum rte_cryptodev_type {
@@ -83,6 +85,7 @@ enum rte_cryptodev_type {
        RTE_CRYPTODEV_OPENSSL_PMD,    /**<  OpenSSL PMD */
        RTE_CRYPTODEV_ARMV8_PMD,        /**< ARMv8 crypto PMD */
        RTE_CRYPTODEV_SCHEDULER_PMD,    /**< Crypto Scheduler PMD */
+       RTE_CRYPTODEV_DPAA2_SEC_PMD,    /**< NXP DPAA2 - SEC PMD */
 };
 
 extern const char **rte_cyptodev_names;