From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id 4B05EC568 for ; Fri, 26 Jun 2015 10:21:53 +0200 (CEST) Received: by pactm7 with SMTP id tm7so64813628pac.2 for ; Fri, 26 Jun 2015 01:21:52 -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=XAHLF5oKd0DR2jnIPrcMCxwJDMifLNtiDU49CU8mT0E=; b=UiQXQ20OHZAQR4c+GI8aenaHpeWds+5VsaP9tK/+WYRJXVewDWVFozzD8VN9+I0pNV RkAn+DLjkdXLGUztQAFNQEH78Sd5weKelJhtf/mCMsMaKofO/BizSzg9YannOsqn0nHH nLhVTfrw3JY+0hZy1HEQAfzIuTckt0T98xIzRn8Qr4KuLttoxe5YXlyU64dsSPNGAtfu i886NeKibAAIXrlF5BApARx8I4iN51VKR5eX5HOpVE8gwuthWqgCN7yTuOPTCuaA363i 6j4P8K0gzEqJxeXFuZg2Pwqj0kEmXrAZ7x9uH+4dcR6yfAuJBMTZpeZoeVtQhR5AMJqo 89Tw== X-Gm-Message-State: ALoCoQkAA4iZ2qNcnGXOc6yabKCC+btMnYLkydc7px42u6V0mWs4GFxDV9Q1yx8uot986GQUT2v6 X-Received: by 10.68.224.35 with SMTP id qz3mr807330pbc.165.1435306912712; Fri, 26 Jun 2015 01:21:52 -0700 (PDT) Received: from localhost.localdomain (napt.igel.co.jp. [219.106.231.132]) by mx.google.com with ESMTPSA id cd10sm32534140pac.7.2015.06.26.01.21.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Jun 2015 01:21:51 -0700 (PDT) From: Tetsuya Mukawa To: dev@dpdk.org Date: Fri, 26 Jun 2015 17:21:18 +0900 Message-Id: <1435306886-11790-1-git-send-email-mukawa@igel.co.jp> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1432016513-8456-5-git-send-email-mukawa@igel.co.jp> References: <1432016513-8456-5-git-send-email-mukawa@igel.co.jp> Subject: [dpdk-dev] [PATCH v2 0/8] Add Port Hotplug support to 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: Fri, 26 Jun 2015 08:21:53 -0000 This patch series adds port hotplug support to BSD. Before applying, following patches should be applied. - [PATCH v6 1/5] eal: Fix coding style of eal_pci.c and eal_pci_uio.c - [PATCH v6 2/5] eal: Close file descriptor of uio configuration - [PATCH v6 3/5] eal: Fix memory leaks and needless increment of pci_map_addr - [PATCH v6 4/5] eal/bsdapp: Change names of pci related data structure - [PATCH v6 5/5] eal: Fix uio mapping differences between linuxapp and bsdapp Some functions will be consolidated after applying the patches, because these functions are implemented in both Linux and BSD code. PATCH v1 changes: - Rebase to below latest patch series. - [PATCH v6] Clean up pci uio implementations Tetsuya.Mukawa (8): 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 | 321 +++++---------------- .../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 | 224 +++++++++++++- lib/librte_eal/common/eal_common_pci_uio.c | 236 +++++++++++++++ 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 | 271 +++++------------ lib/librte_ether/rte_ethdev.c | 22 +- 16 files changed, 701 insertions(+), 769 deletions(-) create mode 100644 lib/librte_eal/common/eal_common_pci_uio.c -- 2.1.4