Re: [dpdk-dev] [PATCH] igb_uio: issue FLR during open and release of device file

2017-07-07 Thread Ferruh Yigit
On 7/7/2017 11:03 AM, Shijith Thotton wrote: > On Thu, Jul 06, 2017 at 08:27:17PM +0300, Gregory Etelson wrote: >> I could not reproduce server crash with >> http://dpdk.org/dev/patchwork/patch/25267/ [1] >> However, pci_try_reset_function() API used in that patch is not defined in >> RedHat-6.x

Re: [dpdk-dev] [PATCH] igb_uio: issue FLR during open and release of device file

2017-07-07 Thread Shijith Thotton
On Thu, Jul 06, 2017 at 08:27:17PM +0300, Gregory Etelson wrote: > I could not reproduce server crash with > http://dpdk.org/dev/patchwork/patch/25267/ [1] > However, pci_try_reset_function() API used in that patch is not defined in > RedHat-6.x Linux-2.6.32 kernels > Therefore I work with http:

Re: [dpdk-dev] [PATCH] igb_uio: issue FLR during open and release of device file

2017-07-06 Thread Gregory Etelson
I could not reproduce server crash with http://dpdk.org/dev/patchwork/patch/25267/ [1] However, pci_try_reset_function() API used in that patch is not defined in RedHat-6.x Linux-2.6.32 kernels Therefore I work with http://dpdk.org/dev/patchwork/patch/25061/ patch [2]. [2] was successfully test

Re: [dpdk-dev] [PATCH] igb_uio: issue FLR during open and release of device file

2017-07-06 Thread Ferruh Yigit
On 6/12/2017 10:38 AM, Shijith Thotton wrote: > Set UIO info device file operations open and release. Call pci reset > function inside open and release to clear device state at start and end. > Copied this behaviour from vfio_pci kernel module code. With this patch, > it is not mandatory to issue F

Re: [dpdk-dev] [PATCH] igb_uio: issue FLR during open and release of device file

2017-07-05 Thread Thomas Monjalon
Any comment, please? 12/06/2017 11:38, Shijith Thotton: > Set UIO info device file operations open and release. Call pci reset > function inside open and release to clear device state at start and end. > Copied this behaviour from vfio_pci kernel module code. With this patch, > it is not mandatory

[dpdk-dev] [PATCH] igb_uio: issue FLR during open and release of device file

2017-06-12 Thread Shijith Thotton
Set UIO info device file operations open and release. Call pci reset function inside open and release to clear device state at start and end. Copied this behaviour from vfio_pci kernel module code. With this patch, it is not mandatory to issue FLR by PMD's during init and close. Bus master enable