summaryrefslogtreecommitdiff
path: root/drivers/net/fm10k
diff options
context:
space:
mode:
authorGaetan Rivet <gaetan.rivet@6wind.com>2017-10-24 12:35:38 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2017-10-26 02:33:01 +0200
commit00a3d8104ac5ed9b627426d81a47a692a6ee7f90 (patch)
tree5f413408abb86d64fe31804b16ac19bf32867187 /drivers/net/fm10k
parent02f01267deea8313c4fa78a5187bdd78f73d043e (diff)
downloaddpdk-next-eventdev-00a3d8104ac5ed9b627426d81a47a692a6ee7f90.zip
dpdk-next-eventdev-00a3d8104ac5ed9b627426d81a47a692a6ee7f90.tar.gz
dpdk-next-eventdev-00a3d8104ac5ed9b627426d81a47a692a6ee7f90.tar.xz
ethdev: remove detachable device flag
This flag is not necessary at the ether layer anymore. Buses are able to advertise their hotplug support. The ether layer can rely upon this capability instead of a special flag. Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com> Acked-by: Andrew Rybchenko <arybchenko@solarflare.com> Acked-by: John McNamara <john.mcnamara@intel.com> Acked-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'drivers/net/fm10k')
-rw-r--r--drivers/net/fm10k/fm10k_ethdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c
index 7baa927..7a42906 100644
--- a/drivers/net/fm10k/fm10k_ethdev.c
+++ b/drivers/net/fm10k/fm10k_ethdev.c
@@ -3019,7 +3019,6 @@ eth_fm10k_dev_init(struct rte_eth_dev *dev)
}
rte_eth_copy_pci_info(dev, pdev);
- dev->data->dev_flags |= RTE_ETH_DEV_DETACHABLE;
macvlan = FM10K_DEV_PRIVATE_TO_MACVLAN(dev->data->dev_private);
memset(macvlan, 0, sizeof(*macvlan));