Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-20 Thread George Prekas
Nice to see that the community is finally interested in this bug. For the record, we have fixed this bug in our project (IX). Check out our kernel module here: https://github.com/ix-project/pcidma I will be interested to know when and how DPDK will resolve this situation so that we can actual

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-19 Thread Tan, Jianfeng
On 1/19/2017 11:59 PM, Ferruh Yigit wrote: On 1/13/2017 5:33 AM, Tan, Jianfeng wrote: -Original Message- From: Yigit, Ferruh Sent: Friday, January 13, 2017 10:05 AM To: Tan, Jianfeng; Alejandro Lucero Cc: Gregory Etelson; dev; us...@dpdk.org Subject: Re: [dpdk-users] [dpdk-dev] IGB_U

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-19 Thread Alejandro Lucero
On Thu, Jan 19, 2017 at 4:36 PM, Ferruh Yigit wrote: > On 1/13/2017 11:10 AM, Alejandro Lucero wrote: > > I completely misread the patch, and I wrongly thought that code was > > linked to module removal, but I see this is not about that, but about > > releasing the /dev/uio file calling release f

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-19 Thread Ferruh Yigit
On 1/13/2017 11:10 AM, Alejandro Lucero wrote: > I completely misread the patch, and I wrongly thought that code was > linked to module removal, but I see this is not about that, but about > releasing the /dev/uio file calling release function, what is done by > the kernel when the process exits. >

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-19 Thread Ferruh Yigit
On 1/13/2017 5:33 AM, Tan, Jianfeng wrote: > > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Friday, January 13, 2017 10:05 AM >> To: Tan, Jianfeng; Alejandro Lucero >> Cc: Gregory Etelson; dev; us...@dpdk.org >> Subject: Re: [dpdk-users] [dpdk-dev] IGB_UIO: PCI Resources Manageme

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-13 Thread Alejandro Lucero
I completely misread the patch, and I wrongly thought that code was linked to module removal, but I see this is not about that, but about releasing the /dev/uio file calling release function, what is done by the kernel when the process exits. So yes, the patch avoids the problem I talked about. H

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-12 Thread Tan, Jianfeng
> -Original Message- > From: Yigit, Ferruh > Sent: Friday, January 13, 2017 10:05 AM > To: Tan, Jianfeng; Alejandro Lucero > Cc: Gregory Etelson; dev; us...@dpdk.org > Subject: Re: [dpdk-users] [dpdk-dev] IGB_UIO: PCI Resources Management > > On 1/13/2017 1:51 AM, Tan, Jianfeng wrote: >

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-12 Thread Ferruh Yigit
On 1/13/2017 1:51 AM, Tan, Jianfeng wrote: > > >> -Original Message- >> From: users [mailto:users-boun...@dpdk.org] On Behalf Of Ferruh Yigit >> Sent: Thursday, January 12, 2017 8:22 PM >> To: Alejandro Lucero >> Cc: Gregory Etelson; dev; us...@dpdk.org >> Subject: Re: [dpdk-users] [dpdk-

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-12 Thread Tan, Jianfeng
> -Original Message- > From: users [mailto:users-boun...@dpdk.org] On Behalf Of Ferruh Yigit > Sent: Thursday, January 12, 2017 8:22 PM > To: Alejandro Lucero > Cc: Gregory Etelson; dev; us...@dpdk.org > Subject: Re: [dpdk-users] [dpdk-dev] IGB_UIO: PCI Resources Management > > On 1/12/2

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-12 Thread Alejandro Lucero
On Thu, Jan 12, 2017 at 12:22 PM, Ferruh Yigit wrote: > On 1/12/2017 12:12 PM, Alejandro Lucero wrote: > > > > > > On Thu, Jan 12, 2017 at 11:55 AM, Ferruh Yigit > > wrote: > > > > On 12/9/2016 8:54 AM, Gregory Etelson wrote: > > > Hello, > > > > >

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-12 Thread Ferruh Yigit
On 1/12/2017 12:12 PM, Alejandro Lucero wrote: > > > On Thu, Jan 12, 2017 at 11:55 AM, Ferruh Yigit > wrote: > > On 12/9/2016 8:54 AM, Gregory Etelson wrote: > > Hello, > > > > IGB_UIO driver does not close port PCI activities after DPDK process >

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-12 Thread Alejandro Lucero
On Thu, Jan 12, 2017 at 11:55 AM, Ferruh Yigit wrote: > On 12/9/2016 8:54 AM, Gregory Etelson wrote: > > Hello, > > > > IGB_UIO driver does not close port PCI activities after DPDK process > exits. > > DPDK API provides rte_eth_dev_close() to manage port PCI, > > but it can be skipped if process

Re: [dpdk-dev] [dpdk-users] IGB_UIO: PCI Resources Management

2017-01-12 Thread Ferruh Yigit
On 12/9/2016 8:54 AM, Gregory Etelson wrote: > Hello, > > IGB_UIO driver does not close port PCI activities after DPDK process exits. > DPDK API provides rte_eth_dev_close() to manage port PCI, > but it can be skipped if process receives SIGKILL signal I guess I understand the problem. > The pat