ethdev: remove unused deferred device state
authorFerruh Yigit <ferruh.yigit@intel.com>
Tue, 20 Nov 2018 12:02:36 +0000 (12:02 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 21 Nov 2018 15:11:14 +0000 (16:11 +0100)
DEFERRED state replaced by ownership concept and it is no more used as
code comment states.

ethdev ABI broken on this release use this opportunity to remove
DEFERRED state.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Matan Azrad <matan@mellanox.com>
lib/librte_ethdev/rte_ethdev.h

index 8a92d91..1960f3a 100644 (file)
@@ -1306,8 +1306,6 @@ enum rte_eth_dev_state {
        RTE_ETH_DEV_UNUSED = 0,
        /** Device is attached when allocated in probing. */
        RTE_ETH_DEV_ATTACHED,
-       /** The deferred state is useless and replaced by ownership. */
-       RTE_ETH_DEV_DEFERRED,
        /** Device is in removed state when plug-out is detected. */
        RTE_ETH_DEV_REMOVED,
 };