Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2019-01-21 Thread Thomas Monjalon
21/01/2019 14:39, Burakov, Anatoly: > On 21-Jan-19 1:18 PM, Hu, Xuekun wrote: > > > >> You might also want to look here: https://bugs.dpdk.org/show_bug.cgi?id=76 > > > >> There are apparently issues with some kernel versions that will manifest > >> themselves as problems with using VF devices wi

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2019-01-21 Thread Burakov, Anatoly
On 21-Jan-19 1:18 PM, Hu, Xuekun wrote: You might also want to look here: https://bugs.dpdk.org/show_bug.cgi?id=76 There are apparently issues with some kernel versions that will manifest themselves as problems with using VF devices with IOMMU in a VM. Thanks, Anatoly. By updating host ke

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2019-01-21 Thread Hu, Xuekun
> You might also want to look here: https://bugs.dpdk.org/show_bug.cgi?id=76 > There are apparently issues with some kernel versions that will manifest > themselves as problems with using VF devices with IOMMU in a VM. Thanks, Anatoly. By updating host kernel to 4.18, the issue is gone. 😊

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2019-01-15 Thread Hu, Xuekun
l Message- > From: dev On Behalf Of Burakov, Anatoly > Sent: Friday, February 16, 2018 5:42 PM > To: Ravi Kerur > Cc: dev@dpdk.org; Ananyev, Konstantin ; > Lu, Wenzhuo > Subject: Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue > > On 15-Feb-18 8:53 PM, Ra

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2019-01-15 Thread Burakov, Anatoly
g; Ananyev, Konstantin ; Lu, Wenzhuo Subject: Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue On 15-Feb-18 8:53 PM, Ravi Kerur wrote: On Thu, Feb 15, 2018 at 10:27 AM, Ravi Kerur mailto:rke...@gmail.com>> wrote: On Thu, Feb 15, 2018 at 2:28 AM, Burakov, Anatoly mai

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2019-01-14 Thread Hu, Xuekun
ubject: Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue On 15-Feb-18 8:53 PM, Ravi Kerur wrote: > > > On Thu, Feb 15, 2018 at 10:27 AM, Ravi Kerur <mailto:rke...@gmail.com>> wrote: > > > > On Thu, Feb 15, 2018 at 2:28 AM, Burakov, Anatoly >

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-16 Thread Burakov, Anatoly
On 15-Feb-18 8:53 PM, Ravi Kerur wrote: On Thu, Feb 15, 2018 at 10:27 AM, Ravi Kerur > wrote: On Thu, Feb 15, 2018 at 2:28 AM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 14-Feb-18 8:00 PM, Ravi Kerur wrote: Earlier I

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-15 Thread Ravi Kerur
On Thu, Feb 15, 2018 at 10:27 AM, Ravi Kerur wrote: > > > On Thu, Feb 15, 2018 at 2:28 AM, Burakov, Anatoly < > anatoly.bura...@intel.com> wrote: > >> On 14-Feb-18 8:00 PM, Ravi Kerur wrote: >> >>> >>> Earlier I was focusing only on DMAR errors and I might have said 'it >>> worked' when I didn't

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-15 Thread Ravi Kerur
On Thu, Feb 15, 2018 at 2:28 AM, Burakov, Anatoly wrote: > On 14-Feb-18 8:00 PM, Ravi Kerur wrote: > >> >> Earlier I was focusing only on DMAR errors and I might have said 'it >> worked' when I didn't notice them on host when dpdk was started on guest. >> When trying to send packets out of that i

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-15 Thread Burakov, Anatoly
On 14-Feb-18 8:00 PM, Ravi Kerur wrote: Earlier I was focusing only on DMAR errors and I might have said 'it worked' when I didn't notice them on host when dpdk was started on guest. When trying to send packets out of that interface from guest I did see DMAR errors. I am attaching information

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-14 Thread Ravi Kerur
On Tue, Feb 13, 2018 at 6:31 AM, Burakov, Anatoly wrote: > 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 V

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-13 Thread Burakov, Anatoly
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 t

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-12 Thread Ravi Kerur
On Mon, Feb 12, 2018 at 2:13 AM, Burakov, Anatoly wrote: > On 10-Feb-18 5:53 PM, Ravi Kerur wrote: > > >> >> On Sat, Feb 10, 2018 at 2:58 AM, Burakov, Anatoly < >> anatoly.bura...@intel.com > wrote: >> >> On 29-Jan-18 10:35 PM, Ravi Kerur wrote: >> >>

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-12 Thread Burakov, Anatoly
On 10-Feb-18 5:53 PM, Ravi Kerur wrote: On Sat, Feb 10, 2018 at 2:58 AM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 29-Jan-18 10:35 PM, Ravi Kerur wrote: Hi Burakov, When using vfio-pci on host both VF and PF interfaces works fine with dpdk i.

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-10 Thread Ravi Kerur
On Sat, Feb 10, 2018 at 2:58 AM, Burakov, Anatoly wrote: > On 29-Jan-18 10:35 PM, Ravi Kerur wrote: > >> Hi Burakov, >> >> When using vfio-pci on host both VF and PF interfaces works fine with >> dpdk i.e. I don't see DMAR fault messages anymore. However, when I attach a >> VF interface to a VM a

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-10 Thread Burakov, Anatoly
On 29-Jan-18 10:35 PM, Ravi Kerur wrote: Hi Burakov, When using vfio-pci on host both VF and PF interfaces works fine with dpdk i.e. I don't see DMAR fault messages anymore. However, when I attach a VF interface to a VM and start DPDK with vfio-pci inside VM I still see DMAR fault messages on

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-10 Thread Burakov, Anatoly
On 09-Feb-18 5:41 PM, Ravi Kerur wrote: On Thu, Feb 8, 2018 at 3:20 AM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 06-Feb-18 5:55 PM, Ravi Kerur wrote: Hi Anatoly, I am actually confused with the state of vIOMMU + DPDK. Can you please help me

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-09 Thread Ravi Kerur
On Thu, Feb 8, 2018 at 3:20 AM, Burakov, Anatoly wrote: > On 06-Feb-18 5:55 PM, Ravi Kerur wrote: > >> >> Hi Anatoly, >> >> I am actually confused with the state of vIOMMU + DPDK. Can you please >> help me clarify? >> >> I tested following DPDK versions >> >> (1) DPDK 17.11, exhibits the issue (I

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-08 Thread Burakov, Anatoly
On 06-Feb-18 5:55 PM, Ravi Kerur wrote: Hi Anatoly, I am actually confused with the state of vIOMMU + DPDK. Can you please help me clarify? I tested following DPDK versions (1) DPDK 17.11, exhibits the issue (IOMMU width as reported by RedHat and solution is to prevent using the patch) (2)

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-06 Thread Ravi Kerur
On Mon, Feb 5, 2018 at 2:01 AM, Burakov, Anatoly wrote: > On 02-Feb-18 8:51 PM, Ravi Kerur wrote: > >> >> >> On Fri, Feb 2, 2018 at 12:21 PM, Ravi Kerur > rke...@gmail.com>> wrote: >> >> >> >> On Fri, Feb 2, 2018 at 2:28 AM, Burakov, Anatoly >> mailto:anatoly.bura...@intel.com>> wrote: >>

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-05 Thread Burakov, Anatoly
On 02-Feb-18 8:51 PM, Ravi Kerur wrote: On Fri, Feb 2, 2018 at 12:21 PM, Ravi Kerur > wrote: On Fri, Feb 2, 2018 at 2:28 AM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 01-Feb-18 7:26 PM, Ravi Kerur wrote: On Thu, Fe

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-02 Thread Ravi Kerur
On Fri, Feb 2, 2018 at 12:21 PM, Ravi Kerur wrote: > > > On Fri, Feb 2, 2018 at 2:28 AM, Burakov, Anatoly < > anatoly.bura...@intel.com> wrote: > >> On 01-Feb-18 7:26 PM, Ravi Kerur wrote: >> >>> >>> >>> On Thu, Feb 1, 2018 at 2:10 AM, Burakov, Anatoly < >>> anatoly.bura...@intel.com

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-02 Thread Ravi Kerur
On Fri, Feb 2, 2018 at 2:28 AM, Burakov, Anatoly wrote: > On 01-Feb-18 7:26 PM, Ravi Kerur wrote: > >> >> >> On Thu, Feb 1, 2018 at 2:10 AM, Burakov, Anatoly < >> anatoly.bura...@intel.com > wrote: >> >> On 31-Jan-18 9:51 PM, Ravi Kerur wrote: >> >> >>

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-02 Thread Burakov, Anatoly
On 01-Feb-18 7:26 PM, Ravi Kerur wrote: On Thu, Feb 1, 2018 at 2:10 AM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 31-Jan-18 9:51 PM, Ravi Kerur wrote: Hi Anatoly, Thanks. I am following wiki link below which uses vIOMMU with DPDK as a use-ca

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-01 Thread Ravi Kerur
On Thu, Feb 1, 2018 at 2:10 AM, Burakov, Anatoly wrote: > On 31-Jan-18 9:51 PM, Ravi Kerur wrote: > >> >> Hi Anatoly, >> >> Thanks. I am following wiki link below which uses vIOMMU with DPDK as a >> use-case and instantiate VM as specified with Q35 chipset in Qemu. >> >> https://wiki.qemu.org/Fea

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-01 Thread Burakov, Anatoly
On 31-Jan-18 9:51 PM, Ravi Kerur wrote: Hi Anatoly, Thanks. I am following wiki link below which uses vIOMMU with DPDK as a use-case and instantiate VM as specified with Q35 chipset in Qemu. https://wiki.qemu.org/Features/VT-d Qemu-version is 2.11 Host kernel 4.9 Guest kernel 4.4 I can onl

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-01-31 Thread Ravi Kerur
On Wed, Jan 31, 2018 at 1:59 AM, Burakov, Anatoly wrote: > On 29-Jan-18 10:35 PM, Ravi Kerur wrote: > >> Hi Burakov, >> >> When using vfio-pci on host both VF and PF interfaces works fine with >> dpdk i.e. I don't see DMAR fault messages anymore. However, when I attach a >> VF interface to a VM a

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-01-31 Thread Burakov, Anatoly
On 29-Jan-18 10:35 PM, Ravi Kerur wrote: Hi Burakov, When using vfio-pci on host both VF and PF interfaces works fine with dpdk i.e. I don't see DMAR fault messages anymore. However, when I attach a VF interface to a VM and start DPDK with vfio-pci inside VM I still see DMAR fault messages on

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-01-29 Thread Ravi Kerur
Hi Burakov, When using vfio-pci on host both VF and PF interfaces works fine with dpdk i.e. I don't see DMAR fault messages anymore. However, when I attach a VF interface to a VM and start DPDK with vfio-pci inside VM I still see DMAR fault messages on host. Both host and VM are booted with 'intel

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-01-25 Thread Burakov, Anatoly
On 24-Jan-18 7:13 PM, Ravi Kerur wrote: Hi Burakov, Thank you. I will try with vfio-pci driver. I am assuming it will work for both PF and VF interfaces since I am using both in my setup? Thanks. Yes, it should work for both PF and VF devices. On Wed, Jan 24, 2018 at 2:31 AM, Burakov, Anat

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-01-24 Thread Ravi Kerur
Hi Burakov, Thank you. I will try with vfio-pci driver. I am assuming it will work for both PF and VF interfaces since I am using both in my setup? Thanks. On Wed, Jan 24, 2018 at 2:31 AM, Burakov, Anatoly wrote: > On 23-Jan-18 5:25 PM, Ravi Kerur wrote: > >> Hi, >> >> I am running into an issu

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-01-24 Thread Burakov, Anatoly
On 23-Jan-18 5:25 PM, Ravi Kerur wrote: Hi, I am running into an issue when DPDK is started with iommu on via GRUB command. Problem is not seen with regular kernel driver, error messages show when DPDK is started and happens for both PF and VF interfaces. I am using DPDK 17.05 so the patch prop

[dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-01-23 Thread Ravi Kerur
Hi, I am running into an issue when DPDK is started with iommu on via GRUB command. Problem is not seen with regular kernel driver, error messages show when DPDK is started and happens for both PF and VF interfaces. I am using DPDK 17.05 so the patch proposed in the following link is available ht