[PATCH v3] vfio: combine container_create and group_bind

BillXiang xiangwencheng at dayudpu.com
Wed Jul 10 09:09:08 CEST 2024


> From: "David Marchand"<david.marchand at redhat.com>
> Date:  Tue, Jul 9, 2024, 16:49
> Subject:  Re: [PATCH v3] vfio: combine container_create and group_bind
> To: "BillXiang"<xiangwencheng at dayudpu.com>
> Cc: "Tyler Retzlaff"<roretzla at linux.microsoft.com>, "Anatoly Burakov"<anatoly.burakov at intel.com>, <dev at dpdk.org>
> On Thu, Jul 4, 2024 at 9:48 AM BillXiang <xiangwencheng at dayudpu.com> wrote:
> >
> > From: BillXiang <xiangwencheng at dayudpu.com>
> >
> > For multi-devices in one group we can only create and bind to one
> > container. With this new function, device driver does not need to
> > save the binding info additionally between different devices.
> >
> > Signed-off-by: BillXiang <xiangwencheng at dayudpu.com>
> 
> Thanks for the patch (don't forget to register to the dev@ mailing
> list when submitting patches).
> 
> Could you please describe which driver benefits from it?
> 
> 
> -- 
> David Marchand

Thanks for your replay. I have registered now.

This patch addresses the issue for PCIe devices that have multiple PFs within 
the same IOMMU group, a situation arising from the absence of ACS support.
If we want to use these PFs in vDPA, we have to know if the group has been 
bound to a container by other PF upon each probe.


More information about the dev mailing list