Re: [PATCH v4 1/2] PCI/IOV: Use VF0 cached config registers for other VFs

2018-03-30 Thread Bjorn Helgaas
On Mon, Mar 19, 2018 at 09:06:00PM +0100, KarimAllah Ahmed wrote: > Cache some config data from VF0 and use it for all other VFs instead of > reading it from the config space of each VF. We assume these items are the > same across all associated VFs: > >Revision ID >Class Code >Subsys

[PATCH v4 1/2] PCI/IOV: Use VF0 cached config registers for other VFs

2018-03-19 Thread KarimAllah Ahmed
Cache some config data from VF0 and use it for all other VFs instead of reading it from the config space of each VF. We assume these items are the same across all associated VFs: Revision ID Class Code Subsystem Vendor ID Subsystem ID This is an optimization when enabling SR-IOV on a