Re: [PATCH 3/5] vDPA: introduce vDPA bus
From: Jason Gunthorpe <hidden>
Date: 2020-01-21 14:16:45
Also in:
kvm, lkml, netdev
From: Jason Gunthorpe <hidden>
Date: 2020-01-21 14:16:45
Also in:
kvm, lkml, netdev
On Tue, Jan 21, 2020 at 09:15:14AM -0500, Michael S. Tsirkin wrote:
On Tue, Jan 21, 2020 at 02:12:05PM +0000, Jason Gunthorpe wrote:quoted
On Mon, Jan 20, 2020 at 04:56:06PM -0500, Michael S. Tsirkin wrote:quoted
quoted
For vfio? vfio is the only thing I am aware doing that, and this is not vfio..vfio is not doing anything. anyone can use a combination of unbind and driver_override to attach a driver to a device. It's not a great interface but it's there without any code, and it will stay there without maintainance overhead if we later add a nicer one.Well, it is not a great interface, and it is only really used in normal cases by vfio. I don't think it is a good idea to design new subsystems with that idea in mind, particularly since detatching the vdpa driver would not trigger destruction of the underlying dynamic resource (ie the SF). We need a way to trigger that destruction.. JasonYou wanted a netlink command for this, right?
It is my suggestion. Based on experiance here we started out with sysfs and it was OK, but slow. When we added container support the entire sysfs thing completely exploded and we had to replace it with netlink. Jason