]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: pci-uclass: Add support for Single-Root I/O Virtualization
authorSuneel Garapati <sgarapati@marvell.com>
Sat, 19 Oct 2019 23:07:20 +0000 (16:07 -0700)
committerStefan Roese <sr@denx.de>
Tue, 25 Aug 2020 06:01:16 +0000 (08:01 +0200)
commitb8852dcfcb0facb37839a8cf9b01cb549153fba8
tree777f664b0fbe7a1afce8c24e91a1c7fdac0bb952
parent636cc1773a461de83f69f69cd3f22f9bcad2f589
pci: pci-uclass: Add support for Single-Root I/O Virtualization

SR-IOV - Single Root I/O Virtualization
PF - Physical Function VF - Virtual Function

If SR-IOV capability is present, use it to initialize Virtual Function
PCI device instances. pci_sriov_init function will read SR-IOV
registers to create VF devices under the PF PCI device and also bind
driver if available. This function needs to be invoked from Physical
function device driver which expects VF device support, creating
minimal impact on existing framework.

Signed-off-by: Suneel Garapati <sgarapati@marvell.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/Kconfig
drivers/pci/pci-uclass.c
include/pci.h