On x86 platforms, the /etc/pci.conf file can be used during development to specify and configure fibre channel virtual functions. All VF configuration is contained in a section called Device_Configuration. In this section, a new entry is added for each VF and the properties port-wwn, node-wwn, and bw_percent are set. This file is added to /boot/solaris/filelist.ramdisk and the system rebooted in order for the changes to take effect.
[Device_Configuration]
[[path=/pci@0,0/pci8086,340c@5/pci10df,e20e@0]]
VF[0] = {
port_wwn=0x2000123456789018
node_wwn=0x1000123456789018
bandwidth = 80
}
VF[1] = {
port_wwn=0x2000123456789019
node_wwn=0x1000123456789019
bandwidth = 20
}
[[path=/pci@0,0/pci8086,340c@5/pci10df,e20e@0,1]]
VF[0] = {
port_wwn=0x2000123456789028
node_wwn=0x1000123456789028
bandwidth = 20
}
VF[1] = {
port_wwn=0x2000123456789029
node_wwn=0x1000123456789029
bandwidth = 80
}