The PF driver must support the configuration parameters listed in the following table. These parameters may be exported to the Sparc OVM Manager. Configuration is complete only when all the parameters are configured.
|
Standards–related parameters
Resource and device–specific parameters
Class–specific parameters
The PCI configuration information file, /etc/pci.conf enables the system to save PCI configurations such as the number of VFs of a particular PF. The pci.conf file provides the following:
- To persist the PCI configuration so that VFs can be created automatically upon booting of the system.
- Since the configuration file is part of the boot_archive, VFs can be used during the booting of the system.
See Appendix E, pci.conf File for more information.
Sparc: The parameters can be set through the ldm command. See the ldm (1M) man page for details.
x86: The class–specific parameters can be specified by the pci.conf file. The following example shows the parameters set in a pci.conf file.
[System_Configuration] [[path=/pci@0,0/pci8086,3a40@1c/pci108e,4848@0,1]] num-vf=2 [Device_Configuration] [[path=/pci@0,0/pci8086,3a40@1c/pci108e,4848@0,1]] VF[0] = { primary-mac-addr = 0xaabbccddeeff alt-mac-addrs = 0x102233445556, 0x102233445557 vlan-id = 20, 30 } VF[1] = { primary-mac-addr = 0xaabbccddeef1 alt-mac-addrs = 0x102233445568 vlan-id = 20, 30, 40, 50 }
The Sparc OVM Manager is responsible for the SR-IOV configuration on all Sparc OVM platforms. The Sparc OVM Manager is responsible for the following operations:
Obtain a list of PFs that have SR-IOV capable drivers
Obtain the device specific parameters supported by the drivers
Validate a specific device configuration
Update the Machine Descriptor (MD) file with all valid configuration details along with the assignment and removal of VFs
The following figure shows a high-level view of the Sparc OVM configuration.
Figure 21-2 High-Level View of Sparc OVM Configuration
At the time of Oracle Solaris 11 release, no configuration tool is available to configure SR-IOV on bare metal platforms, including x86.