[RFC 04/29] nvkm/vgpu: set the VF partition count when NVIDIA vGPU is enabled
Jason Gunthorpe
jgg at nvidia.com
Thu Sep 26 22:51:00 UTC 2024
On Sun, Sep 22, 2024 at 05:49:26AM -0700, Zhi Wang wrote:
> GSP firmware needs to know the number of max-supported vGPUs when
> initialization.
>
> The field of VF partition count in the GSP WPR2 is required to be set
> according to the number of max-supported vGPUs.
>
> Set the VF partition count in the GSP WPR2 when NVKM is loading the GSP
> firmware and initializes the GSP WPR2, if vGPU is enabled.
How/why is this different from the SRIOV num_vfs concept?
The way the SRIOV flow should work is you boot the PF, startup the
device, then userspace sets num_vfs and you get the SRIOV VFs.
Why would you want less/more partitions than VFs? Is there some way to
consume more than one partition per VF?
At least based on the commit message this seems like a very poor FW
interface.
Jason
More information about the Nouveau
mailing list