This patch adds port hotplug support to BSD. Before applying, following patches should be applied. - [PATCH v7 01/12] eal: Fix coding style of eal_pci.c and eal_pci_uio.c - [PATCH v7 02/12] eal: Close file descriptor of uio configuration - [PATCH v7 03/12] eal: Fix memory leaks and needless increment of pci_map_addr - [PATCH v7 04/12] eal/bsdapp: Change names of pci related data structure - [PATCH v7 05/12] eal: Fix uio mapping differences between linuxapp and bsdapp - [PATCH v7 06/12] eal: Add pci_uio_alloc_resource() - [PATCH v7 07/12] eal: Add pci_uio_map_resource_by_index() - [PATCH v7 08/12] eal: Consolidate pci_map and mapped_pci_resource of linuxapp and bsdapp - [PATCH v7 09/12] eal: Consolidate pci_map/unmap_resource() of linuxapp and bsdapp - [PATCH v7 10/12] eal: Consolidate pci uio functions of linuxapp and bsdapp - [PATCH v7 11/12] eal: Consolidate pci_map/unmap_device() of linuxapp and bsdapp - [PATCH v7 12/12] eal: Consolidate rte_eal_pci_probe/close_one_driver() of linuxapp and bsdapp
PATCH v3 changes: - Below patches are removed. - eal: Add pci_uio_alloc_resource() - eal: Add pci_uio_map_resource_by_index() - eal: Consolidate pci_map and mapped_pci_resource of linuxapp and bsdapp - eal: Consolidate pci_map/unmap_resource() of linuxapp and bsdapp - eal: Consolidate pci uio functions of linuxapp and bsdapp - eal: Consolidate pci_map/unmap_device() of linuxapp and bsdapp - eal: Consolidate rte_eal_pci_probe/close_one_driver() of linuxapp and bsdapp (Thanks to Bruce Richardson) PATCH v2 changes: - Fix license of eal_common_pci_uio.c PATCH v1 changes: - Rebase to below latest patch series. - [PATCH v6] Clean up pci uio implementations Tetsuya.Mukawa (1): eal: Enable Port Hotplug as default in Linux and BSD config/common_bsdapp | 6 ------ config/common_linuxapp | 5 ----- lib/librte_eal/bsdapp/eal/eal_pci.c | 6 +++--- lib/librte_eal/bsdapp/eal/rte_eal_version.map | 6 ++++++ lib/librte_eal/common/eal_common_dev.c | 2 -- lib/librte_eal/common/eal_common_pci.c | 6 ------ lib/librte_eal/common/eal_common_pci_uio.c | 2 -- lib/librte_eal/common/eal_private.h | 2 -- lib/librte_eal/common/include/rte_pci.h | 2 -- lib/librte_ether/rte_ethdev.c | 21 --------------------- 10 files changed, 9 insertions(+), 49 deletions(-) -- 2.1.4