Writing Device Drivers for Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Configuring SR-IOV Fibre Channel Devices on x86 Platforms

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.


Note - The format for specifying SR-IOV devices in /etc/pci.conf is classified as uncommitted and is intended for development purposes only. Do not use it in production environments.
  [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
  }