cryptodev: remove crypto device type enumeration
[dpdk.git] / drivers / crypto / snow3g / rte_snow3g_pmd_ops.c
index 9e44242..e3fa0fa 100644 (file)
@@ -56,12 +56,12 @@ static const struct rte_cryptodev_capabilities snow3g_pmd_capabilities[] = {
                                        .max = 4,
                                        .increment = 0
                                },
-                               .aad_size = {
+                               .iv_size = {
                                        .min = 16,
                                        .max = 16,
                                        .increment = 0
                                },
-                               .iv_size = { 0 },
+                               .aad_size = { 0 }
                        }, }
                }, }
        },
@@ -157,7 +157,7 @@ snow3g_pmd_info_get(struct rte_cryptodev *dev,
        struct snow3g_private *internals = dev->data->dev_private;
 
        if (dev_info != NULL) {
-               dev_info->dev_type = dev->dev_type;
+               dev_info->driver_id = dev->driver_id;
                dev_info->max_nb_queue_pairs = internals->max_nb_queue_pairs;
                dev_info->sym.max_nb_sessions = internals->max_nb_sessions;
                dev_info->feature_flags = dev->feature_flags;