Onload to achieve minimum latency and maximum throughput. 1.1 Virtual NIC Interface Solarflare’s VNIC architecture provides the key to efficient server I/O and is flexible enough to be applied to multiple server deployment scenarios. These deployment scenarios include: •...
Page 7
Advanced Features and Benefits Virtual NIC support The core of Solarflare technology. Protected VNIC interfaces can be instantiated for each running guest operating system or application, giving it a direct pipeline to the Ethernet network. This architecture provides the most efficient way to maximize network and CPU efficiency.
Page 8
Flexible deployment of 1024 channels between Virtual and Physical Functions. Support Alternate Routing ID (ARI). SR-IOV is not supported for Solarflare adapters on IBM System p servers. 10-gigabit Ethernet Supports the ability to design a cost effective, high performance 10 Gigabit Ethernet solution.
Solarflare Server Adapter User Guide 1.2 Product Specifications Solarflare Flareon™ Network Adapters Solarflare Flareon™ Ultra SFN7142Q Dual-Port 40GbE QSFP+ PCIe 3.0 Server I/O Adapter Part number SFN7142Q Controller silicon SFC9140 Power 13W typical PCI Express 8 lanes Gen 3 (8.0GT/s), 127 SR-IOV virtual functions per port...
Page 10
Solarflare Server Adapter User Guide Solarflare Flareon™ Ultra SFN7122F Dual-Port 10GbE PCIe 3.0 Server I/O Adapter Part number SFN7122F Controller silicon SFC9120 Power 5.9W typical PCI Express 8 lanes Gen 3 (8.0GT/s), 127 SR-IOV virtual functions per port Virtual NIC support...
Page 11
8 lanes Gen2 (5.0GT/s), 127 SR-IOV virtual functions per port Virtual NIC support 1024 vNIC interfaces per port Supports OpenOnload SR-IOV Network ports 2 x 10GBASE-T (10G/1G/100M) Solarflare SFN5122F Dual-Port 10G SFP+ Server Adapter Part number SFN5122F Controller silicon SFC9020 Power 4.9W typical PCI Express 8 lanes Gen2 (5.0GT/s), 127 SR-IOV virtual functions per port...
Page 13
Solarflare Server Adapter User Guide Solarflare SFN6322F Dual-Port 10GbE SFP+ Server Adapter Part number SFN6122F Controller silicon SFC9020 Power 5.9W typical PCI Express 8 lanes Gen2 (5.0GT/s), 127 SR-IOV virtual functions per port Virtual NIC support 1024 vNIC interfaces per port...
Page 15
Solarflare Server Adapter User Guide Solarflare Mezzanine Adapters Solarflare SFN5812H Dual-Port 10G Ethernet Mezzanine Adapter Part number SFN5812H Controller silicon SFC9020 Power 3.9W typical PCI Express 8 lanes Gen2 (5.0GT/s), 127 SR-IOV virtual functions per port Virtual NIC support 1024 vNIC interfaces per port...
Page 16
Solarflare Server Adapter User Guide SR-IOV Ports 2 x SFP+ (10G/1G) Regulatory Product Code S6930 Solarflare SFN6822F Dual-Port 10GbE SFP+ FlexibleLOM Onload Server Adapter Part number SFN6822F Controller silicon SFC9020 Power 5.9W typical PCI Express 8 lanes Gen2 (5.0GT/s), 127 SR-IOV virtual functions per port...
RHEL 6.4 on IBM System p servers. The Solarflare accelerated network middleware, OpenOnload and EnterpriseOnload, is supported on all Linux variants listed above, and is available for all Solarflare Onload network adapters. Solarflare are not aware of any issues preventing OpenOnload installation on other Linux variants such as Ubuntu, Gentoo, Fedora and Debian variants.
1.5 Open Source Licenses 1.4.1 Solarflare Boot Manager The Solarflare Boot Manager is installed in the adapter's flash memory. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation;...
Do not expose the Solarflare network adapter to rain or moisture. The Solarflare network adapter is a Class III SELV product intended only to be powered by a certified limited power source.
9210176-094 R72080250 When installed in a 10Gb ETHERNET NETWORK INTERFACE CARD FROM THE Solarflare SFN5000, SFN6000 or SFN7000 SERIES, the laser emission levels remain under Class I limits as specified in the FDA regulations for lasers, 21 CFR Part 1040.
- Solarflare SFN6822F Dual-Port 10GbE SFP+ FlexibleLOM Onload Server Adapter Solarflare network adapters can be installed on Intel/AMD x86 based 32 bit or 64 bit servers. The network adapter must be inserted into a PCIe x8 OR PCIe x 16 slot for maximum performance. Refer PCI Express Lane Configurations on page 226 for details.
User Guide 2.2 Fitting a Full Height Bracket (optional) Solarflare adapters are supplied with a low-profile bracket fitted to the adapter. A full height bracket has also been supplied for PCIe slots that require this type of bracket. To fit a full height bracket to the Solarflare adapter: From the back of the adapter, remove the screws securing the bracket.
After restarting the server, the host operating system may prompt you to install drivers for the new hardware. Click Cancel or abort the installation and refer to the relevant chapter in this manual for how to install the Solarflare adapter drivers for your operating system. Issue 11...
Solarflare Server Adapter User Guide 2.4 Attaching a Cable (RJ-45) Solarflare 10GBASE-T Server Adapters connect to the Ethernet network using a copper cable fitted with an RJ-45 connector (shown below). RJ-45 Cable Specifications Table 1 below lists the recommended cable specifications for various Ethernet port types.
Solarflare Server Adapter User Guide 2.5 Attaching a Cable (SFP+) Solarflare SFP+ Server Adapters can be connected to the network using either an SFP+ Direct Attach cable or a fiber optic cable. Attaching the SFP+ Direct Attach Cable: Turn the cable so that the connector retention tab and gold fingers are on the same side as the network adapter retention clip.
SFP+ cables that have been tested by Solarflare. Solarflare is not aware of any issues preventing the use of other brands of SFP+ cables (of up to 5m in length) with Solarflare network adapters. However, only cables in the table below have been fully verified and are therefore supported.
SFP+10G SR optical transceivers that have been tested by Solarflare. Solarflare is not aware of any issues preventing the use of other brands of 10G SR transceivers with Solarflare network adapters. However, only transceivers in the table below have been fully verified and are therefore supported.
SFP+10G LR optical transceivers that have been tested by Solarflare. Solarflare is not aware of any issues preventing the use of other brands of 10G LR transceivers with Solarflare network adapters. However, only transceivers in the table below have been fully verified and are therefore supported.
Page 33
Solarflare Server Adapter User Guide Supported QSFP+ 40G Active Optical Cables (AOC) The Solarflare Flareon Ultra SFN7142Q adapter has been tested with the following QSFP+ Active Optical Cables (AOC). Table 6: Supported QSFP+ Active Optical Cables Manufacturer Product Code Notes...
SFP 1000BASE-T transceivers that have been tested by Solarflare. Solarflare is not aware of any issues preventing the use of other brands of 1000BASE-T transceivers with the Solarflare network adapters. However, only transceivers in the table below have been fully verified and are therefore supported.
2.11 Supported 1G Optical Transceivers Table 10 is a list of supported 1G transceivers that have been tested by Solarflare. Solarflare is not aware of any issues preventing the use of other brands of 1G transceivers with Solarflare network adapters. However, only transceivers in the table below have been fully verified and are therefore supported.
SFP+ Breakout Cables on page 28. Breakout cables from other suppliers may have 4 physical cables. When connecting a third party breakout cable into the Solarflare 40G QSFP+ cage (in 10G mode), only cables 1 and 3 will be active.
Solarflare Server Adapter User Guide 2.14 LED States There are two LEDs on the Solarflare network adapter transceiver module. LED states are as follows: Table 13: LED States Adapter Type LED Description State QSFP+, SFP/SFP+ Link Green (solid) at all speeds...
The Solarflare SFN5812H Dual-Port and SFN5814H Quad-Port are 10G Ethernet Mezzanine Adapters for the IBM BladeCenter. Solarflare mezzanine adapters are supported on the IBM BladeCenter E, H and S chassis, HS22, HS22V and HX5 servers. The IBM BladeCenter blade supports a single Solarflare mezzanine adapter.
2.16 Solarflare Mezzanine Adapter SFN6832F-C61 The Solarflare SFN6832F-C61 is a Dual-Port SFP+ are 10GbE Mezzanine Adapters for the DELL PowerEdge C6100 series rack server. Each DELL PowerEdge node supports a single Solarflare mezzanine adapter.
Solarflare Server Adapter User Guide 2.17 Solarflare Mezzanine Adapter SFN6832F-C62 The Solarflare SFN6832F-C61 is a Dual-Port SFP+ are 10GbE Mezzanine Adapters for the DELL PowerEdge C6200 series rack server. Each DELL PowerEdge node supports a single Solarflare mezzanine adapter. The node should be extracted from the rack server in order to install the mezzanine adapter.
’bump-in-the-wire’ FPGA. For details of installation and configuring applications that run on the AOE refer to the Solarflare AOE User’s Guide (SF-108389-CD). For details on developing custom applications to run on the FPGA refer to the AOE Firmware Development Kit User Guide (SF-108390-CD).
Software Driver Support on page 12 for supported Linux Distributions. NOTE: SUSE Linux Enterprise Server 11 includes a version of the Solarflare network adapter Driver. This driver does not support the SFN512x family of adapters. To update the supplied driver, see...
NOTE: Red Hat Enterprise Linux versions 5.5 and 6.0 include a version of the Solarflare adapter driver. This driver does not support the SFN512x family of adapters. Red Hat Enterprise Linux 5.6 and 6.1 includes a version of the Solarflare network driver for the SFN512x family of adapters. To update the supplied driver, see Installing Solarflare Drivers and Utilities on Linux on page 43 3.2 Linux Platform Feature Set...
SR-IOV Virtualization for XenServer on page 324 • See SR-IOV Virtualization Using KVM on page 307 SR-IOV is not supported for Solarflare adapters on IBM System p servers. Standby and Power Solarflare adapters support Wake On LAN on Linux. These...
/usr/src/<dir>/RPMS/<arch>/ <dir> distribution specific. Possible folders include Red Hat, packages or extra. The RPM file will be named using the same convention as the Solarflare provided pre-built binary RPMs. The command: will list the locations of all Solarflare find /usr/src -name "*sfc*.rpm”...
• SUSE Linux Enterprise Server Distributions...Page 44 • Building the Source RPM...Page 42 Linux drivers for Solarflare are available in DKMS and source RPM packages. The source RPM can be used to build binary RPMs for a wide selection of distributions and kernel variants. This section details how to install the resultant binary RPM.
Solarflare Server Adapter User Guide 3.6 SUSE Linux Enterprise Server Distributions These instructions cover installation and configuration of the Solarflare Network Adapter drivers on SUSE Linux Enterprise Server. Refer to Software Driver Support...Page 12 for details of supported distributions. Refer to Building the Source RPM on page 42 for directions on creating the binary RPM.
Figure 6 shows how the unattended installation process works. Build a minimal Solarflare driver needed for use in the installation kernel (Kernel A in the diagram above). This is achieved by defining “sfc_minimal” to rpmbuild. This macro disables hardware monitoring, MTD support (used for access to the adapters flash), I2C and...
Page 51
Solarflare Server Adapter User Guide Driver Disks for Unattended Installations Solarflare are preparing binary driver disks to help avoid the need to build the minimal drivers required in unattended installations. Please contact Solarflare support to obtain these driver disks Table 15...
To install Red Hat Enterprise you need the following: A modified file with amended which initrd.img modules.alias modules.dep incorporates the Solarflare minimal driver for the installation kernel. , add the following entries: modules.alias alias: pci:v00001924d00000813sv*sd*bc*sc*i* alias: pci:v00001924d00000803sv*sd*bc*sc*i* alias: pci:v00001924d00000710sv*sd*bc*sc*i*...
*For Red Hat Enterprise Linux from version 5.5 add to this line. mdio A configured kickstart file with the Solarflare Driver RPM manually added to the %Post section. For example: %post /bin/mount -o ro <IP Address of Installation server>:/<path to location directory containing Solarflare RPM>...
Solarflare Server Adapter User Guide 3.10 Hardware Timestamps The Solarflare Flareon SFN7000 series adapters can support hardware timestamping for all received network packets. The Linux kernel must support the SO_TIMESTAMPING socket option (2.6.30+) therefore hardware packet timestamping is not supported on RHEL 5.
Solarflare Server Adapter User Guide Configuring Jumbo Frames Solarflare adapters support frame sizes from 1500 bytes to 9216 bytes. For example, to set a new frame size (MTU) of 9000 bytes, enter the following command: ifconfig <ethX> mtu 9000 To make the changes permanent, edit the network configuration file for <...
Solarflare Server Adapter User Guide 3.15 Running Cable Diagnostics Cable diagnostic data can be gathered from the Solarflare 10GBASE-T adapters physical interface using the command which runs a comprehensive set of diagnostic tests on the ethtool -t controller, PHY, and attached cables. To run the cable tests enter the following command: ethtool -t ethX [online | offline] Online tests are non-intrusive and will not disturb live traffic.
The RPM package, is supplied as 64bit and 32bit binaries compiled to be compatible with GLIBC versions for all supported distributions. The Solarflare utilities RPM file can be downloaded from the following location: https://support.solarflare.com/ • SF-104451-LS is a 32bit binary RPM package.
• Sfboot: Examples...Page 66 Sfboot is a command line utility for configuring the Solarflare adapter Boot ROM for PXE and iSCSI booting. Using sfboot is an alternative to using Ctrl + B to access the Boot Rom agent during server startup.
Page 62
(see Performance Tuning on Windows on page 221). Lists all available Solarflare adapters. This option -l --list shows the ifname and MAC address. Note: this option may not be used in conjunction with the any other option. If this option is used with configuration parameters, those parameters will be silently ignored.
Page 65
The IQN is a symbolic name in the “.” notation form; for example: iqn.2009.01.com.solarflare, and is a maximum of 223 characters long. Note that this option is only valid if iSCSI booting is enabled (...
Page 69
The default is 32. <8|16|32|64|128|256|512|1024> Note: Using the incorrect setting can impact the performance of the adapter. Contact Solarflare technical support before changing this setting. Enable PF-IOV support. This allows switching of pfiov=<enabled|disabled> traffic between any PFs. When disabled traffic is switched only between a PF and related VFs.
Page 70
Description The number of virtual functions (VF) advertised to vf-count=<vf count> the operating system. The Solarflare SFC9000 family of controllers support a total limit of 127 virtual functions per port and a total 1024 interrupts. Depending on the values of msix-limit and vf-msix- limit, some of these virtual functions may not be configured.
Page 71
Boot skip delay time 5 seconds Boot type MSI-X interrupt limit • List all Solarflare adapters installed on the localhost: sfboot --list Solarflare boot configuration utility [v3.0.2] Copyright Solarflare Communications 2006-2010, Level 5 Networks 2002-2005 eth4 - 00-0F-53-01-3C-AC, eth5 - 00-0F-53-01-3C-AD, eth6 - 00-0F-53-01-...
Page 72
Solarflare Server Adapter User Guide • Enable iSCSI booting on adapter eth4. Implement default iSCSI settings: sfboot --adapter=eth4 boot-type=iscsi Solarflare boot configuration utility [v3.0.2] Copyright Solarflare Communications 2006-2010, Level 5 Networks 2002-2005 eth4: Boot image Option ROM and UEFI Link speed...
• Sfupdate: Command Line Options...Page 73 • Sfupdate: Examples...Page 74 Sfupdate is a command line utility to manage and upgrade the Solarflare adapter Boot ROM, Phy and adapter firmware. Embedded within the sfupdate executable are firmware images for various Solarflare adapters - the exact updates available via sfupdate depend on the adapter.
Page 76
User Guide If issues are encountered during sfupdate, the user should consider one of the following options when upgrading firmware on systems equipped with more than two Solarflare adapters: • Upgrade two adapters at a time with the other adapters removed.
3.19 License Install with sfkey The sfkey utility is distributed with the Linux Utilities RM package. This utility is used to install Solarflare AppFlex™ licenses and enable selected on-board services for Solarflare adapters. For more information about license requirements see Solarflare AppFlex™...
Page 81
Solarflare Server Adapter User Guide Product name: Solarflare SFN7122F SFP+ Adapter Part number: SFN7122F Serial number: 712200205071133867100591 MAC address: 00-0F-53-21-9B-B0 Installed keys: OpenOnload, PTP, SolarCapture Pro Active keys: OpenOnload, PTP, SolarCapture Pro Blacklisted keys: 0 Invalid keys: 0 License Inventory Use the combined --inventory and --keys options to identify the licenses installed on an adapter.
• Other Considerations...Page 94 Introduction The Solarflare family of network adapters are designed for high-performance network applications. The adapter driver is pre-configured with default performance settings that have been chosen to give good performance across a broad class of applications. In many cases, application performance can be improved by tuning these settings to best suit the application.
Page 85
Ethernet endpoints. However if a larger MTU is used, adapter throughput and CPU utilization can be improved. CPU utilization is improved because it takes fewer packets to send and receive the same amount of data. Solarflare adapters support frame sizes up to 9216 bytes (this does not include the Ethernet preamble or frame-CRC).
Page 87
–k Solarflare recommend you do not disable TSO. TCP Large Receive Offload (LRO) TCP Large Receive Offload (LRO) is a feature whereby the adapter coalesces multiple packets received on a TCP connection into a single call to the operating system TCP Stack. This reduces CPU utilization, and so improves peak throughput when the CPU is fully utilized.
Page 88
Or, as root before loading the Solarflare driver: sysctl -w net.ipv4.conf.default.forwarding=0 (This command can be loaded into /etc/rc.local Or, after loading the Solarflare driver, turn off forwarding for only the Solarflare interfaces and re-enable LRO: sysctl -w net.ipv4.conf.ethX.forwarding=0 ethtool -K ethX lro on (where X is the id of the Solarflare interface).
Page 90
CPU core. RSS can be restricted to only process receive queues on the NUMA node local to the Solarflare adapter. To configure this the driver module option should be set to 1.
Page 92
To workaround this issue, you must reboot the host after modifying rss_cpus NOTE: RSS also works for UDP packets. For UDP traffic the Solarflare adapter will select the Receive CPU based on IP source and destination addresses. Solarflare adapters support IPv4 and IPv6 RSS except the SFN4xxx adapters which only supports IPv4 RSS.
Page 93
The tables support the steering of incoming packets from the network adapter to a receive queue affinitized to a CPU where the application is waiting to receive them. The Solarflare accelerated RFS implementation requires configuration through the two tables and the ethtool -K command.
# echo c000c > /sys/class/net/eth3/queues/tx-0/xps_cpus XPS - Example Configuration System Configuration: • Single Solarflare adapter • 2 x 8 core processors with hyperthreading enabled to give a total of 32 cores • rss_cpus=8 • Only 1 interface on the adapter is configured •...
Page 96
To disable irqbalance temporarily, run: /sbin/service irqbalance stop Once the irqbalance service has been stopped, the Interrupt affinities can be configured manually. NOTE: The Solarflare driver will evenly distribute interrupts across the available host CPUs (based on the module parameter).
Page 99
CPU involvement. Solarflare 7000 series adapters support TX PIO, where packet s on the transmit path can be “pushed” to the adapter directly by the CPU. This improves the latency of transmitted packets but can cause a very small increase in CPU utilisation.
Page 100
Solarflare recommend disabling the cpuspeed service if minimum latency is the main consideration. The service can be disabled temporarily:...
Page 101
Buffer Allocation Method Leave at default. Some applications may benefit from specific setting. The Solarflare driver now supports a single optimized buffer allocation strategy and any value set by the rx_alloc_method parameter is ignored. PCI Express Lane Configuration Ensure current speed (not the supported speed) reads back as “x8 and 5Gb/s”...
Page 102
/sbin/service irqbalance stop Interrupt affinity settings are application dependent Buffer Allocation Method The Solarflare driver now supports a single optimized buffer allocation strategy and any value set by the rx_alloc_method parameter is ignored. PCI Express Lane Ensure current speed (not the supported speed) reads back Configuration as “x8 and 5Gb/s”...
Page 103
(if possible select CPU's on the same Package). Refer to Interrupt and Irqbalance Service...Page 91 Buffer Allocation Method The Solarflare driver now supports a single optimized buffer allocation strategy and any value set by the rx_alloc_method parameter is ignored. Issue 11...
Solarflare Server Adapter User Guide 3.21 Module Parameters Table 25 lists the available parameters in the Solarflare Linux driver module ( modinfo sfc Table 25: Driver Module Parameters Possible Default Parameter Description Value Value piobuf_size Identify the largest packet size that can...
Page 105
Force internal SRAM to be used rss_numa_local Constrain RSS to use CPU cores on the numa node local the Solarflare adapter. Set to 1 to restrict, 0 otherwise. 1. Check OS documentation for availability on SUSE and RHEL versions. Issue 11...
3.22 Linux ethtool Statistics The Linux command ethtool will display an extensive range of statistics originated from the MAC on the Solarflare network adapter. To display statistics use the following command: ethtool -S ethX (where X is the ID of the Solarflare interface) Table 26 lists the complete output from the ethtool -S command.
Page 107
Number of frames transmitted where the length is greater tx_gtjumbo than 9000 bytes. Number of collisions incurred during transmission attempts. tx_collision This should always be zero as Solarflare adapters operate in full duplex mode. Number of occurrences when a single collision delayed tx_single_collision immediate transmission of a packet.
Teaming and or Link Improve server reliability and bandwidth by bonding physical Aggregation ports, from one or more Solarflare adapters, into a team, having a single MAC address and which function as a single port providing redundancy against a single point of failure.
• Full Solarflare Package Installation...Page 115 • Repair, Remove and Change Drivers and Utilities...Page 118 NOTE: The Solarflare adapter should be physically inserted before installing the drivers. See Installation on page The user must have administrative rights to install adapter drivers and may be prompted to enter an administrator user name and password.
Solarflare Server Adapter User Guide 4.4 Adapter Drivers Only Installation The steps below describe how to install only the Solarflare adapter drivers in Windows. To install the drivers from the command line, see Install Drivers and Options From a Windows Command Prompt on page 119.
Repair, Remove and Change Drivers and Utilities...Page 118 Prerequisites • The Solarflare Adapter Manager Utility (SAM) requires Microsoft .NET Framework 3.5 assemblies. These are available by installing .NET version 3.5 and may also be available in version 4.x with backward compatibility for 3.5.
Page 121
• Start Solarflare Adapter Manager (Start > All Programs > Solarflare Drivers > Solarflare Adapter Manager). If the Solarflare adapter is installed and working correctly, it will be shown in the SAM main screen, along with any other adapters, as in Table 12 on page 129.
Page 122
Solarflare Server Adapter User Guide Figure 10: Solarflare Driver Package Custom Setup Table 28: Solarflare Custom Setup Option Description Install Solarflare device drivers Installs Solarflare NDIS drivers for Windows. The Solarflare drivers are installed by default. Install Solarflare command line tools...
Page 123
The icon is not installed by default. Repair, Remove and Change Drivers and Utilities From the Control Panel > Programs > Programs and Features, select the Solarflare Driver Package then select Uninstall, Change or Repair from the menu bar above the program list.
Setup Window will be displayed. Figure 11: Command Line Install. Installing from the Windows command line allows scripted, silent and unattended installation of the core Solarflare drivers and package utilities. The drivers install package is named after the Solarflare document part number e.g. SF-107785-LS-2_Solarflare_Windows_x86_64-bit_Driver_Package.exe This can be renamed e.g setup.exe before invoking from the command line.
Page 125
Identify the package file to use for the setup.exe /Package operation. <PackageFilename> Shows version information for the drivers. setup.exe /Version Silently installs the drivers and Solarflare setup.exe /Quiet /Install Adapter Manager only (other utilities will ADDLOCAL=NetworkAdapterManager not be installed). See, Using ADDLOCAL on page 121.
Page 126
• CommandLineTools – Installs Solarflare command line tools: sfboot.exe, sfupdate.exe, sfcable.exe, sfteam.exe, sfnet.exe. • Launcher – Installs the Solarflare system tray icon, providing easy access to the Solarflare Adapter Manager (SAM). Multiple features may be installed by separating each feature with a comma (spaces are not allowed).
Page 127
User Guide Extract Solarflare Drivers If it is necessary to extract the Solarflare Windows drivers, e.g. before WDS installs, this can be done from the Windows command line. From the Command prompt, navigate to the directory where the installation package is located.
• Create the WDSClientUnattend.xml File...Page 126 • Create the AutoUnattend.xml File...Page 127 • Further Reading...Page 127 Windows Driver Locations The following steps use drivers extracted from the Solarflare installation package. Refer to Table 30 for driver folder locations. Unattended Installation using WDS Windows Deployment Services (WDS) enables the deployment of Windows over a network (from a WDS server), avoiding the need to install each operating system directly from a CD or DVD.
Page 129
Adding Solarflare Drivers to the WDS Boot Image These steps describe how to add the Solarflare drivers into the Boot Image. Modifying the Boot Image You next need to modify the boot image to include the Solarflare Drivers extracted from the setup package. Table 30 identifies drivers required for the target operating system.
Page 130
From the right-click menu, select Enable. Create Custom Install Image These steps describe how to add the Solarflare drivers into the Custom Install Image. These are the same Solarflare drivers added to the boot image. Preparing the Custom Install Image From WDS, locate the install image from the Install Images folder on your server.
Page 131
Solarflare Server Adapter User Guide Add the Solarflare NDIS driver to the image by entering the following command from your PE customization working directory: peimg /inf=c:\windowspe-x86\drivers\netSFN6*.inf mount\windows Unmount the image, using the following command from your PE customization working directory:...
Windows OS versions. Introduction The Solarflare Adapter Manager (SAM) is a Microsoft Management Console (MMC) plug-in for managing Solarflare adapters, teams and VLANs. SAM identifies information for all adapters installed on the server, as well as the standard MMC plug-in Actions pane.
SAM is included with the Solarflare drivers installation package. 4.9 Managing Adapters Remotely with SAM SAM can be used to administer Solarflare adapters on your server from a remote computer. SAM can be used remotely to administer adapters on any supported Windows platform, including a Windows Server Core Installation.
• Click Start > All Programs > Solarflare Network Adapters > Manage network adapters on a remote computer. • If the Solarflare notification area icon is installed, you can right-click the icon and select Manage network adapters on a remote computer.
Page 137
User Guide Viewing Performance Graphs To view Solarflare performance graphs, Right-click on an adapter and select Show graphs from the menu. By default, SAM shows the load, transmitted packets and received packets graphs only. To view other available graphs, Select Graphs from the right-click menu, or from the Actions Pane/ Action menu.
Page 139
Third-party adapters installed in the server are also listed in the SAM’s Network Adapters list, along with the Solarflare adapters and any teams and VLANs which have been set up on the server. SAM provides some options for working with third-party adapters. The available actions for third party adapters are shown in the Action pane.
NOTE: Changing the value of an Adapter feature can negatively impact the performance of the adapter. You are strongly advised to leave them at their default values. NOTE: Before making any changes to your Solarflare adapter features, read the Performance...
By offloading the checksum process to the network adapter, the load is decreased on the server CPU. By default, Solarflare adapters are set up to offload both the calculation and verification of TCP, IP and UDP checksums. The following Checksum Offload options are supported:...
Page 144
Solarflare Server Adapter User Guide RSS and Interrupts Solarflare network adapters support RSS (Receive Side Scaling) and interrupt moderation. Both are enabled by default and can significantly improve the performance of the host CPU when handling large amounts of network data.
Page 146
NUMA architectures. This constrains the set of CPU cores used for RSS to the specified NUMA node. Solarflare recommend you leave this at the default setting of All. The adapter will attempt to use only processors from the specified NUMA node for RSS.
Solarflare adapters offload the tasks of packet segmentation and reassembly to the adapter hardware, reducing the CPU processing burden and improving performance. LRO is a Solarflare proprietary mechanism similar to the Windows Receive Side Coalescing feature. When enabled the adapter will coalesce multiple received TCP packets on a TCP connection into a single call to the TCP/IP stack.
Page 149
Solarflare Server Adapter User Guide Virtual Machine Queue Solarflare adapters support VMQ to offload the classification and delivery of network traffic destined for Hyper-V virtual machines to the network adapter thereby reducing the CPU load on Hyper-V hosts. Windows Server 2008 R2 allows the administrator user to statically configure the number of CPUs available to process interrupts for VMQ.
Microsoft MultiPath I/O (MPIO), which is supported on all Solarflare adapters. This section is only relevant to teams of Solarflare adapters. Solarflare adapters can be used in multi- vendor teams when teamed using the other vendor’s teaming driver.
Page 151
Start SAM and select a Solarflare adapter in the Network Adapter list. From the Action menu, select Create a Team. The Solarflare Create a team Wizard starts. Figure 17: Team Create Wizard...
Page 152
To change team settings: NOTE: Changing team settings can disrupt network traffic flow to and from services running on the server. Solarflare recommend only changing network settings when disruption to the services can be tolerated. Start SAM and, from the Network Adapter list, select the team you want to reconfigure.
Page 154
After making your changes, click Set and then click Close. Adding Adapters to a Team If additional Solarflare adapters are installed in your server, you can add them to an existing team to increase the overall resilience or performance (aggregation) of the server connection.
Page 155
Any VLANs set up for the team will be deleted when the team is deleted. To delete a team: NOTE: Changing team settings can disrupt current services running on the server. Solarflare recommend only changing network settings when disruption to network services can be tolerated.
Page 156
VLAN 0. To create VLANs: NOTE: Creating VLANs can disrupt current services running on the server. Solarflare recommend only changing network settings when disruption to network services can be tolerated. Start SAM and select the adapter or adapter team from the Network Adapter list.
Page 157
VLANs can be removed from a team or single adapter when no longer required. To delete VLANs: NOTE: Deleting VLANs can disrupt current processes and applications running on the server. Solarflare recommend only changing network settings when disruption to network services can be tolerated. Start SAM.
Figure 23: Solarflare Adapter Statistics and State To view Solarflare statistics and state information: Start SAM and select a Solarflare adapter from the Network Adapter list. From the Actions list, click Statistics and State. The Details from <adapter name> dialog box is displayed.
Click Close. 4.15 Using SAM to Run Adapter and Cable Diagnostics You can verify the Solarflare adapter, driver and cable by running SAM’s built-in diagnostic tools (Solarflare 10GBASE-T adapter only). The tools provide a simple way to verify that the adapter and driver are working correctly, and that the cable has the correct characteristics for high-speed data transfer.
Page 160
Completion Message column describing the reason any particular test has failed. CAUTION: The adapter will stop functioning while the tests are being run. Solarflare recommend only running diagnostics tests when disruption to network services can be tolerated.
Page 162
NOTE: Cable diagnostics are only available on Solarflare 10GBASE-T Adapters. For these adapters, Solarflare recommend using good quality Category 6, 6a or 7 cable up to the maximum length as determined by the cable category.
Configuring the Boot ROM for PXE or iSCSI Booting For more information on configuring the iSCSI target and DHCP settings from the Solarflare Boot Configuration Utility, and how to install an operating system that is enabled for remote iSCSI booting...
Page 165
NOTE: iSCSI booting will not be available if the adapter is a member of a team or has VLANs. NOTE: Solarflare recommend not changing the MSI-X Interrupts setting. If necessary, from the Link tab, change the Link Speed option depending on your link requirement.
Page 170
You can stop the adapter from attempting to initiate either a PXE or iSCSI boot after a restart. Start SAM and select the Solarflare adapter from the Network Adapter list. From the Action menu, click the Configure Boot ROM option. The Configure Boot ROM dialog box displays with the BIOS tab selected.
User Guide 4.17 Managing Firmware with SAM SAM allows you to monitor the firmware (PHY, Boot ROM and Adapter) for your Solarflare adapters. Either select Manage firmware from the Actions pane, or from the Action menu. The firmware update window is displayed: Figure 32: Solarflare firmware update window If the firmware is up to date, the window will contain the OK button.
From the Control Panel, select System. Select Device Manager from the left hand menu. Expand the Network adapters. Right-click the on the Solarflare adapter, and then click Properties to display the properties dialog box. Figure 33: Adapter Properties Dialog Issue 11...
Page 173
NOTE: Changing these properties may impact the performance of your Solarflare adapter. You are strongly advised to leave them at their default values. NOTE: Before making any changes to your Solarflare adapter features, read the...
Page 174
Solarflare Server Adapter User Guide Table 43: Solarflare Network Adapter Properties Property Name Values Description Interrupt Enabled Interrupt moderation is a technique used to reduce Moderation the number of interrupts sent to the CPU. With Disabled interrupt moderation, the adapter will not generate interrupts closer together than the interrupt moderation time.
Page 175
Solarflare Server Adapter User Guide Table 43: Solarflare Network Adapter Properties Property Name Values Description Locally Value: (MAC Assigns the specified MAC address to the adapter, Administered address) overriding the permanent MAC address assigned by Address the adapter's manufacturer. Not Present...
Page 176
Solarflare Server Adapter User Guide Table 43: Solarflare Network Adapter Properties Property Name Values Description Receive Side Scaling Enabled Receive Side Scaling (RSS) is a technology that (RSS) enables packet receive processing to scale with the Disabled number of available processors (CPUs), distributing the processing workload across the available resources.
A tool for managing fault-tolerant adapter teams and VLANs. See Sfteam: sfteam.exe Adapter Teaming and VLAN Tool on page 193. A tool for that runs cable diagnostics for Solarflare 10GBASE-T server sfcable.exe adapters. See Sfcable: Cable Diagnostics Tool on page 200.
Page 178
To start a command line tool, open a Command Line Interface windows and enter the command tool.exe: Figure 34: Windows console to run Solarflare command line tools. NOTE: For all the utilities, the options are documented with the forward slash (/) prefix. You can also use a single dash ( ) or a double dash (--) as a prefix.
ID of the adapter that you want to manage. Specifying the Identifier adapter is optional - if it is not included the command is applied to all Solarflare adapters in the machine. is the option you want to apply. See...
Page 180
Performs the operation on a specified remote /Computer <ComputerName> computer. Administrator rights on the remote computer is required. Lists all available Solarflare adapters. This option /List shows the adapter’s ID number, ifname and MAC address. Note: this option may not be used in conjunction with the any other option.
Page 184
The IQN is a symbolic name in the “.” notation form; for example: iqn.2009.01.com.solarflare, and is a maximum of 223 characters long. Note that this option is only valid if iSCSI booting is enabled (...
Page 188
Enable SR-IOV support for the operating systems that sriov=<enabled|disabled> support it. SR-IOV is not supported by Solarflare adapters on Windows Hyper-V servers. The number of virtual functions advertised to the vf-count=<vf count> operating system. The Solarflare SFC9000 series device has a limit of 1024 interrupts.
Page 189
Number of Virtual Functions VF MSI-X interrupt limit Firmware variant full feature / virtualization Insecure filters Disabled Solarflare SFN7122F SFP+ Server Adapter #2 - MAC: 00:0F:53:21:9B:B0 Boot image Option ROM only Link speed Negotiated automatically Link-up delay time 5 seconds...
Page 190
Solarflare Server Adapter User Guide • List all Solarflare adapters installed on the localhost: sfboot /List Sample console output: Solarflare boot ROM configuration utility [v4.1.4] Copyright Solarflare Communications 2006-2014, Level 5 Networks 2002-2005 Network adapters in this computer: 1 : Solarflare SFN7122F SFP+ Server Adapter...
Page 191
Solarflare Server Adapter User Guide Sample console output: Solarflare boot ROM configuration utility [v4.1.4] Copyright Solarflare Communications 2006-2014, Level 5 Networks 2002-2005 Solarflare SFN7122F SFP+ Server Adapter - MAC: 00:0F:53:21:9B:B1 Boot image Option ROM only Link speed Negotiated automatically Link-up delay time...
Page 192
/Adapter 1 boot-type=iscsi initiator-dhcp=disabled initiator- ip=192.168.0.1 netmask=255.255.255.0 Sample console output: Solarflare boot ROM configuration utility [v4.1.4] Copyright Solarflare Communications 2006-2014, Level 5 Networks 2002-2005 Solarflare SFN7122F SFP+ Server Adapter - MAC: 00:0F:53:21:9B:B1 Boot image Option ROM only Link speed...
Page 193
- Secret “password12345” sfboot /Adapter 1 boot-type=iscsi chap=enabled username=user1 secret=password12345 Sample output: Solarflare boot ROM configuration utility [v4.1.4] Copyright Solarflare Communications 2006-2014, Level 5 Networks 2002-2005 Solarflare SFN7122F SFP+ Server Adapter - MAC: 00:0F:53:21:9B:B1 Boot image Option ROM only Link speed...
ID of the adapter that you want to manage. Specifying the Identifier adapter is optional - if it is not included the command is applied to all Solarflare adapters in the machine. is the option to apply. See...
Page 195
Performs the operation on the identified remote /Computer <ComputerName> computer. Administrator rights on the remote host computer is required. Performs the action on the identified Solarflare network /Adapter <Identifier> adapter. The identifier can be the adapter ID number, name or MAC address.
Page 196
• Display firmware versions for all adapters: sfupdate Sample output from a host with a single SFN5122F adapter installed: Solarflare firmware update utility [v4.1.4] Copyright Solarflare Communications 2006-2014, Level 5 Networks 2002-2005 1: Solarflare SFN7122F SFP+ Server Adapter MAC address: 00:0F:53:21:9B:B1 Firmware: v4.1.0...
Page 197
• Update all adapters to latest version of PHY and Boot ROM firmware: sfupdate /Write Sample output: Solarflare firmware update utility [v4.1.4] Copyright Solarflare Communications 2006-2014, Level 5 Networks 2002-2005 1: Solarflare SFN7122F SFP+ Server Adapter MAC address: 00:0F:53:21:9B:B1 Firmware: v4.1.0...
Sfteam is a Windows command line utility used to configure and manage the teaming and VLAN features of the Solarflare adapters. You may find it easier to create and manage teams and VLANs with SAM, Solarflare’s graphical adapter manager. As an alternative, or where SAM is not available, sfteam provides a method of creating teams and VLANs from the command line or configuration script.
Page 199
Performs the operation on the identified remote /Computer <ComputerName> computer. Administrator rights on the remote host computer is required. Lists all available Solarflare adapters and any teams and /List VLANs. This options shows the adapter’s ID number, name and MAC address.
ID of the adapter that you want to manage. Specifying the Identifier adapter is optional - if it is not included the command is applied to all Solarflare adapters in the machine. is the option you to apply. See Table 49 for a list of available options.
Page 206
Performs the operation on the identified remote /Computer <ComputerName> computer. Administrator rights on the remote host computer is required. Performs the action on the identified Solarflare network /Adapter <Identifier> adapter. The identifier can be the adapter ID number, name or MAC address, as given by the option.
Page 207
User Guide Sfcable: Sample Commands • Run tests offline sfcable /Offline Sample output from a computer with two Solarflare adapters installed: C: sfcable /Offline Solarflare cable diagnostics utility [v4.1.4] Copyright Solarflare Communications 2006-2014, Level 5 Networks 2002-2005 1 : Solarflare SFN5121T 10GBASE-T Server Adapter...
ID of the adapter that you want to manage. Specifying the Identifier adapter is optional - if it is not included the command is applied to all Solarflare adapters in the machine. is the option to apply. See Sfnet: Command Line Options for a list of available options.
Page 209
Performs the operation on the identified remote host. /Computer <ComputerName> Administrator rights on the remote host computer is required. Perform the action on the identified Solarflare physical /Adapter <Identifier> or virtual network adapter. Lists all available Solarflare adapters, options and current /List parameter settings.
Solarflare adapters are present, or adapters have been disabled. Failed to obtain driver lock. The application has tried to take the Solarflare driver lock because it wants to do something that must not be interrupted by another utility (or SAM) and failed to do so.
A and the second port a member of team B or both ports members of the same team. This section is only relevant to teams of Solarflare adapters. Solarflare adapters can be used in multi- vendor teams when teamed using another vendor’s teaming driver.
Page 215
• Short recovery time in case of failover. • Solarflare supports up to 64 link aggregation port groups per system. • Solarflare supports up to 64 ports and VLANs in a link aggregation port group. There are two methods of link aggregation, dynamic and static.
Page 220
Solarflare Server Adapter User Guide VLANs and Teaming VLANs are supported on all Solarflare adapter teaming configurations. VLANs with Fault Tolerant Teams Figure 42 shows a fault tolerant team with two VLANs. Figure 42: Fault Tolerant VLANs Failover works in the same way regardless of the number of VLANs, as show in...
KX4. This is because the physical media interface chip (PHY) used on the adapter can introduce additional latency. This section is designed for performance tuning Solarflare adapters on Microsoft Windows. This should be read in conjunction with the reference design board errata documents and the following Microsoft performance tuning guides: •...
Page 227
Solarflare Server Adapter User Guide Tuning Settings Tuning settings for the Solarflare adapter are available through the Solarflare Adapter Manager (SAM) utility, or via the Advanced tab in the Windows Device Manager (right-click the adapter and select Properties). See Using SAM to Configure Adapter Features on page 135...
Page 228
Solarflare Server Adapter User Guide receive the same amount of data. Solarflare adapters supports maximum frame sizes up to 9216 bytes (this does not include CRC). NOTE: The maximum frame size setting should include the Ethernet frame header. The Solarflare drivers support 802.1p.
Page 229
LSO is changed by changing the Large Send Offload setting in the Network Adapter’s Advanced Properties Page. TCP and IP checksum offloads must be enabled for LSO to work. NOTE: Solarflare recommend that you do not disable this setting. Issue 11...
Page 230
Receive Side Scaling (RSS) was first supported as part of the scalable networking pack for Windows Server 2003 and has been improved with each subsequent operating system release. RSS is enabled by default and will be used on network adapters that support it. Solarflare recommend that RSS is enabled for best networking performance.
Page 231
(2.5Gbps for PCIe Gen 1, 5.0 Gbps for PCIe Gen 2 and 8.0Gbps for PCIe Gen 3) in each direction. Solarflare adapters are designed for x8 or x16 lane operation.
Page 232
Intel® QuickData / NetDMA On systems that support Intel I/OAT (I/O Acceleration Technology) features such as QuickData (a.k.a NetDMA), Solarflare recommend that these are enabled as they are rarely detrimental to performance. Using Intel® QuickData Technology allows data copies to be performed by the system and not the operating system.
Page 233
CPU core is signaled to return to the fully on power state. These changes in CPU core power states create additional network latency and jitter. Solarflare recommend to achieve the lowest latency and lowest jitter that the "C1E power state" or "CPU power saving mode"...
Support for diskless booting to a target operating system via PXE boot. • See Sfboot: Command Line Options on page 242 • See Solarflare Boot ROM Agent on page 344 Fault diagnostics Support for comprehensive adapter and cable fault diagnostics and system reports. • See...
Installing on VMware vSphere 4.0 and 4.1 The Solarflare adapter drivers are provided as an iso image file. Copy the .iso image to a CD-ROM and refer to the VMware install instructions in the VMware NIC Device Driver Configuration Guide available from http://www.vmware.com/support/pubs/.
• Sfboot: Command Line Options...Page 242 • Sfboot: Examples...Page 250 Sfboot is a command line utility for configuring the Solarflare adapter Boot ROM for PXE and iSCSI booting. Using sfboot is an alternative to using Ctrl+B to access the Boot Rom agent during server startup.
Page 248
MAC address, as output by the -- option. If is not included, the list --adapter action will apply to all installed Solarflare adapters. Resets all adapter options except --clear boot-image their default values. Note that can also be...
Page 251
The IQN is a symbolic name in the “.” notation form; for example: iqn.2009.01.com.solarflare, and is a maximum of 223 characters long. Note that this option is only valid if iSCSI booting is enabled (...
Solarflare adapter you want to upgrade. Specifing the adapter vmnicX is optional - if it is not included the command is applied to all Solarflare adapters in the machine. is one of the command options listed in...
The purpose of this section is to highlight adapter driver settings that affect the performance metrics described. This guide covers the tuning of all members of the Solarflare family of adapters. Performance between adapters should be identical, with the exception of latency measurements.
Page 261
# rpm –i /mnt/VMwareTools*.rpm # vmware-tools-config.pl VMware ESX NetQueue Solarflare adapters supports VMware’s NetQueue technology, which accelerates network performance in 10 Gigabit Ethernet virtualized environments. NetQueue is enabled by default in VMware versions. There is usually no reason not to enable NetQueue.
Page 262
$IRQVEC # cat /proc/vmware/interrupts Locate the interrupts associated with the Solarflare adapter (e.g. vmnic2). Interrupts are listed in order: the first interrupt will be for the default queue, the second interrupt for the queue dedicated to the first virtual machine to have been started, the third interrupt for the queue dedicated to the second virtual machine to have been started, and so on.
Page 263
Ethernet endpoints. However if a larger MTU is used, adapter throughput and CPU utilization can be improved. CPU utilization is improved because it takes fewer packets to send and receive the same amount of data. Solarflare adapters support frame sizes up to 9216 bytes (this does not include the Ethernet preamble or frame-CRC).
Page 265
–k Solarflare recommend you do not disable checksum offload. For advice on configuring checksum offload in the guest, consult the relevant Solarflare section for that guest, or the documentation for the guest operating system. TCP Segmentation Offload (TSO) TCP Segmentation offload (TSO) offloads the splitting of outgoing TCP data into packets to the adapter.
Page 266
In x4 lane slots, Solarflare PCIe adapters will continue to operate, but not at full speed. The Solarflare driver will warn you if it detects the adapter is plugged into a PCIe slot which electrically has fewer than x8 lanes.
Page 267
I/O AT can be enabled on the host and on guest operating systems. For advice on enabling I/OAT in the guest, consult the relevant Solarflare section for that guest, or the documentation for the guest operating system. I/OAT must be enabled on the host if it is to be used in the guests.
Solarflare Server Adapter User Guide 6.2 Solaris Platform Feature Set Table 63 lists the features supported by Solarflare adapters on Solaris. Table 63: Solaris Feature Set Jumbo frames Support for MTUs (Maximum Transmission Units) to 9000 bytes. • See Configuring Jumbo Frames on page 269...
User Guide 6.3 Installing Solarflare Drivers The Solaris drivers for Solarflare are available in a binary package for both 32 and 64 bit platforms. • A driver package (pkg format) is available for Solaris 10.8, 10.9 and 10.10. • A driver package (pkg format) is available for Solaris 11.0.
These processes are documented here: http://docs.oracle.com/cd/E19253-01/819-6397/819-6397.pdf NOTE: The Solarflare server adapter can be used to PXE boot the installer, but as there is no driver, the adapter can not be used during installation. To install the Solarflare Solaris package as part of an unattended installation, it must be added using the package command to the JumpStart machine profile.
<x> There will be one interface per physical port on the Solarflare adapter. To plumb an interface enter the following: ifconfig sfxge<x> plumb You then need to configure the interface and bring it up to allow data to pass. Enter the following: ifconfig sfxge<x>...
Page 274
The default setting in is 1500. sfxge.conf Solarflare adapters support frame sizes from 1500 bytes to 9000 bytes. For example, to set a new frame size (MTU) of 9000 bytes, enter the following command: $ ifconfig sfxge<x> mtu 9000 To view the current MTU, enter: $ ifconfig sfxge<x>...
“trunked” mode) see the “How to Configure a VLAN” section in the following documentation: http://docs.oracle.com/cd/E19253-01/816-4554/fpdga/index.html 6.8 Solaris Utilities Package The Solarflare Solaris Utilities package, supplied as a 32 bit SVR package and available from https:// support.solarflare.com/ contains the following utilities:...
Page 276
Solarflare Server Adapter User Guide Sfboot is a command line utility for configuring the Solarflare adapter Boot ROM for PXE and iSCSI booting. Using sfboot is an alternative to using Ctrl + B to access the Boot Rom agent during server startup.
Page 277
Performs the operation on a specified remote --computer <computer_name> computer. Administrator rights on the remote computer is required. Lists all available Solarflare adapters. This option --list shows the adapter’s ID number, ifname and MAC address. Note: this option may not be used in conjunction with the any other option.
Page 280
The IQN is a symbolic name in the “.” notation form; for example: iqn.2009.01.com.solarflare, and is a maximum of 223 characters long. Note that this option is only valid if iSCSI booting is enabled (...
Page 284
The default is 32. 2|1024> Note: Using the incorrect setting can impact the performance of the adapter. Contact Solarflare technical support before changing this setting. Enable SR-IOV support for OS system that support it. sriov=<enabled|disabled>...
Running the command with no additional parameters will show the current firmware sfupdate version for all Solarflare adapters and whether the firmware within sfupdate is more up to date. To update the firmware for all Solarflare adapters run the command sfupdate --write Solarflare recommend that you use sfupdate in the following way: to check that the firmware on all your adapters are up to date.
The purpose of this guide is to highlight adapter driver settings that affect the performance metrics described. This guide covers the tuning of all of the Solarflare family of adapters. In addition to this guide, you may need to consider other issues influencing performance such as application settings, server motherboard chipset, additional software installed on the system, such as a firewall, and the specification and configuration of the LAN.
Page 290
Ethernet endpoints. However if a larger MTU is used, adapter throughput and CPU utilization can be improved. CPU utilization is improved because it takes fewer packets to send and receive the same amount of data. Solarflare adapters support frame sizes up to 9000 bytes (this does not include the Ethernet preamble or frame-CRC).
Page 292
NOTE: RSS also works for UDP packets. For UDP traffic the Solarflare adapter will select the Receive CPU based on IP source and destination addresses. SFN5xxx adapters support IPv4 and IPv6 RSS, while SFN4xxx adapters support just IPv4 RSS.
Page 293
In x4 lane slots, Solarflare PCIe adapters will continue to operate, but not at full speed. The Solarflare driver will warn you if it detects the adapter is plugged into a PCIe slot which electrically has fewer than x8 lanes.
Solarflare Server Adapter User Guide 6.12 Module Parameters The normal syntax when using parameters is param=<value>. Table 72 lists the available parameters in the Solarflare Solaris driver module ( sfxge.conf Table 72: Driver Module Parameters Parameter Description Values Default Maximum number of RSS channels to rx_scale_count use per port.
Solarflare Server Adapter User Guide 6.13 Kernel and Network Adapter Statistics Statisitical data originating from the MAC on Solarflare network adapters can be gathered using the Solaris Kernel Statistics command ( ). The following tables identify kernel and adapter kstat...
Page 303
Late collisions can occur if the length of the network seg- ment is greater than the standard allowed length. Collision occurred beyond the collision window (512 bit times). This should always be zero as Solarflare adapters operate in full duplex mode. unknowns xcvr_addr MII address in the 0-31 range of the physical layer device in use for a given Ethernet device.
Page 304
Table 74: Name sfxge_cfg Parameter Description crtime Timestamp when samples were taken. Adapter hardware address. version Solarflare sfxge driver version Table 75: Name sfxge_mac Parameter Description crtime Timestamp when samples were taken. link_duplex 0 = down, 1 = half duplex, 2 = full duplex.
Page 305
Number of packets received with FCS errors - these are dropped by the Solarflare driver. rx_ge_15xx_pkts Number of packets received with payload size greater than 1518 bytes (1522 bytes VLAN).
Page 307
Collision occurred beyond the collision window (512 bit times). This should always be zero as Solarflare adapters operate in full duplex mode. tx_le_64_pkts Number of frames transmitted where the length is less than 64 bytes.
• Red Hat Enterprise Linux 6.0, 6.1 and 6.2 Adapters • All Solarflare SFN5xxx and SFN6xxx series adapters. Solarflare adapters support 127 VFs per port and 1024 vNICs each with a dedicated MSI-X interrupt. Acceleration of guest VMs running other (non-Linux) operating systems is not currently supported although Solarflare are considering accelerating Windows guests in the longer term.
Page 315
User Guide Solarflare Plug-in Model The Solarflare model for SR-IOV support is a hybrid of the traditional and typical approaches. The Solarflare "plugin" maintains the traditional (software) data path through virtio frontend to the KVM host (and then through the Linux bridge to the PF of the network driver). However, there is also an alternative (accelerated) data path through the VF driver directly to the network adapter from the guest.
SR-IOV solution or to a KVM machine with a non- Solarflare adapter. • Large number of VFs. Solarflare adapters support 127 VFs per port - far more than other SR-IOV capable adapters. This allows up to 127 VMs per 10G port to be accelerated per host.
Page 317
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. Step 2: Update adapter firmware and enable SR-IOV Download the Solarflare Linux Utilities SF-104451-LS from support.solarflare.com:...
Page 318
Guest Drivers The Solarflare accelerated driver package is currently supplied as a tarball. It contains two drivers: an upgraded virtio-net driver (backported from 2.6.37), and xnap, the PCI driver for Solarflare VFs. To install drivers on Red Hat 6.1: # tar xvfz sfc-xnap-virtio-v1_0_0_0012.tgz...
This section presents an overview of how to configure virtio based networking. • Configure Bridged networking on the hosts, creating a bridge for each Solarflare network device and attach the physical network device to the bridge. The instructions to configure bridging can be found at Redhat: Bridged networking with libvirt.
Page 320
<vf-hotplug source='eth4' hybrid='yes' vlan='123' /> </interface> Virt-manager configuration for SR-IOV: Adding a new interface A virt-manager GUI tool is supplied with the Solarflare driver distribution package. To run the GUI tool as root use the following command: # /usr/bin/virt-manager Alternatively, virt-manager can be on another host and connect to the KVM host via “File”- >”Add Connection”.
Page 321
VFs available when the VM is started then one (or more) VFs will be attached into the running guest. If the guest OS has the Solarflare VF drivers, and the interface is a virtio interface, then the virtio interface will be accelerated.
7.5 Configuration Red Hat 6.2 Host Network Configuration As previously described, Solarflare SR-IOV support uses a plugin model, whereby virtual functions accelerate virtio network adapters. These virtio network adapters are attached to the physical network device via a macvtap interface.
Page 323
</interface> Virt-manager configuration for SR-IOV: Adding a new interface This Solarflare driver distribution includes an updated version of virt-manager - a GUI tool for managing VMs (refer to Virt-manager configuration for SR-IOV: Adding a new interface on page 315 for details).
Page 324
If there are spare VFs available when the VM is started then one (or more) VFs will be attached into the running guest. If the guest OS has the Solarflare VF drivers, and the interface is a virtio interface, then the virtio interface will be accelerated.
Currently the default configuration is 127 VFs each allocated 1 vNIC. NOTE: Solarflare’s hybrid SR-IOV solution is no longer supported by Citrix and is limited to XenServer 6.0. Further, this solution is limited to supporting Windows guests and Linux guests running RHEL 6.1 (or earlier).
Page 331
Unlike other adapters, each Solarflare VF can use multiple DMA channels that enable the VF to scale over vCPUs using RSS and/or RFS. Solarflare's 2048 DMA channels provide the most scalable virtualized network I/O solution available in the market.
Page 332
SR-IOV solution or to a XenServer system with a non- Solarflare adapter. • Large number of VFs. Solarflare adapters support 127 VFs per port - far more than other SR-IOV capable adapters. This allows up to 127 VMs per 10G port to be accelerated per host.
(RSS) and is typically used in non-virtualized environments (Linux/ Windows) to improve network performance. With the Solarflare plugin model when VMs are deployed to run on multiple (virtual) CPUs, each CPU can be given a dedicated transmit and receive queue so that network performance scales over the available CPU cores.
For Linux Guests: # tar xvfz sfc-xnap-netfront-v1_0_0_0012.tgz # make -C sfc-xnap-netfront-v1_0_0_0012/ modules_install For Windows Guests: Install the Solarflare acceleration driver into the Windows guest using xnapsetup.exe. 8.4 Configuration Acceleration The SR-IOV supplemental pack manages all VF configuration. SR-IOV acceleration is configured on a per Virtual Interface (VIF) basis allowing the administrator to control which VMs are accelerated on a per network basis.
Page 338
Solarflare Server Adapter User Guide Limitations • The Citrix XenTools bundled with XenServer6 do not support RSS. Therefore the Solarflare SR- IOV accelerated drivers currently do not support RSS on Windows. Known Issues • Some hardware platforms are unable to support 127 VFs on both ports simultaneously. The...
• Refer to Software Driver Support on page 12 for supported Mac OS X Distributions. • Solarflare Mac OS X drivers are supported for all Solarflare SFN5xxx AND SFN6xxx series adapters. • Driver package SF-107120-LS supports OS X 10.8 and earlier versions.
Solarflare Server Adapter User Guide 9.3 Mac 0S X Platform Feature Set The following table lists the features supported by Solarflare adapters on Mac OS X distributions. Table 88: Mac OS X Feature Set Large Receive Offload TCP receive frame coalescing to reduce CPU utilization and...
Page 341
Figure 57: Disable Driver Services Repeat above steps for all ports of the driver. Double-click SF-107120-LS.dmg in Finder to mount the disk image. Invoke the Solarflare driver uninstall script in Terminal as root (replacing <version> with the version number of the install package that is being used) /Volumes/Solarflare10GbE-<version>/uninstall.sh...
IPv6 TSO disabled net.sfxge.<enX>.ipv6tso IPv6 TSO enabled 9.9 Firmware Update The Solarflare driver package for Apple Mac OS X also includes the firmware update utility program sfupdate. When the driver package is installed the sfupdate binary is installed into /Library/Application...
Page 346
Running the command with no additional parameters will display the current firmware sfupdate version for all Solarflare adapters and identifies whether the firmware within sfupdate is more up to date. sfupdate: All Solarflare adapters to check that the firmware on all adapters is up to date.
-V --version 9.10 Performance The following section is an overview of benchmark tests results measured by Solarflare to provide an indication of expected performance with current drivers. Performance tests were conducted on Mac OS X 10.7.2 on a pair of Mac Pro servers configured back- to-back.
PXE support when this is required. The Boot ROM Agent can also be invoked using the Solarflare supplied sfboot utility - For instructions on the sfboot method refer to the sfboot commands in the relevant OS section of this user guide. PXE boot is supported on all Solarflare adapters.
242. 10.2 PXE Support Solarflare Boot ROM agent supports the PXE 2.1 specification. PXE requires DHCP and TFTP Servers, the configuration of these servers depends on the deployment service used. Linux For Red Hat Enterprise and SUSE Linux Enterprise Server, please consult your Linux documentation.
Page 353
Type. From the Boot Type, press Space until PXE is selected. Solarflare recommend leaving the Adapter Options and BIOS Options at their default values. For details on the default values for the various adapter settings, see Table 94 on page 367.
Computer System Interface (iSCSI). iSCSI is a fast, efficient method of implementing storage area network solutions. The Boot ROM in the Solarflare adapter contains an iSCSI initiator allowing the booting of an operating system directly from an iSCSI target. NOTE: Adapter teaming and VLANs are not supported in Windows for iSCSi remote boot enabled Solarflare adapters.
Page 355
Solarflare Server Adapter User Guide Start or re-start the iSCSI initiator server and when prompted, press Ctrl+B. The Solarflare Boot Configuration Utility will display. NOTE: If the BIOS supports console redirection, and you enable it, then Solarflare recommends that you enable ANSI terminal emulation on both the BIOS and your terminal. Some BIOSs are known to not render the Solarflare Boot Manager properly when using vt100 terminal emulation.
Page 359
DHCP Server Setup on page 356 for more details Initiator IQN: The iSCSI initiator IQN of the Solarflare adapter if you are not using DHCP to obtain the iSCSI initiator IQN. DHCP Vendor Class ID: If you are using DHCP to obtain the iSCSI initiator IQN, the adapter will use DHCP option 43 to try and obtain this information from the DHCP server.
Solarflare Server Adapter User Guide Note that you can set the MPIO rank for all Solarflare adapters from the configuration menus of any of the available adapters. Press Esc to return to the Adapter menu. When you have finished, select Save and exit.
Configuring the Boot ROM on page 349. • Copy the correct Solarflare driver files to a floppy disk or USB flash drive. Refer to Steps to Install Insert the Windows Server 2008 R2 DVD and restart the server. The Windows Server setup program will start.
Page 364
• Ensure you have all your iSCSI configuration information for the iSCSI target and iSCSI initiator. You will need to enter these details during the installation process. • Ensure that the Solarflare Boot ROM is configured for iSCSI boot and can login to the selected iSCSI target.
Page 365
Solarflare Server Adapter User Guide If you see a Driver Updates added screen for a Solarflare driver disk, click OK. When prompted for further driver updates, click Back to return to the installer. Select the network device. To check which is the Solarflare network adapter, press Ctrl+Alt+F4.
Page 367
Following the server reboot, check that the iSCSI disk is in an appropriate place in the BIOS boot order. It may be displayed as 'Solarflare Boot Manager' or 'Hard drive C:', as there is no physical hard disk in the system.
Page 368
• Ensure you have all your iSCSI configuration information for the iSCSI target and iSCSI initiator. You will need to enter these details during the installation process. • Ensure that Solarflare Boot ROM is configured for iSCSI boot and can login to the selected iSCSI target.
Page 369
You will be prompted to load more driver disks. Select No. A CD Found screen will prompt you to test the CD before installation. Select Skip. When an Enable network interface screen displays, select the Solarflare adapter interface. Ensure that Use dynamic IP configuration (DHCP) is selected.
Page 371
Following the server reboot, check that the iSCSI disk is in an appropriate place in the BIOS boot order. It may be displayed as 'Solarflare Boot Manager' or as 'Hard drive C:', as there is no physical hard disk in the system.
Page 374
On Solaris On Linux On VMware On VMware On Windows On Windows Solarflare AppFlex™ Technology Licensing Configure with the Boot ROM agent Standby and power management Configure with SAM Static link aggregation Receive see also Teaming Receive Side Scaling (RSS)
Need help?
Do you have a question about the Ultra SFN7142Q and is the answer not in the manual?
Questions and answers