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 AAB579AF9 for ; Mon, 23 Feb 2015 18:02:39 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 23 Feb 2015 08:58:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,631,1418112000"; d="scan'208";a="670279138" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga001.fm.intel.com with ESMTP; 23 Feb 2015 09:02:35 -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 t1NH2ZGw026913; Mon, 23 Feb 2015 17:02:35 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id t1NH2Zcj010937; Mon, 23 Feb 2015 17:02:35 GMT Received: (from bricha3@localhost) by sivswdev01.ir.intel.com with id t1NH2Zwq010930; Mon, 23 Feb 2015 17:02:35 GMT From: Bruce Richardson To: dev@dpdk.org Date: Mon, 23 Feb 2015 17:02:33 +0000 Message-Id: <1424710955-10896-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 v2 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: Mon, 23 Feb 2015 17:02:40 -0000 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