From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by dpdk.org (Postfix) with ESMTP id 0F938C354 for ; Tue, 19 May 2015 18:03:14 +0200 (CEST) Received: by padbw4 with SMTP id bw4so30426630pad.0 for ; Tue, 19 May 2015 09:03:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=GMoKJd66zGHm34/Q2Z0y2gegG+143QVOkk2nsdlG55A=; b=dKPtRsiUPUIxT4k/yOL2Zi4X4LBKbp7fYUQiGTUS7gsSf1x8iuVUAzfKBPb7XgHriF pFha3/ZcRDeUvOyukX9jRER635QmLPVoofmnpEIZe6CCggGhveXd0ozUtzOrb5BjCkXr FcQPEPdUZjd30wMGBLkOJ3tU76vVpbOe9OkDmG49fwK19Bnck/qGbk5YbGjKHdRjx3mx gqyyiUOer/ILagRG7oe151IziRPcAsQl9vmukyMCmKC6RNJNgdF7AP2jw8ssl5WLxkEq zBtAAJYRtDwJqYKPKxMuYRa2vBAkxEZmaBVJqUT4lhhuj1Dsp1ff6qA9si4HT3tuTFHz ciIQ== X-Gm-Message-State: ALoCoQnlyhh+xdq27S3z0jn4DAdyUe+e0IL5hBpWCiQkmKruFmDxQy2uU5wKrz1Nlwjt9f9AorWC X-Received: by 10.66.141.12 with SMTP id rk12mr39677717pab.97.1432051393368; Tue, 19 May 2015 09:03:13 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id k3sm13522764pde.18.2015.05.19.09.03.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 May 2015 09:03:13 -0700 (PDT) Date: Tue, 19 May 2015 09:03:16 -0700 From: Stephen Hemminger To: Tetsuya Mukawa Message-ID: <20150519090316.662c4704@urahara> In-Reply-To: <1432016513-8456-1-git-send-email-mukawa@igel.co.jp> References: <1432016513-8456-1-git-send-email-mukawa@igel.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [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 16:03:14 -0000 On Tue, 19 May 2015 15:21:45 +0900 Tetsuya Mukawa wrote: > 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 > Acked-by: Stephen Hemminger