[dpdk-dev] [PATCH v4] eal: Support running as unprivileged user

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Mar 9 17:10:16 CET 2017


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 <benjamin.walker at intel.com>
> > ---
> >   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 <sergio.gonzalez.monroy at intel.com>

Applied, thanks


More information about the dev mailing list