On Wed, Feb 12, 2025 at 02:40:45PM +0100, Andrew Lunn wrote: > Isn't this even generic for any sort of SR-IOV? Wouldn't you need the > same sort of operation for a GPU, or anything with a pool of resources > which can be mapped to VFs? We've been calling this device profiling in the vfio discussions, generally yes the general idea of profiling is common, but the actual detail of the profile is very device specific. In vfio land we think fwctl is a good choice here. We already have things like libvirt and Kubernetes that have generic userspace plugin mechanims and an existing mature ecosystem for device profiling built up around that. All sophisticated devices have their own plugins because they have unique capabilities. It seems to be working well in that world.