From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergio Gonzalez Monroy Subject: Re: [PATCH v4] eal: Support running as unprivileged user Date: Fri, 17 Feb 2017 14:59:50 +0000 Message-ID: <15e0a643-f3e3-bc81-925d-cfdfe17b59ed@intel.com> References: <20170131174054.15324-1-benjamin.walker@intel.com> <20170131174453.15796-1-benjamin.walker@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id AB05B47CD for ; Fri, 17 Feb 2017 15:59:52 +0100 (CET) In-Reply-To: <20170131174453.15796-1-benjamin.walker@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 31/01/2017 17:44, Ben Walker wrote: > For Linux kernel 4.0 and newer, the ability to obtain > physical page frame numbers for unprivileged users from > /proc/self/pagemap was removed. Instead, when an IOMMU > is present, simply choose our own DMA addresses instead. > > Signed-off-by: Ben Walker > --- > lib/librte_eal/common/eal_private.h | 12 +++++ > lib/librte_eal/linuxapp/eal/eal_memory.c | 75 +++++++++++++++++++++++--------- > lib/librte_eal/linuxapp/eal/eal_pci.c | 6 ++- > 3 files changed, 71 insertions(+), 22 deletions(-) Acked-by: Sergio Gonzalez Monroy PS: Please keep a summary of changes made in each version on future patch sets (after the triple dash --- )