On Thu, Mar 11, 2021 at 12:17:29PM -0600, Bjorn Helgaas wrote: > > In addition it still feels rather hacky to be modifying read-only PCIe > > configuration space on the fly via a backdoor provided by the PF. It > > almost feels like this should be some sort of quirk rather than a > > standard feature for an SR-IOV VF. > > I agree, I'm not 100% comfortable with modifying the read-only Table > Size register. Maybe there's another approach that would be better? > It *is* nice that the current approach doesn't require changes in the > VF driver. Right, that is the whole point here - if we wanted to change every driver we could do that in some other way. Changing the table size register is the only way to keep existing drivers working. Jason