
Issue 11
© Solarflare Communications 2014
312
Solarflare Server Adapter
User Guide
Install the sfc network drivers using the source rpm
sfc-3.<version>.src.rpm
. Full instructions
for using a source rpm can be found in the
. Reload the sfc driver to start
using the new version.
Step 2: Update adapter firmware and enable SR-IOV
Download the Solarflare Linux Utilities SF-104451-LS from
support.solarflare.com:
1
Install the Solarflare Linux Utilities in dom0 using the rpm provided in this package:
# rpm -Uvh sfutils-<version>.rpm
2
Identify the current firmware version on the adapter:
# sfupdate
3
Upgrade the adapter firmware with sfupdate:
# sfupdate --write
4
Use sfboot to enable SR-IOV and enable 16 VFs:
# sfboot sriov=enabled vf-count=16
A reboot is required for the changes to take effect. After the reboot the sfc driver will initialize the
VFs, and they will appear in lspci:
# lspci -d 1924:
06:00.0 Ethernet controller: Solarflare Communications SFL9021
[Solarstorm]
06:00.1 Ethernet controller: Solarflare Communications SFL9021
[Solarstorm]
06:00.2 Ethernet controller: Solarflare Communications Device 1813
06:00.4 Ethernet controller: Solarflare Communications Device 1813
06:00.6 Ethernet controller: Solarflare Communications Device 1813
06:01.0 Ethernet controller: Solarflare Communications Device 1813
06:01.2 Ethernet controller: Solarflare Communications Device 1813
06:01.4 Ethernet controller: Solarflare Communications Device 1813
06:01.6 Ethernet controller: Solarflare Communications Device 1813
06:02.0 Ethernet controller: Solarflare Communications Device 1813
identifies sfboot SR-IOV configurable options.
NOTE:
Ensure that VFs are NOT in use when you unload the sfc driver. This is particularly relevant if
you are upgrading from a previous alpha version of the Solarflare KVM SR-IOV package.
Table 81: sfboot - SR-IOV options
Option
Default Value
Description
sriov=<enabled | disabled>
disabled
enable/disable hardware SR-IOV
vf-count=<n>
127
number of virtual functions advertised
vf-msix-limit=<n>
1
number of MSI-X interrupts per VF