DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: john.mcnamara@intel.com
Cc: dev@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>
Subject: [dpdk-dev] [PATCH 1/3] doc: clarify documentation on running as non-root
Date: Fri,  4 Aug 2017 13:44:09 +0100	[thread overview]
Message-ID: <20170804124411.238646-2-bruce.richardson@intel.com> (raw)
In-Reply-To: <20170804124411.238646-1-bruce.richardson@intel.com>

Since modern kernels don't allow unprivileged processes to read the
pagemaps file, the instructions on running as non-root are out-of-date. Add
a note clarifying that they will only work with earlier kernel versions.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 doc/guides/linux_gsg/enable_func.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/guides/linux_gsg/enable_func.rst b/doc/guides/linux_gsg/enable_func.rst
index e6c806b0d..5ac0184a1 100644
--- a/doc/guides/linux_gsg/enable_func.rst
+++ b/doc/guides/linux_gsg/enable_func.rst
@@ -87,6 +87,14 @@ The application can then determine what action to take, if any, if the HPET is n
 Running DPDK Applications Without Root Privileges
 --------------------------------------------------------
 
+.. note::
+
+    The instructions below will allow running DPDK as non-root with older
+    Linux kernel versions. However, since version 4.0, the kernel does not allow
+    unprivileged processes to read the physical address information from
+    the pagemaps file, making it impossible for those processes to use HW
+    devices which require physical addresses
+
 Although applications using the DPDK use network ports and other hardware resources directly,
 with a number of small permission adjustments it is possible to run these applications as a user other than "root".
 To do so, the ownership, or permissions, on the following Linux file system objects should be adjusted to ensure that
-- 
2.13.3

  reply	other threads:[~2017-08-04 13:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-04 12:44 [dpdk-dev] [PATCH 0/3] small documentation updates Bruce Richardson
2017-08-04 12:44 ` Bruce Richardson [this message]
2017-08-04 13:39   ` [dpdk-dev] [PATCH 1/3] doc: clarify documentation on running as non-root Mcnamara, John
2017-08-04 12:44 ` [dpdk-dev] [PATCH 2/3] doc: remove unneeded TLB from title of FAQ question 2 Bruce Richardson
2017-08-04 13:40   ` Mcnamara, John
2017-08-04 13:41   ` Mcnamara, John
2017-08-04 12:44 ` [dpdk-dev] [PATCH 3/3] doc: update FAQ with new testpmd default burst size Bruce Richardson
2017-08-04 13:42   ` Mcnamara, John
2017-08-06 10:25     ` Thomas Monjalon
2017-08-06 10:25 ` [dpdk-dev] [PATCH 0/3] small documentation updates Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170804124411.238646-2-bruce.richardson@intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=john.mcnamara@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).