From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2 0/2] fix and improve uio_pci_generic support Date: Tue, 24 Feb 2015 10:53:57 +0000 Message-ID: <20150224105357.GD8416@bricha3-MOBL3> References: <1424703444-30761-1-git-send-email-bruce.richardson@intel.com> <1424710955-10896-1-git-send-email-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev-VfR2kkLFssw@public.gmane.org To: david.marchand-pdR9zngts4EAvxtiuMwx3w@public.gmane.org Return-path: Content-Disposition: inline In-Reply-To: <1424710955-10896-1-git-send-email-bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Mon, Feb 23, 2015 at 05:02:33PM +0000, Bruce Richardson wrote: > 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 > Hi David, Given your previous suggestions on the uio_pic_generic code, I'd appreciate any feedback you could provide on this patchset. Regards, /Bruce