]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/ixgbe_ethdev.c
ethdev: remove detachable device flag
[dpdk.git] / drivers / net / ixgbe / ixgbe_ethdev.c
index a8731532c24d1fb3d574ef6db4af3901ec1d77f1..f74ff642b9699a71cc637057555b93affa5c035c 100644 (file)
@@ -1174,7 +1174,6 @@ eth_ixgbe_dev_init(struct rte_eth_dev *eth_dev)
                return -ENOMEM;
 
        rte_eth_copy_pci_info(eth_dev, pci_dev);
-       eth_dev->data->dev_flags |= RTE_ETH_DEV_DETACHABLE;
 
        /* Vendor and Device ID need to be set before init of shared code */
        hw->device_id = pci_dev->id.device_id;
@@ -1635,7 +1634,6 @@ eth_ixgbevf_dev_init(struct rte_eth_dev *eth_dev)
        }
 
        rte_eth_copy_pci_info(eth_dev, pci_dev);
-       eth_dev->data->dev_flags |= RTE_ETH_DEV_DETACHABLE;
 
        hw->device_id = pci_dev->id.device_id;
        hw->vendor_id = pci_dev->id.vendor_id;