Re: [dpdk-dev] [PATCH] vfio: use right index when tracking devices in a vfio group

2017-05-09 Thread Alejandro Lucero
Hi Anatoly, On Tue, May 9, 2017 at 4:18 PM, Burakov, Anatoly wrote: > Hi Alejandro, > > > From: Alejandro Lucero [mailto:alejandro.luc...@netronome.com] > > Sent: Monday, May 8, 2017 6:44 PM > > To: dev@dpdk.org > > Cc: Burakov, Anatoly ; > > jerin.ja...@caviumnetworks.com; tho...@monjalon.net >

Re: [dpdk-dev] [PATCH] vfio: use right index when tracking devices in a vfio group

2017-05-09 Thread Burakov, Anatoly
Hi Alejandro, > From: Alejandro Lucero [mailto:alejandro.luc...@netronome.com] > Sent: Monday, May 8, 2017 6:44 PM > To: dev@dpdk.org > Cc: Burakov, Anatoly ; > jerin.ja...@caviumnetworks.com; tho...@monjalon.net > Subject: [PATCH] vfio: use right index when tracking devices in a vfio group > > P

Re: [dpdk-dev] [PATCH] vfio: use right index when tracking devices in a vfio group

2017-05-08 Thread Jerin Jacob
-Original Message- > Date: Mon, 8 May 2017 18:44:18 +0100 > From: Alejandro Lucero > To: dev@dpdk.org > CC: anatoly.bura...@intel.com, jerin.ja...@caviumnetworks.com, > tho...@monjalon.net > Subject: [PATCH] vfio: use right index when tracking devices in a vfio group > X-Mailer: git-send-

[dpdk-dev] [PATCH] vfio: use right index when tracking devices in a vfio group

2017-05-08 Thread Alejandro Lucero
Previous fix for properly handling devices from the same VFIO group introduced another bug where the file descriptor of a kernel vfio group is used as the index for tracking number of devices of a vfio group struct handled by dpdk vfio code. Instead of the file descriptor itself, the vfio group obj