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

Sergio Gonzalez Monroy sergio.gonzalez.monroy at intel.com
Fri Feb 17 15:59:50 CET 2017


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>

PS: Please keep a summary of changes made in each version on future 
patch sets (after the triple dash --- )


More information about the dev mailing list