From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=pU354i1rFloevVz2F9+nf460pTnTjb492TMizGnNHno=; b=eoQXty9eIYUsIyJ06T6WZlY6HIXpHRF0audZVBmNcrSgzuGU0ybZ5QNwMaGYw3P+sO sJQr8t6qX97mzon3sg4Wm/+SH4YDqXlZI+byHtexaKjP+iqv7UoxXIXz9+SKcIOXjCRj 3X6G8d9RU2RWdjRjy7IHN03IZY1iGy+bXC6Y8Euhr6aYPYNYg49wOSYQOC+/N2zp8lOz ust7mGsyCWNzIOKR26d1kOlFQDj1ceAJHw4Afyw5o5AP/TvC7mTTip42K8jxs4frwW34 ybrjJqoaB5hjbWHZJ2h+3TeJIBk/riJkXfLWmIBf4QEWFN6Ke+5aoOXtYmQr3Yr8w5nv IU/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=pU354i1rFloevVz2F9+nf460pTnTjb492TMizGnNHno=; b=YNPzUsYGZ/E4R9PrRqZwnXUygoMTCuN0M3hDfrrYVj5uoGJ66AojEIDOebqc4riy9i WN5DEJe2ymfcnriYjoDhrGfwAVz45Trnny5ogUXm5Qtpay6JE7gTuWE7kTn5iwuMTvBx cpfVnPvhvF98fMeULaYvUY4CuaQG6cKzN2v47cDCAMi9g2GRVF2FPf7e39jm92rNPF1y SCjh8tywetEWY3+IBGcJDdVU2lUZwV14NEgpASQZIZSf7Arwhi9DsKCadd9bL8OmnkAU gSuiQIjtmvvkCJUHyvkVWS/uE6cYkmSvROOEabS9B3QQHmkqXzxOw/tVUnrdPaW+nAqI /t8A== X-Gm-Message-State: AMke39nkwmr7bPNg6SBcZMyd1HlbX2pDKvLbunse56b7lwU49zwNeaj19mOXY9aTPemuebym X-Received: by 10.28.129.83 with SMTP id c80mr27399303wmd.82.1489075818127; Thu, 09 Mar 2017 08:10:18 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id b10sm27831315wmi.34.2017.03.09.08.10.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Mar 2017 08:10:17 -0800 (PST) From: Thomas Monjalon To: Ben Walker Cc: dev@dpdk.org, Sergio Gonzalez Monroy Date: Thu, 09 Mar 2017 17:10:16 +0100 Message-ID: <1991479.AuSKJSTKof@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <15e0a643-f3e3-bc81-925d-cfdfe17b59ed@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4] eal: Support running as unprivileged user X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2017 16:10:18 -0000 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