From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C6809A00C4 for ; Fri, 1 Jul 2022 17:52:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BFB5140A7B; Fri, 1 Jul 2022 17:52:58 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 9193140A7B for ; Fri, 1 Jul 2022 17:52:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1656690776; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zA4bZ9rVC/WU8B6qkGOYBlaYPjf+LJ3g6ZgQzmJ5kxg=; b=Y8V9eaMfTEVyAmGyDbUp+b1yZUe8OLAsjLCssMs+QuCqi2i889z14FXNsCdTGC4vJ7l/k8 N+IiVwqkIIcGS2mbILgnmax8fGpOq/OaBPWZgQRMGRnE03H4Ev6JCNhBlItYreUMd1R3AU nV7emnwqF9GgFtd4UwgDoezeXzYVaUI= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-443-J_XuFKGpOr2Wzdqc4WNU9Q-1; Fri, 01 Jul 2022 11:52:54 -0400 X-MC-Unique: J_XuFKGpOr2Wzdqc4WNU9Q-1 Received: by mail-wm1-f69.google.com with SMTP id az40-20020a05600c602800b003a048edf007so1180091wmb.5 for ; Fri, 01 Jul 2022 08:52:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:cc:references:from:subject:in-reply-to :content-transfer-encoding; bh=zA4bZ9rVC/WU8B6qkGOYBlaYPjf+LJ3g6ZgQzmJ5kxg=; b=AovUhvUDqzkO9FxUnOknSn2B3mtkBH+sTO1ELM6+YEp0n71+CwwW3u+Mp8OJT5AfDG karqVh+YZ5FdZrPF6hDym23yLbY1CNdZFNQgfoPXG37PBlW5Nl4oIb00U0c9yZySpUDq KPFzpLrIQsnCwO2/YPzExKW57SJHW2jXbV6XE7qHZzTukFiHF4VPYZQL/NOT4MjFvRKr curhqB7UV/BR+OBQFY0NA3FhKOxidvP2P125zyJsiBq5Mx2rCT3ZjPaVHErGWKrahfuP n3/BI3M4R1mu3gOKg6At0trNPE9SctV7KfQepxZ2/N+dDUZy5ZyWeRzLKMiW8BW1K2qe 3sxA== X-Gm-Message-State: AJIora+lEJrdXux37zSPHmHKeLEfAoJ7KKn4hOiE1y/rL/m8tx6VXvSw FP0TNHGMRJ4slhlDeaWcm5yugjdcLn/XBiPc+4CWtOq/sXY4r4IJwPwVs9ooB2g6YZVwiqNIbLv QradFZ1g= X-Received: by 2002:a5d:6c62:0:b0:21d:2204:1338 with SMTP id r2-20020a5d6c62000000b0021d22041338mr14176326wrz.533.1656690773716; Fri, 01 Jul 2022 08:52:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tmQS0mzBxXHT7YyFWxuUlskkZ15FqwCihc0zuI8Nst9wRKUgcqtUcOdhX9qn2ksihQdVsP2w== X-Received: by 2002:a5d:6c62:0:b0:21d:2204:1338 with SMTP id r2-20020a5d6c62000000b0021d22041338mr14176308wrz.533.1656690773564; Fri, 01 Jul 2022 08:52:53 -0700 (PDT) Received: from [192.168.0.36] ([78.17.181.1]) by smtp.gmail.com with ESMTPSA id z6-20020a05600c0a0600b0039c747a1e8fsm7137035wmp.7.2022.07.01.08.52.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Jul 2022 08:52:53 -0700 (PDT) Message-ID: <48e77428-ea30-5445-6b19-fa21d441d4af@redhat.com> Date: Fri, 1 Jul 2022 16:52:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 To: Dmitry Kozlyuk , stable@dpdk.org Cc: Bruce Richardson , Luca Boccassi References: <20220628202400.713098-1-dkozlyuk@nvidia.com> From: Kevin Traynor Subject: Re: [PATCH 21.11] doc: add more instructions for running as non-root In-Reply-To: <20220628202400.713098-1-dkozlyuk@nvidia.com> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ktraynor@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 28/06/2022 21:24, Dmitry Kozlyuk wrote: > [ upstream commit 979bb5d493fbbce77eaaf2b4a01ee98f93f76dd9 ] > > The guide to run DPDK applications as non-root in Linux > did not provide specific instructions to configure the required access > and did not explain why each bit is needed. > The latter is important because running as non-root > is one of the ways to tighten security and grant minimal permissions. > > Signed-off-by: Dmitry Kozlyuk > Acked-by: Bruce Richardson > --- > Upstream commit references things missing from 21.11: > new dpdk-hugepages.py options and memory mapping documentation. > The script call replaced with a direct mount command. > Documentation reference is dropped as non-essential. > > doc/guides/linux_gsg/enable_func.rst | 85 +++++++++++++++++++--------- > 1 file changed, 58 insertions(+), 27 deletions(-) Thanks Dmitry. Dropped original backport and applied this patch on branch 21.11. Kevin.