From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by dpdk.org (Postfix) with ESMTP id 7AB0B594E for ; Thu, 12 Mar 2015 11:18:17 +0100 (CET) Received: by pabrd3 with SMTP id rd3so19427237pab.5 for ; Thu, 12 Mar 2015 03:18:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=V8RMJxolzsY912unPmALaMzNo10VPHLn2SWI1Ef6hgU=; b=Ig07xuOc1Zkj7eC7Rop0Ue0wyldtI35qi1otT18MxTe+T7farBteD8mOdqHTllPYE+ DzzQoMAkWzXShWTQ2SB+r1aJfGIJtXhUtA39FG4vUovg2BPP5S8pIY6v3fDe6kCwqKLv 3z4B+G4dOgu65LyJw5x9QuvrLm7LE5+TfBk8cOBIHsCJ+75v3ujLW16A859dIicXFM/c 9fBcQytOXguTvvUbSsalcT2wxcr9JeyRqEf08KqSdngy4drdS4wjfNBuJ1HzOXdMjmwz oHlL+ijN23nNFhbFDd3dySCzTXaSGB4CQxED+KKll/1oqbnVvfEJXZQ1gGTMktEeIP1D Tn6g== X-Gm-Message-State: ALoCoQnqQxiiVDlBrAfgepn2MW9LHQVTeMNnPYXjHEOsobp9SVv7IS4f0o6a5JBUXadcSXfWNQIB X-Received: by 10.66.153.1 with SMTP id vc1mr88534331pab.109.1426155496714; Thu, 12 Mar 2015 03:18:16 -0700 (PDT) Received: from localhost.localdomain (napt.igel.co.jp. [219.106.231.132]) by mx.google.com with ESMTPSA id z4sm10080331pdi.90.2015.03.12.03.18.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 12 Mar 2015 03:18:15 -0700 (PDT) From: Tetsuya Mukawa To: dev@dpdk.org Date: Thu, 12 Mar 2015 19:17:39 +0900 Message-Id: <1426155474-1596-1-git-send-email-mukawa@igel.co.jp> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1425438703-18895-1-git-send-email-mukawa@igel.co.jp> References: <1425438703-18895-1-git-send-email-mukawa@igel.co.jp> Subject: [dpdk-dev] [PATCH v2 00/15] eal: Port Hotplug support for BSD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2015 10:18:17 -0000 This patch series adds port hotplug support to BSD. Also, the patches consolidates pci uio functions of linuxapp and bsdapp. Following patches cleanup pci uio code to consolidate later. eal: Fix cording style of eal_pci.c and eal_pci_uio.c eal: Close file descriptor of uio configuration eal: Fix memory leak of pci_uio_map_resource() eal: Fix needless incrementation of pci_map_addr eal/bsdapp: Change names of pci related data structure eal: Use map_idx in pci_uio_map_resource() of bsdapp to work same as linuxapp eal: Fix interface of pci_map_resource() of bsdapp eal: Add pci_uio_alloc_uio_resource() eal: Add pci_uio_map_uio_resource_by_index() Following patches are actually for functions consolidation. eal: Consolidate pci_map and mapped_pci_resource of linuxapp and bsdapp eal: Consolidate rte_eal_pci_probe/close_one_driver() of linuxapp and bsdapp eal: Consolidate pci_map/unmap_device() of linuxapp and bsdapp eal: Consolidate pci_map/unmap_resource() of linuxapp and bsdapp eal: Consolidate pci uio functions of linuxapp and bsdapp The last patch removes CONFIG_RTE_LIBRTE_EAL_HOTPLUG configuration from Linux and BSD. And port hotplug is enabled as default with both Linux and BSD. eal: Enable Port Hotplug as default in Linux and BSD PATCH v2 changes - Consolidate pci uio functions of linuxapp and bsdapp. Tetsuya Mukawa (15): eal: Fix cording style of eal_pci.c and eal_pci_uio.c eal: Close file descriptor of uio configuration eal: Fix memory leak of pci_uio_map_resource() eal: Fix needless incrementation of pci_map_addr eal/bsdapp: Change names of pci related data structure eal: Use map_idx in pci_uio_map_resource() of bsdapp to work same as linuxapp eal: Fix interface of pci_map_resource() of bsdapp eal: Add pci_uio_alloc_uio_resource() eal: Add pci_uio_map_uio_resource_by_index() eal: Consolidate pci_map and mapped_pci_resource of linuxapp and bsdapp eal: Consolidate rte_eal_pci_probe/close_one_driver() of linuxapp and bsdapp eal: Consolidate pci_map/unmap_device() of linuxapp and bsdapp eal: Consolidate pci_map/unmap_resource() of linuxapp and bsdapp eal: Consolidate pci uio functions of linuxapp and bsdapp eal: Enable Port Hotplug as default in Linux and BSD config/common_bsdapp | 6 - config/common_linuxapp | 5 - lib/librte_eal/bsdapp/eal/Makefile | 1 + lib/librte_eal/bsdapp/eal/eal_pci.c | 292 ++++++--------------- .../bsdapp/eal/include/exec-env/rte_interrupts.h | 1 + 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 | 234 ++++++++++++++++- lib/librte_eal/common/eal_common_pci_uio.c | 224 ++++++++++++++++ lib/librte_eal/common/eal_private.h | 57 +++- lib/librte_eal/common/include/rte_pci.h | 42 ++- lib/librte_eal/linuxapp/eal/Makefile | 1 + lib/librte_eal/linuxapp/eal/eal_pci.c | 236 +---------------- lib/librte_eal/linuxapp/eal/eal_pci_init.h | 39 +-- lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 263 +++++-------------- lib/librte_ether/rte_ethdev.c | 22 +- 16 files changed, 702 insertions(+), 729 deletions(-) create mode 100644 lib/librte_eal/common/eal_common_pci_uio.c -- 1.9.1