On Fri, Sep 22, 2023 at 07:23:28AM -0400, Michael S. Tsirkin wrote: > On Thu, Sep 21, 2023 at 07:55:26PM -0300, Jason Gunthorpe wrote: > Looking at it from user's POV, it is just super confusing that > card ABC would need to be used with VDPA to drive legacy while > card DEF needs to be used with VFIO. And both VFIO and VDPA > will happily bind, too. Oh man ... It is standard VFIO stuff. If you don't attach vfio then you get a normal kernel vfio-net driver. If you turn that into VDPA then you get that. If you attach VFIO to the PCI function then you get VFIO. There is nothing special here, we have good infrastructure to support doing this already. User gets to pick. I don't understand why you think the kernel side should deny this choice. Jason