pci: separate detaching ethernet ports from PCI devices
authorBen Walker <benjamin.walker@intel.com>
Wed, 11 Jan 2017 17:10:11 +0000 (10:10 -0700)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 12 Jan 2017 14:48:54 +0000 (15:48 +0100)
commit22dda618c00c1267ec5afb528bfdc8f9bab47a15
tree43ecc4d5bd40590631dc5c4f80b128f4ba40f5ff
parente84ad157b7bc44161de069df4bb34deeda2daf0c
pci: separate detaching ethernet ports from PCI devices

Attaching and detaching ethernet ports from an application
is not the same thing as physically removing a PCI device,
so clarify the flags indicating support. All PCI devices
are assumed to be physically removable, so no flag is
necessary in the PCI layer.

Signed-off-by: Ben Walker <benjamin.walker@intel.com>
14 files changed:
doc/guides/prog_guide/port_hotplug_framework.rst
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/e1000/em_ethdev.c
drivers/net/e1000/igb_ethdev.c
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/nfp/nfp_net.c
drivers/net/virtio/virtio_ethdev.c
drivers/net/vmxnet3/vmxnet3_ethdev.c
drivers/net/xenvirt/rte_eth_xenvirt.c
lib/librte_eal/common/include/rte_pci.h
lib/librte_ether/rte_ethdev.c