Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-13 Thread Stephen Hemminger
On Wed, 8 Nov 2017 07:00:23 -0500 Chas Williams <3ch...@gmail.com> wrote: > On Tue, Nov 7, 2017 at 5:26 PM, Ferruh Yigit wrote: > On 11/7/2017 12:47 PM, Chas Williams wrote: > > I will confess I haven't looked into the issue too hard since I have a > > workaround.  My first guess is that there is

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-09 Thread Ferruh Yigit
On 11/8/2017 4:00 AM, Chas Williams wrote: > > > On Tue, Nov 7, 2017 at 5:26 PM, Ferruh Yigit > wrote: > > On 11/7/2017 12:47 PM, Chas Williams wrote: > > I will confess I haven't looked into the issue too hard since I have a > > workaround.  My first

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-08 Thread Chas Williams
On Tue, Nov 7, 2017 at 5:26 PM, Ferruh Yigit wrote: > On 11/7/2017 12:47 PM, Chas Williams wrote: > > I will confess I haven't looked into the issue too hard since I have a > > workaround. My first guess is that there is something going on with the > IOMMU > > and quiescing a PCI pass-through de

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-07 Thread Ferruh Yigit
On 11/7/2017 12:47 PM, Chas Williams wrote: > I will confess I haven't looked into the issue too hard since I have a > workaround.  My first guess is that there is something going on with the IOMMU > and quiescing a PCI pass-through device/function from the guest (since I don't > think the IOMMU is

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-07 Thread Chas Williams
I will confess I haven't looked into the issue too hard since I have a workaround. My first guess is that there is something going on with the IOMMU and quiescing a PCI pass-through device/function from the guest (since I don't think the IOMMU is "visible" to the guest) seems iffy. Most devices h

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-07 Thread Ferruh Yigit
On 11/7/2017 10:12 AM, Chas Williams wrote: > Environment: Dell PowerEdge R730, Intel Corporation 82599ES 10-Gigabit > SFI/SFP+ > Network Connection shared via PCI pass-through > Host: Debian 8 > Guest: Custom Debian 8 with DPDK application based on 17.11 > > When we shutdown the guest, the kerne

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-07 Thread Chas Williams
Regardless if the issue is actually in the host kernel, I cannot fix all the hypervisors so I must attempt to be well behaved as a guest. On Tue, Nov 7, 2017 at 8:13 AM, Stephen Hemminger < step...@networkplumber.org> wrote: > > > On Nov 7, 2017 20:50, "Chas Williams" <3ch...@gmail.com> wrote: >

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-07 Thread Chas Williams
Environment: Dell PowerEdge R730, Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection shared via PCI pass-through Host: Debian 8 Guest: Custom Debian 8 with DPDK application based on 17.11 When we shutdown the guest, the kernel panics with: [ 279.021818] Do you have a strange power

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-07 Thread Stephen Hemminger
On Nov 7, 2017 20:50, "Chas Williams" <3ch...@gmail.com> wrote: We still have an issue with this and PCI pass-through. If a guest is restarted while using PCI pass-through and igb_uio issues a pci_reset_function(), this causes the host to crash. On Mon, Nov 6, 2017 at 6:55 PM, Thomas Monjalon w

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-07 Thread Thomas Monjalon
07/11/2017 12:50, Chas Williams: > We still have an issue with this and PCI pass-through. If a guest is > restarted while using PCI pass-through and igb_uio issues a > pci_reset_function(), this causes the host to crash. Please, could you better explain the exact scenario and the cause of the cra

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-07 Thread Chas Williams
We still have an issue with this and PCI pass-through. If a guest is restarted while using PCI pass-through and igb_uio issues a pci_reset_function(), this causes the host to crash. On Mon, Nov 6, 2017 at 6:55 PM, Thomas Monjalon wrote: > 06/11/2017 19:48, Ferruh Yigit: > > Some devices are hav

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] igb_uio: prevent reset for a list of devices

2017-11-06 Thread Thomas Monjalon
06/11/2017 19:48, Ferruh Yigit: > Some devices are having problem on device reset that happens during DPDK > application exit [1]. > > Create a static list of devices and exclude them from device reset. > > [1] > http://dpdk.org/ml/archives/dev/2017-November/080927.html > > Fixes: b58eedfc7dd5 (