From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by dpdk.org (Postfix) with ESMTP id 35D065A9B for ; Tue, 19 May 2015 08:22:04 +0200 (CEST) Received: by pabru16 with SMTP id ru16so9810985pab.1 for ; Mon, 18 May 2015 23:22:03 -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; bh=xFHIPZiw5bZLdgS02/dCqKEPx33mvZ0LHAgKsiDaEYo=; b=HNj5bO9CjiBo0sQKOeL0WSQconiSG5DclFyobuDC/PA3PN1I+UpJPK5U097qvRs0zp jxM8isuUQj7LYZBisaW/gO3ZIyN1/8roTkmv89GaRsXWCaaaXowKXed0NN0kK8hQXvAy BCaKcHzX6wkJqsguJErnVAKtrjuSK7EwVOFot009W4qeko7nPB1fmnwZofFc9wv3JazQ 5s9Wn3RizP8hinnlnZfg9YFtjI3bIKNX/1g/dgCcnBul7mfaPzaH0FiGGM8f9367TgAA FTVJrmyLdiNvEidVV7kN2h00QCq67mbvZThIvwes8e6G7VoWZ8JWzXobIjmZntik6P52 mSxQ== X-Gm-Message-State: ALoCoQmvMtXGmISPrudM/s3khHUVqDfkGNBc6hxaDk9yRibbl4QoxeXJx7XZBlfPPIy9bhSmBzXK X-Received: by 10.70.0.67 with SMTP id 3mr50512546pdc.152.1432016523550; Mon, 18 May 2015 23:22:03 -0700 (PDT) Received: from localhost.localdomain (napt.igel.co.jp. [219.106.231.132]) by mx.google.com with ESMTPSA id e5sm11888984pdc.94.2015.05.18.23.22.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 May 2015 23:22:02 -0700 (PDT) From: Tetsuya Mukawa To: dev@dpdk.org Date: Tue, 19 May 2015 15:21:45 +0900 Message-Id: <1432016513-8456-1-git-send-email-mukawa@igel.co.jp> X-Mailer: git-send-email 2.1.4 Subject: [dpdk-dev] [PATCH 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: Tue, 19 May 2015 06:22:04 -0000 This patch series adds port hotplug support to BSD. Before applying, following patches should be applied. - [PATCH v4 1/5] eal: Fix coding style of eal_pci.c and eal_pci_uio.c - [PATCH v4 2/5] eal: Close file descriptor of uio configuration - [PATCH v4 3/5] eal: Fix memory leaks and needless increment of pci_map_addr - [PATCH v4 4/5] eal/bsdapp: Change names of pci related data structure - [PATCH v4 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. 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 | 309 +++++---------------- .../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 | 233 ++++++++++++++++ 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 | 265 +++++------------- lib/librte_ether/rte_ethdev.c | 22 +- 16 files changed, 691 insertions(+), 758 deletions(-) create mode 100644 lib/librte_eal/common/eal_common_pci_uio.c -- 2.1.4