Re: [vpp-dev] found some issue in pci vfio

2019-01-03 Thread Damjan Marion via Lists.Fd.Io
lt;> > <>From: Damjan Marion [mailto:dmar...@me.com] > Sent: Sunday, December 30, 2018 7:10 PM > To: Yu, Ping > Cc: vpp-dev@lists.fd.io > Subject: Re: [vpp-dev] found some issue in pci vfio > > > Fact that you can open vfio container doesn't actually mean that you

Re: [vpp-dev] found some issue in pci vfio

2019-01-01 Thread Yu, Ping
om] Sent: Sunday, December 30, 2018 7:10 PM To: Yu, Ping Cc: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] found some issue in pci vfio Fact that you can open vfio container doesn't actually mean that you can use vfio-pci module on specific PCI device. vfio-pci module can be used in 2 cases: - w

Re: [vpp-dev] found some issue in pci vfio

2018-12-30 Thread Damjan Marion via Lists.Fd.Io
Fact that you can open vfio container doesn't actually mean that you can use vfio-pci module on specific PCI device. vfio-pci module can be used in 2 cases: - when /sys/bus/pci/devices//iommu_group exists - when /sys/module/vfio/parameters/enable_unsafe_noiommu_mode is set to Y (introduced

Re: [vpp-dev] found some issue in pci vfio

2018-12-28 Thread Yu, Ping
I submitted a patch to fix it. https://gerrit.fd.io/r/16640 Ping From: Yu, Ping Sent: Saturday, December 29, 2018 10:43 AM To: vpp-dev@lists.fd.io Cc: Yu, Ping Subject: found some issue in pci vfio Hello, all Recently I met some issue in vfio, and below is some root cause: Before running

[vpp-dev] found some issue in pci vfio

2018-12-28 Thread Yu, Ping
Hello, all Recently I met some issue in vfio, and below is some root cause: Before running vpp, I will use "dpdk-devbind.py" to bind the NIC to vfio-pci, and then use "uio-driver auto" configure, and it once worked well, but it has problem recently, so I took a look at this to resolve the