Re: [dpdk-dev] [PATCH] vfio: fix device hotplug when several devices per group

2018-04-12 Thread Thomas Monjalon
10/04/2018 12:23, Anatoly Burakov: > We only need to perform DMA mapping for first device in first group. > At the time of mapping, we haven't yet added the device into the group, > so the count is expected to be zero. > > Fixes: 810bfa64c673 ("vfio: fix index for tracking devices in a group") > F

[dpdk-dev] [PATCH] vfio: fix device hotplug when several devices per group

2018-04-10 Thread Anatoly Burakov
We only need to perform DMA mapping for first device in first group. At the time of mapping, we haven't yet added the device into the group, so the count is expected to be zero. Fixes: 810bfa64c673 ("vfio: fix index for tracking devices in a group") Fixes: a9c349e3a100 ("vfio: fix device unplug wh