From: Thomas Monjalon <thomas@monjalon.net>
To: Jianfeng Tan <jianfeng.tan@intel.com>
Cc: dev@dpdk.org, sergio.gonzalez.monroy@intel.com,
benjamin.walker@intel.com
Subject: Re: [dpdk-dev] [PATCH] eal/linux: fix phys addresses not avaialbe for Xen dom0
Date: Wed, 10 May 2017 14:58:21 +0200 [thread overview]
Message-ID: <2130104.z3ngCaQyR3@xps> (raw)
In-Reply-To: <1494000613-3709-1-git-send-email-jianfeng.tan@intel.com>
05/05/2017 18:10, Jianfeng Tan:
> When physical NICs are binded to igb_uio/uio-pci-generic, they cannot
> be used in DPDK app in Xen dom0.
>
> Due to (1) a restriction that phys addresses should be availabe is added
> by commit cdc242f260e7 ("eal/linux: support running as unprivileged user"),
> (2) and previous implementation of the test to check if phys addresses are
> available (using a variable on the stack) just works for non-Xen
> environment. Actually, for Xen dom0, the physical addresses are always
> available if the memory is initialized successfully..
>
> To fix it, we add an precheck to bypass the physical address availability
> test.
>
> Fixes: cdc242f260e7 ("eal/linux: support running as unprivileged user")
>
> Signed-off-by: Jianfeng Tan <jianfeng.tan@intel.com>
Applied, thanks
Is Xen dom0 working?
Why is there no answer to my questions (in another thread)?
prev parent reply other threads:[~2017-05-10 12:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-05 16:10 Jianfeng Tan
2017-05-10 12:58 ` Thomas Monjalon [this message]
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=2130104.z3ngCaQyR3@xps \
--to=thomas@monjalon.net \
--cc=benjamin.walker@intel.com \
--cc=dev@dpdk.org \
--cc=jianfeng.tan@intel.com \
--cc=sergio.gonzalez.monroy@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).