New upstream version 16.11.3
[deb_dpdk.git] / lib / librte_cryptodev / rte_cryptodev.c
index 54e95d5..c836a2c 100644 (file)
@@ -737,8 +737,8 @@ rte_cryptodev_stop(uint8_t dev_id)
                return;
        }
 
-       dev->data->dev_started = 0;
        (*dev->dev_ops->dev_stop)(dev);
+       dev->data->dev_started = 0;
 }
 
 int