DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Ben Walker <benjamin.walker@intel.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v4] eal: Support running as unprivileged user
Date: Fri, 17 Feb 2017 11:28:32 -0800	[thread overview]
Message-ID: <20170217112832.1099e809@plumbers-lap.home.lan> (raw)
In-Reply-To: <20170131174453.15796-1-benjamin.walker@intel.com>

On Tue, 31 Jan 2017 10:44:53 -0700
Ben Walker <benjamin.walker@intel.com> wrote:

> +	if (physaddr == RTE_BAD_PHYS_ADDR) {
>  		RTE_LOG(ERR, EAL,
> -			"Cannot open /proc/self/pagemap: %s. "
> -			"virt2phys address translation will not work\n",
> +			"Cannot obtain physical addresses: %s. "
> +			"Only vfio will function.\n",

Please don't split a single error message across multiple lines. It makes
it harder for user to find the source code lines with simple grep.
Better to just have one long line for format string, or better yet be less wordy.

Yes, the existing DPDK code has lots of these issues.

  parent reply	other threads:[~2017-02-17 19:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-03 22:30 [dpdk-dev] [PATCH] " Ben Walker
2017-01-03 22:56 ` [dpdk-dev] [PATCH v2] " Ben Walker
2017-01-18 17:05   ` Sergio Gonzalez Monroy
2017-01-31 17:40   ` [dpdk-dev] [PATCH v3] " Ben Walker
2017-01-31 17:44     ` [dpdk-dev] [PATCH v4] " Ben Walker
2017-02-17 14:59       ` Sergio Gonzalez Monroy
2017-03-09 16:10         ` Thomas Monjalon
2017-02-17 19:28       ` Stephen Hemminger [this message]
2017-03-09 16:11         ` 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=20170217112832.1099e809@plumbers-lap.home.lan \
    --to=stephen@networkplumber.org \
    --cc=benjamin.walker@intel.com \
    --cc=dev@dpdk.org \
    /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).