[dpdk-dev] Userspace testing

Burakov, Anatoly anatoly.burakov at intel.com
Mon Aug 10 10:53:05 CEST 2020


On 03-Aug-20 3:31 PM, Owen Hilyard wrote:
> 
> 
> On Fri, Jul 31, 2020 at 5:12 AM Burakov, Anatoly 
> <anatoly.burakov at intel.com <mailto:anatoly.burakov at intel.com>> 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


More information about the dev mailing list