[dpdk-dev] [PATCH] vfio: make container open error non-fatal

2014-06-17 Thread Richardson, Bruce
> -Original Message- > From: Richardson, Bruce > Sent: Monday, June 16, 2014 3:29 PM > To: dev at dpdk.org > Cc: Richardson, Bruce > Subject: [PATCH] vfio: make container open error non-fatal > > When setting up an app to run using the uio driver, errors caused by > VFIO failures should

[dpdk-dev] [PATCH] vfio: make container open error non-fatal

2014-06-17 Thread Richardson, Bruce
> -Original Message- > From: Burakov, Anatoly > Sent: Tuesday, June 17, 2014 1:52 AM > To: Richardson, Bruce; dev at dpdk.org > Subject: RE: [PATCH] vfio: make container open error non-fatal > > Hi Bruce, > > > The below patch is the quickest fix I found to make my applications work > >

[dpdk-dev] [PATCH] vfio: make container open error non-fatal

2014-06-17 Thread Burakov, Anatoly
Hi Bruce, > Hi Bruce, > > > The below patch is the quickest fix I found to make my applications > > work again, but I'm not sure it's the best solution. Can anyone else > > offer other suggestions to improve this? > > Are you running things as root? If not, I suggest to try and use the setup.sh

[dpdk-dev] [PATCH] vfio: make container open error non-fatal

2014-06-17 Thread Burakov, Anatoly
Hi Bruce, > The below patch is the quickest fix I found to make my applications work > again, but I'm not sure it's the best solution. Can anyone else offer other > suggestions to improve this? Are you running things as root? If not, I suggest to try and use the setup.sh script to correct permis

[dpdk-dev] [PATCH] vfio: make container open error non-fatal

2014-06-17 Thread Neil Horman
On Mon, Jun 16, 2014 at 10:30:54PM +, Richardson, Bruce wrote: > The below patch is the quickest fix I found to make my applications work > again, but I'm not sure it's the best solution. Can anyone else offer other > suggestions to improve this? > > > -Original Message- > > From: Ri

[dpdk-dev] [PATCH] vfio: make container open error non-fatal

2014-06-16 Thread Bruce Richardson
When setting up an app to run using the uio driver, errors caused by VFIO failures should not abruptly cause the app to fail. Example: on a board with 8 ports bound to igb_uio module, and no VFIO configuration, a testpmd run currently fails with: EAL: cannot open VFIO container! EAL: :04:

[dpdk-dev] [PATCH] vfio: make container open error non-fatal

2014-06-16 Thread Richardson, Bruce
The below patch is the quickest fix I found to make my applications work again, but I'm not sure it's the best solution. Can anyone else offer other suggestions to improve this? > -Original Message- > From: Richardson, Bruce > Sent: Monday, June 16, 2014 3:29 PM > To: dev at dpdk.org > C