]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5.c
ethdev: remove detachable device flag
[dpdk.git] / drivers / net / mlx5 / mlx5.c
index 89fdc134fd2ea340274349ba107cd42eebccdff6..e3c9b8995bd7b2edfe9722ad8a202955352942cb 100644 (file)
@@ -918,7 +918,6 @@ mlx5_pci_probe(struct rte_pci_driver *pci_drv, struct rte_pci_device *pci_dev)
                eth_dev->data->mac_addrs = priv->mac;
                eth_dev->device = &pci_dev->device;
                rte_eth_copy_pci_info(eth_dev, pci_dev);
-               eth_dev->data->dev_flags |= RTE_ETH_DEV_DETACHABLE;
                eth_dev->device->driver = &mlx5_driver.driver;
                priv->dev = eth_dev;
                eth_dev->dev_ops = &mlx5_dev_ops;