From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by dpdk.org (Postfix) with ESMTP id D261C9A97 for ; Tue, 17 Mar 2015 10:31:05 +0100 (CET) Received: by pdbcz9 with SMTP id cz9so4574355pdb.3 for ; Tue, 17 Mar 2015 02:31:05 -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=+8fOFGoNRVBTCUdFIq1QPLBVQazQYCbNSeawkFw49B8=; b=g3R9Zljdce0YWM99Z3tXT3MjwM46jkyK0Ig9iIeDEObUwd2bYrCs6AACvXsFeb64dL p+Zm/7Xc5dYs4yNg9i2thDbOI2R6Puk0lmBDTAQrxhOTX6RGhX7e/IZAivjeshaUYTTL IXjHqdIajjrEWrk4qPrWu0ErE59OaF36rpymr7RxzmmFcMg7zUNOuMjGighO5bKqm0I7 KVflBSoHosbEDuDi/CLDtUjyhJYyEb5QLPAl/qWpdGvOi8bVAsJjSEepVaMQVjS8bPNr pEf7UuzzgW4Gh3wzxFxWCrtLeFwe127ArFRPD53DDq4Gp2EuXkHavAUGB6oPoUdd7xCk XHkw== X-Gm-Message-State: ALoCoQl8sXbdLOg8S+RNEECkcpBo4QOr/PSAGkvL0sbJbA5ucdwjscYfOLFFdGjP9Xu/OXEMdOSW X-Received: by 10.70.130.69 with SMTP id oc5mr39327033pdb.89.1426584665044; Tue, 17 Mar 2015 02:31:05 -0700 (PDT) Received: from localhost.localdomain (napt.igel.co.jp. [219.106.231.132]) by mx.google.com with ESMTPSA id ce1sm21354243pdb.34.2015.03.17.02.31.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 17 Mar 2015 02:31:04 -0700 (PDT) From: Tetsuya Mukawa To: dev@dpdk.org Date: Tue, 17 Mar 2015 18:30:39 +0900 Message-Id: <1426584645-28828-1-git-send-email-mukawa@igel.co.jp> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1426155474-1596-4-git-send-email-mukawa@igel.co.jp> References: <1426155474-1596-4-git-send-email-mukawa@igel.co.jp> Subject: [dpdk-dev] [PATCH 0/6] Clean up pci uio implementations 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, 17 Mar 2015 09:31:06 -0000 This patch set cleans up pci uio implementation. These clean up are for consolidating pci uio implementation of linuxapp and bsdapp, and moving consolidated functions in eal common. Because of above, this patch set tries to implement linuxapp and bsdapp almost same. Actual consolidations will be done later patch set. Changes: - This patch set is derived from below. "[PATCH v2] eal: Port Hotplug support for BSD" - Set cfg_fd as -1, when cfg_fd is closed. (Thanks to Iremonger, Bernard) - Remove needless cording style fixings. - Fix cording style of if-else condition. (Thanks to Richardson, Bruce) Tetsuya Mukawa (6): eal: Fix cording style of eal_pci.c and eal_pci_uio.c eal: Close file descriptor of uio configuration eal: Fix memory leaks and needless incrementation of pci uio implementation 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() lib/librte_eal/bsdapp/eal/eal_pci.c | 160 +++++++++++++++++------------- lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 67 +++++++------ 2 files changed, 130 insertions(+), 97 deletions(-) -- 1.9.1