From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Feb 2017 06:59:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,172,1484035200"; d="scan'208";a="65929612" Received: from smonroyx-mobl.ger.corp.intel.com (HELO [10.237.221.13]) ([10.237.221.13]) by orsmga005.jf.intel.com with ESMTP; 17 Feb 2017 06:59:51 -0800 To: dev@dpdk.org References: <20170131174054.15324-1-benjamin.walker@intel.com> <20170131174453.15796-1-benjamin.walker@intel.com> From: Sergio Gonzalez Monroy Message-ID: <15e0a643-f3e3-bc81-925d-cfdfe17b59ed@intel.com> Date: Fri, 17 Feb 2017 14:59:50 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20170131174453.15796-1-benjamin.walker@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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: Fri, 17 Feb 2017 14:59:53 -0000 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 --- )