eal: enable port hotplug as default for linux and bsd
authorTetsuya Mukawa <mukawa@igel.co.jp>
Tue, 30 Jun 2015 08:26:51 +0000 (17:26 +0900)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 8 Jul 2015 22:18:25 +0000 (00:18 +0200)
commit390cb6b89c6d9b95b7d74620c99b94d93e5357ed
treef72272605abe7d832cce3208e979251e1b9e7e72
parent4d4ebca430474180cdc5cb14edfda04ee4189d19
eal: enable port hotplug as default for linux and bsd

This patch removes CONFIG_RTE_LIBRTE_EAL_HOTPLUG option, and enables it
as default in both Linux and BSD.
Also, to support port hotplug, rte_eal_pci_scan() and below missing
symbols should be exported to ethdev library.
 - rte_eal_parse_devargs_str()
 - rte_eal_pci_close_one()
 - rte_eal_pci_probe_one()
 - rte_eal_pci_scan()
 - rte_eal_vdev_init()
 - rte_eal_vdev_uninit()

Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
config/common_bsdapp
config/common_linuxapp
lib/librte_eal/bsdapp/eal/eal_pci.c
lib/librte_eal/bsdapp/eal/rte_eal_version.map
lib/librte_eal/common/eal_common_dev.c
lib/librte_eal/common/eal_common_pci.c
lib/librte_eal/common/eal_common_pci_uio.c
lib/librte_eal/common/eal_private.h
lib/librte_eal/common/include/rte_pci.h
lib/librte_ether/rte_ethdev.c