Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 975bb8b4 authored by KarimAllah Ahmed's avatar KarimAllah Ahmed Committed by Bjorn Helgaas
Browse files

PCI/IOV: Use VF0 cached config space size for other VFs



Cache the config space size from VF0 and use it for all other VFs instead
of reading it from the config space of each VF.  We assume that it will be
the same across all associated VFs.

This is an optimization when enabling SR-IOV on a device with many VFs.

Signed-off-by: default avatarKarimAllah Ahmed <karahmed@amazon.de>
[bhelgaas: use CONFIG_PCI_IOV (not CONFIG_PCI_ATS)]
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 7876320f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment