From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id E2B36AD97 for ; Tue, 24 Feb 2015 13:20:28 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 24 Feb 2015 04:20:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,638,1418112000"; d="scan'208";a="682576687" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 24 Feb 2015 04:20:05 -0800 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t1OCK55S031009; Tue, 24 Feb 2015 12:20:05 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id t1OCK5hI030858; Tue, 24 Feb 2015 12:20:05 GMT Received: (from bricha3@localhost) by sivswdev01.ir.intel.com with id t1OCK4V7030854; Tue, 24 Feb 2015 12:20:04 GMT From: Bruce Richardson To: dev@dpdk.org Date: Tue, 24 Feb 2015 12:20:02 +0000 Message-Id: <1424780404-30824-1-git-send-email-bruce.richardson@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1424703444-30761-1-git-send-email-bruce.richardson@intel.com> References: <1424703444-30761-1-git-send-email-bruce.richardson@intel.com> Subject: [dpdk-dev] [PATCH v3 0/2] fix and improve uio_pci_generic support 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, 24 Feb 2015 12:20:29 -0000 V3 changes: Rebase to take account of commit 90a1633b "eal/linux: allow to map BARs with MSI-X tables" This patch does some cleanup of the uio mapping code to a) fix issue with mmap of PCI bars reported by Tetsuya and confirmed by others. b) eliminate redundant code and reduce scans of /sys Bruce Richardson (2): eal: mmap uio resources using resourceX files eal: populate uio_maps from pci mem_resources array lib/librte_eal/common/include/rte_pci.h | 2 +- lib/librte_eal/linuxapp/eal/eal_pci_init.h | 1 + lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 173 +++++++++++------------------ lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 1 + 4 files changed, 66 insertions(+), 111 deletions(-) -- 2.1.0