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

2017-05-10 Thread Thomas Monjalon
10/05/2017 11:11, Burakov, Anatoly: > From: Alejandro Lucero [mailto:alejandro.luc...@netronome.com] > > > > 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

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

2017-05-10 Thread Burakov, Anatoly
> From: Alejandro Lucero [mailto:alejandro.luc...@netronome.com] > Sent: Wednesday, May 10, 2017 9:54 AM > To: dev@dpdk.org > Cc: Burakov, Anatoly ; > jerin.ja...@caviumnetworks.com; tho...@monjalon.net > Subject: [PATCH v2] vfio: use right index when tracking devices in a vfio > group > > Previou

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

2017-05-10 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