From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EA065A04C1; Mon, 10 Aug 2020 10:53:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 91A5B2A5D; Mon, 10 Aug 2020 10:53:13 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id E1D31288C; Mon, 10 Aug 2020 10:53:11 +0200 (CEST) IronPort-SDR: fMuduC7QLmjXnwRrl0SR58MoWWeuZqq9dhLsfFsZ0LN5Awi1omho39tjFcnnoR//1+MKr0AFH5 nEoB1/dsUlNg== X-IronPort-AV: E=McAfee;i="6000,8403,9708"; a="154627372" X-IronPort-AV: E=Sophos;i="5.75,457,1589266800"; d="scan'208";a="154627372" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Aug 2020 01:53:07 -0700 IronPort-SDR: KNYzupQSDFnkEfBDqt2OJw7IjzjjfGZR7D0BeiL7UW7ioNCcEit1aKTRTZttTPN7iwPozW4+G9 jgSvUIUMy4gQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,457,1589266800"; d="scan'208";a="398164310" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.213.209.202]) ([10.213.209.202]) by fmsmga001.fm.intel.com with ESMTP; 10 Aug 2020 01:53:06 -0700 To: Owen Hilyard Cc: dts@dpdk.org, dev@dpdk.org, Lincoln Lavoie References: From: "Burakov, Anatoly" Message-ID: <1f3a3a2f-fa0d-2f89-a40d-429a1f1be69d@intel.com> Date: Mon, 10 Aug 2020 09:53:05 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] Userspace testing 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 03-Aug-20 3:31 PM, Owen Hilyard wrote: > > > On Fri, Jul 31, 2020 at 5:12 AM Burakov, Anatoly > > wrote: > > On 30-Jul-20 5:54 PM, Owen Hilyard wrote: > > Thanks for the advice. > > > > I was wondering about the state of the "Setup VFIO permissions" > option > > in the setup script. It seems to just modify the character device's > > permissions and then check their memory limit. Should this option > also > > handle the hugepages setup? > > I was under the (mis?)impression that the hugepage setup part of the > script did that? > > It doesn't appear to set them up so that non-root users can use them. > From what I can tell it only creates the pages, but doesn't change > permissions on them in any way. Right. Then, it probably should (or perhaps it should be added as another menu option, as probably not everyone would want to do a chmod/chown on hugepage mounts). -- Thanks, Anatoly