returns the attached port number. Before calling the API, the device
should be recognized by an userspace driver I/O framework. The API
receives a pci address like "0000:01:00.0" or a virtual device name
- like "eth_pcap0,iface=eth0". In the case of virtual device name, the
+ like "net_pcap0,iface=eth0". In the case of virtual device name, the
format is the same as the general "--vdev" option of DPDK.
* Detaching a port
* The framework can only be enabled with Linux. BSD is not supported.
-* To detach a port, the port should be backed by a device that igb_uio
- manages. VFIO is not supported.
-
* Not all PMDs support detaching feature.
- To know whether a PMD can support detaching, search for the
- "RTE_PCI_DRV_DETACHABLE" flag in PMD implementation. If the flag is
- defined in the PMD, detaching is supported.
+ The underlying bus must support hot-unplug. If not supported,
+ the function ``rte_eth_dev_detach()`` will return negative ENOTSUP.