cryptodev: move KASUMI to end of list
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 6 Jul 2016 14:05:32 +0000 (15:05 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 8 Jul 2016 18:00:32 +0000 (20:00 +0200)
New cryptodev type for the new KASUMI PMD was added
in the cryptodev type enum, but not at the end of it,
causing an ABI breakage.

Fixes: 2773c86d061a ("crypto/kasumi: add driver for KASUMI library")

Reported-by: Ferruh Yigit <ferruh.yigit@intel.com>
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_cryptodev/rte_cryptodev.h

index 4c02307..affbdec 100644 (file)
@@ -67,9 +67,9 @@ enum rte_cryptodev_type {
        RTE_CRYPTODEV_NULL_PMD = 1,     /**< Null crypto PMD */
        RTE_CRYPTODEV_AESNI_GCM_PMD,    /**< AES-NI GCM PMD */
        RTE_CRYPTODEV_AESNI_MB_PMD,     /**< AES-NI multi buffer PMD */
-       RTE_CRYPTODEV_KASUMI_PMD,       /**< KASUMI PMD */
        RTE_CRYPTODEV_QAT_SYM_PMD,      /**< QAT PMD Symmetric Crypto */
        RTE_CRYPTODEV_SNOW3G_PMD,       /**< SNOW 3G PMD */
+       RTE_CRYPTODEV_KASUMI_PMD,       /**< KASUMI PMD */
 };
 
 extern const char **rte_cyptodev_names;