From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
To: Ravi Kerur <rkerur@gmail.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue
Date: Tue, 13 Feb 2018 14:31:43 +0000 [thread overview]
Message-ID: <4a54fe58-02d8-07ef-b706-f747383f4985@intel.com> (raw)
In-Reply-To: <CAFb4SLB5P5KZ3QxKy6i00yQpSJRQqOE1cwAq0ejnj1raHyWc2Q@mail.gmail.com>
On 12-Feb-18 10:00 PM, Ravi Kerur wrote:
>
> Let me just give you what has been tested and working/nonworking
> scenarios. Some of your questions might get answered as well.
> Test bed is very simple with 2 VF's created under IXGBE PF on
> host with one VF interface added to ovs-bridge on host and
> another VF interface given to guest. Test connectivity between
> VF's via ping.
>
> Host and guest -- Kernel 4.9
> Host -- Qemu 2.11.50 (tried both released 2.11 and tip of the
> git (2.11.50))
> DPDK -- 17.05.1 on host and guest
> Host and guest -- booted with GRUB intel_iommu=on (which enables
> IOMMU). Have tried with "iommu=on and intel_iommu=on" as well,
> but iommu=on is not needed when intel_iommu=on is set.
>
> Test-scenario-1: Host -- ixgbe_vf driver, Guest ixgbe_vf driver
> ping works
> Test-scenario-2: Host -- DPDK vfio-pci driver, Guest ixgbe_vf
> driver ping works
> Test-scenario-3: Host -- DPDK vfio-pci driver, Guest DPDK
> vfio-pci driver, DMAR errors seen on host, ping doesn't work
>
>
> OK, that makes it clearer, thanks. Does the third scenario work in
> other DPDK versions?
>
>
> No. Tried 16.11 same issue on guest and works fine on host.
>
>
So now we've moved from "this worked on 16.11" to "this never worked".
It would be good to see output of rte_dump_physmem_layout() on both host
and guest, and check which address triggers the DMAR error (i.e. if the
physical address is present in mappings for either DPDK process).
--
Thanks,
Anatoly
next prev parent reply other threads:[~2018-02-13 14:31 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-23 17:25 Ravi Kerur
2018-01-24 10:31 ` Burakov, Anatoly
2018-01-24 19:13 ` Ravi Kerur
2018-01-25 10:49 ` Burakov, Anatoly
2018-01-29 22:35 ` Ravi Kerur
2018-01-31 9:59 ` Burakov, Anatoly
2018-01-31 21:51 ` Ravi Kerur
2018-02-01 10:10 ` Burakov, Anatoly
2018-02-01 19:26 ` Ravi Kerur
2018-02-02 10:28 ` Burakov, Anatoly
2018-02-02 20:21 ` Ravi Kerur
2018-02-02 20:51 ` Ravi Kerur
2018-02-05 10:01 ` Burakov, Anatoly
2018-02-06 17:55 ` Ravi Kerur
2018-02-08 11:20 ` Burakov, Anatoly
2018-02-09 17:41 ` Ravi Kerur
2018-02-10 10:11 ` Burakov, Anatoly
2018-02-10 10:58 ` Burakov, Anatoly
2018-02-10 17:53 ` Ravi Kerur
2018-02-12 10:13 ` Burakov, Anatoly
2018-02-12 22:00 ` Ravi Kerur
2018-02-13 14:31 ` Burakov, Anatoly [this message]
2018-02-14 20:00 ` Ravi Kerur
2018-02-15 10:28 ` Burakov, Anatoly
2018-02-15 18:27 ` Ravi Kerur
2018-02-15 20:53 ` Ravi Kerur
2018-02-16 9:41 ` Burakov, Anatoly
2019-01-15 7:07 ` Hu, Xuekun
2019-01-15 11:22 ` Burakov, Anatoly
2019-01-15 13:07 ` Hu, Xuekun
2019-01-21 13:18 ` Hu, Xuekun
2019-01-21 13:39 ` Burakov, Anatoly
2019-01-21 14:44 ` 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=4a54fe58-02d8-07ef-b706-f747383f4985@intel.com \
--to=anatoly.burakov@intel.com \
--cc=dev@dpdk.org \
--cc=rkerur@gmail.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).