ethdev: close device
authorTetsuya Mukawa <mukawa@igel.co.jp>
Wed, 25 Feb 2015 19:32:21 +0000 (04:32 +0900)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 25 Feb 2015 23:08:25 +0000 (00:08 +0100)
commit6c6829475b051c729e9d05695720f89d5263ec92
treee23ca8c9f4da2f6f252e6ceee4312f69e6f0e05a
parent36ec8585b2989ff17e23ffe40a28775474dfb40a
ethdev: close device

The patch adds function pointer to rte_pci_driver and eth_driver
structure. These function pointers are used when ports are detached.
Also, the patch adds rte_eth_dev_uninit(). So far, it's not called
by anywhere, but it will be called when port hotplug function is
implemented.

Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h