From: David Marchand <david.marchand@redhat.com>
To: "Burakov, Anatoly" <anatoly.burakov@intel.com>
Cc: dev <dev@dpdk.org>,
Jerin Jacob Kollanukkaran <jerinj@marvell.com>,
Thomas Monjalon <thomas@monjalon.net>
Subject: Re: [dpdk-dev] [PATCH] eal: pick IOVA as PA if IOMMU is not available
Date: Thu, 25 Jul 2019 11:35:25 +0200 [thread overview]
Message-ID: <CAJFAV8zhJK++=TJr_AxZ1Nd5-tyv8yoevserSfKoLKydMVC4xg@mail.gmail.com> (raw)
In-Reply-To: <61fe76fd-beb8-6074-32e1-16b47170a6ef@intel.com>
On Thu, Jul 25, 2019 at 11:31 AM Burakov, Anatoly
<anatoly.burakov@intel.com> wrote:
>
> On 25-Jul-19 9:05 AM, David Marchand wrote:
> > On Wed, Jul 24, 2019 at 6:46 PM Anatoly Burakov
> > <anatoly.burakov@intel.com> wrote:
> >>
> >> When IOMMU is not available, /sys/kernel/iommu_groups will not be
> >> populated. This is happening since at least 3.6 when VFIO support
> >> was added. If the directory is empty, EAL should not pick IOVA as
> >> VA as the default IOVA mode.
> >>
> >> We also assume that VFIO equals IOMMU, so if VFIO support is not
> >> compiled, we always assume IOMMU support is not available.
> >
> > Not sure I agree with this statement.
> > What about unknown (from eal pov) kernel drivers?
>
> Are there any cases where we can use IOVA as VA mode without having VFIO
> compiled?
If a pmd relies on a kernel driver we don't know in EAL.
This is not the case afaik, but I'd prefer we don't mix vfio and iommu.
--
David Marchand
next prev parent reply other threads:[~2019-07-25 9:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-24 16:46 Anatoly Burakov
2019-07-25 8:05 ` David Marchand
2019-07-25 9:31 ` Burakov, Anatoly
2019-07-25 9:35 ` David Marchand [this message]
2019-07-25 9:38 ` Burakov, Anatoly
2019-07-25 9:40 ` Burakov, Anatoly
2019-07-25 18:58 ` Thomas Monjalon
2019-07-25 9:52 ` [dpdk-dev] [PATCH v2] " Anatoly Burakov
2019-07-25 9:56 ` [dpdk-dev] [EXT] " Jerin Jacob Kollanukkaran
2019-07-25 11:05 ` [dpdk-dev] [PATCH v3] " Anatoly Burakov
2019-07-26 5:08 ` Stojaczyk, Dariusz
2019-07-26 15:37 ` [dpdk-dev] [PATCH v4] " Anatoly Burakov
2019-07-29 9:31 ` David Marchand
2019-07-29 11:18 ` Burakov, Anatoly
2019-07-29 13:52 ` [dpdk-dev] [PATCH v5] " Anatoly Burakov
2019-07-30 7:21 ` David Marchand
2019-07-30 8:10 ` 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='CAJFAV8zhJK++=TJr_AxZ1Nd5-tyv8yoevserSfKoLKydMVC4xg@mail.gmail.com' \
--to=david.marchand@redhat.com \
--cc=anatoly.burakov@intel.com \
--cc=dev@dpdk.org \
--cc=jerinj@marvell.com \
--cc=thomas@monjalon.net \
/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).