From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4] eal: Support running as unprivileged user Date: Thu, 09 Mar 2017 17:10:16 +0100 Message-ID: <1991479.AuSKJSTKof@xps13> References: <20170131174054.15324-1-benjamin.walker@intel.com> <20170131174453.15796-1-benjamin.walker@intel.com> <15e0a643-f3e3-bc81-925d-cfdfe17b59ed@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Sergio Gonzalez Monroy To: Ben Walker Return-path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 510E02B8C for ; Thu, 9 Mar 2017 17:10:18 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id t189so59803035wmt.1 for ; Thu, 09 Mar 2017 08:10:18 -0800 (PST) In-Reply-To: <15e0a643-f3e3-bc81-925d-cfdfe17b59ed@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" 2017-02-17 14:59, Sergio Gonzalez Monroy: > 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 Applied, thanks