From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id B3E839ABE for ; Tue, 24 Feb 2015 14:30:51 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 24 Feb 2015 05:26:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,638,1418112000"; d="scan'208";a="690000604" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 24 Feb 2015 05:30:49 -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 t1ODUlx0021017; Tue, 24 Feb 2015 13:30:47 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id t1ODUlb0019405; Tue, 24 Feb 2015 13:30:47 GMT Received: (from bricha3@localhost) by sivswdev01.ir.intel.com with id t1ODUlaY019401; Tue, 24 Feb 2015 13:30:47 GMT From: Bruce Richardson To: dev@dpdk.org Date: Tue, 24 Feb 2015 13:30:44 +0000 Message-Id: <1424784647-19367-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 v4 0/3] 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 13:30:52 -0000 V4 changes: Split second patch into two for more readable history 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 (3): eal: mmap uio resources using resourceX files eal: populate uio_maps from pci mem_resources array eal: remove unnecessary check for primary instance 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