Network and Storage related requirements. The Terminator series is Chelsio’s next generation of highly integrated, hyper-virtualized controllers. The adapters are built around a programmable protocol-processing engine, with full offload of a complete Unified Wire solution comprising NIC, TOE, iWARP RDMA, iSCSI, FCoE and NAT support.
Chapter I. Chelsio Unified Wire 1.3. Software Requirements The Chelsio Unified Wire software has been developed to run on FreeBSD based platforms. To know more about the complete list of versions supported by each driver, please refer to their respective sections. 1.4.
Chapter I. Chelsio Unified Wire 2. Hardware Installation 1. Shutdown/power off your system. 2. Power off all remaining peripherals attached to your system. 3. Unpack the Chelsio adapter and place it on an anti-static surface. 4. Remove the system case cover according to the system manufacturer’s instructions. 5.
Page 10
Chapter I. Chelsio Unified Wire b. For T5 adapters: For Chelsio adapters, the physical functions are currently assigned as: Physical functions 0 - 3: for the SR-IOV functions of the adapter Physical function 4: for all NIC functions of the card Physical function 5: for iSCSI Physical function 6: for FCoE Physical function 7: Currently not assigned...
Page 11
Chapter I. Chelsio Unified Wire The above outputs indicate the hardware configuration of the card as well as the Serial number of the card. As observed by the x8, the card is properly installed in an x8 slot on the machine and the card is using MSI-X interrupts.
Chapter I. Chelsio Unified Wire 3. Software/Driver Installation 3.1. Compiling and Installing the kernel 1. Install FreeBSD 10.X/11.X from ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/ISO-IMAGES/ 2. If you haven’t done so already, download the tar-ball ChelsioUwire-FBSD-x.x.x.x.tar.gz from Chelsio Download Center, http://service.chelsio.com 3. Untar the tar-ball using the following command: [root@host~]# tar xvf ChelsioUwire-FBSD-x.x.x.x.tar.gz 4.
Chapter I. Chelsio Unified Wire e. Build and install the kernel as follows: [root@host~]# make buildkernel [root@host~]# make installkernel Add the following entries to /boot/loader.conf to enable capabilities: hw.cxgbe.config_file="flash" hw.cxgbe.iscsicaps_allowed=0xf g. Reboot the machine for changes to take effect. h. After reboot, check if you have booted to the right kernel by executing uname -a You should see a similar output: 5.
Chapter I. Chelsio Unified Wire 3.3. Firmware Update Firmware will have to be loaded manually. Run the following commands for T6 adapters: [root@host~]# kldload if_cxgbe [root@host~]# cxgbetool t6nexX loadfw ChelsioUwire-FBSD- x.x.x.x/firmware/t6fw-x.xx.xx.x.bin [root@host~]# cxgbetool t6nexX loadcfg ChelsioUwire-FBSD- x.x.x.x/firmware/t6-config.txt Reboot system for changes to take effect. Firmware version can be verified using: [root@host~]# sysctl -n dev.t6nex.X.firmware_version...
Chapter I. Chelsio Unified Wire 4. Software/Driver Update For any distribution specific problems, please check README and Release Notes included in the release for possible workaround. Please visit Chelsio support web site http://service.chelsio.com/ for regular updates on various software/drivers. You can also subscribe to our newsletter for the latest software updates. Chelsio Unified Wire for FreeBSD...
Chapter II. Network (NIC-TOE) 1. Introduction Chelsio’s Unified Wire adapters provide extensive support for NIC operation, including all stateless offload mechanisms for both IPv4 and IPv6 (IP, TCP and UDP checksum offload, LSO aka TSO, and assist mechanisms for accelerating LRO. A high performance fully offloaded and fully featured TCP/IP stack meets or exceeds software implementations in RFC compliance.
Chapter II. Network (NIC-TOE) 1.2. Software Requirements Currently the Network driver is available for the following version(s): FreeBSD 10.3-RELEASE FreeBSD 11.0-RELEASE Other versions have not been tested and are not guaranteed to work. Chelsio Unified Wire for FreeBSD...
Chapter II. Network (NIC-TOE) 2. Software/Driver Loading The driver(s) must be loaded by the root user. Any attempt to load the driver(s) as a regular user will fail. 2.1. Loading NIC driver Load the NIC driver using the command given below: [root@host~]# kldload if_cxgbe 2.2.
Chapter II. Network (NIC-TOE) 3. Software/Driver Configuration and Fine-tuning 3.1. Enabling network interface Enable any Chelsio T6 network interface using the following command: [root@host~]# ifconfig ccX <ip_address> up For T5 and T4, use cxlX and cxgbeX respectively. 3.2. Enabling TCP Offload Enable TCP offload on a T6 interface using ifconfig.
Chapter II. Network (NIC-TOE) T6 SO (Server Offload) adapters support limited number of offload connections. To see the maximum number of offload connections, run the following command: [root@host~]# sysctl dev.t6nex.X.misc.tids Where, TID is the number of offload connections. STID is the number of offload servers. 3.3.
Chapter II. Network (NIC-TOE) 2. For T6, bring up the interface and enable TOE: [root@host~]# ifconfig ccX up [root@host~]# ifconfig ccX toe For T5 and T4, use cxlX and cxgbeX respectively. 3. Create the policy_file. Example: The below policy will offload only connections to port number 5001. [L] port 5001 =>...
Chapter II. Network (NIC-TOE) 4. Software/Driver Unloading 4.1. Unloading the NIC driver module To unload the NIC driver, stop all the running traffic and run the following command: [root@host~]# kldunload if_cxgbe NIC module cannot be unloaded if TOE module is loaded. Note 4.2.
Chapter III. iWARP 1. Introduction The iWARP (iw_cxgbe) driver provides support for iWARP including RDMA, DDP and MPA protocols. 1.1. Hardware Requirements 1.1.1. Supported Adapters Following are the currently shipping Chelsio adapters that are compatible with the iWARP driver: T62100-CR T62100-LP-CR T6425-CR T6225-CR...
Chapter III. iWARP 2. Software/Driver Loading The driver must be loaded by the root user. Any attempt to load the driver as a regular user will fail. 1. If not done already, load NIC and TOE drivers: [root@host~]# kldload if_cxgbe [root@host~]# kldload t4_tom 2.
Chapter III. iWARP 4. Software/Driver Unloading To unload the iWARP driver, stop all the running traffic and run the following command: [root@host~]# kldunload iw_cxgbe Chelsio Unified Wire for FreeBSD...
Chapter IV. iSCSI PDU Offload Target 1. Introduction Chelsio iSCSI PDU Offload Target (cxgbei.ko) is the hardware accelerated iSCSI target module for Chelsio TOE capable adapters supported by NIC driver (if_cxgbe) and provides support for offloading iSCSI traffic. On the host side the driver interacts with the storage stack via the ICL (iSCSI Common Layer) in the kernel.
Chapter IV. iSCSI PDU Offload Target 1.2. Software Requirements cxgbei.ko is the iSCSI PDU offload target mode driver. if_cxgbe, toecore and t4_tom modules are required by cxgbei.ko module to work. 1.2.1. FreeBSD Requirements Currently the iSCSI PDU driver is available for the following version(s): FreeBSD 10.3-RELEASE FreeBSD 11.0-RELEASE Other versions have not been tested and are not guaranteed to work.
Chapter IV. iSCSI PDU Offload Target 2. Software/Driver Loading 2.1. Module Installation 1. Compile and install iSCSI module [root@host~]# cd /usr/src/sys/modules/iscsi [root@host~]# make [root@host~]# make install 2. Compile and install ctl drivers [root@host~]# cd /usr/src/sys/modules/ctl [root@host~]# make [root@host~]# make install 3.
Page 33
Chapter IV. iSCSI PDU Offload Target 2. For T6, bring up the interface and enable TOE: [root@host~]# ifconfig ccX up [root@host~]# ifconfig ccX toe For T5 and T4, use cxlX and cxgbeX respectively. Note 3. Load iSCSI PDU offload target module: [root@host~]# kldload cxgbei Chelsio Unified Wire for FreeBSD...
Chapter IV. iSCSI PDU Offload Target 3. Software/Driver Configuration and Fine-tuning 3.1. Starting iSCSI Target 1. Make necessary changes in the iSCSI configuration file located in /etc/ctl.conf. In order to use cxgbei as offload module, add offload cxgbei to regular configuration. Sample: Refer to the official FreeBSD documentation for more information.
Chapter IV. iSCSI PDU Offload Target 4. Software/Driver Unloading Use the following command to unload the iSCSI PDU offload target module: [root@host~]# kldunload cxgbei Chelsio Unified Wire for FreeBSD...
Chapter V. Classification and Filtering 1. Introduction Classification and Filtering feature enhances network security by controlling incoming traffic as they pass through network interface based on source and destination addresses, protocol, source and receiving ports, or the value of some status bits in the packet. This feature can be used in the ingress path to: ...
Chapter V. Classification and Filtering 1.2. Software Requirements 1.2.1. FreeBSD Requirements Currently the Classification and Filtering feature is available for the following versions: FreeBSD 10.3-RELEASE FreeBSD 11.0-RELEASE Other kernel versions have not been tested and are not guaranteed to work. Chelsio Unified Wire for FreeBSD...
Chapter V. Classification and Filtering 2. Usage 2.1. Configuration The Classification and Filtering feature is configured by specifying the filter selection combination set in the firmware configuration file t6-config.txt (t5-config.txt and t4-config.txt for T5 and T4 adapters respectively). The following combination is set by default and packets will be matched accordingly: filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe Where, fragmentation: Fragmented IP packets...
Page 40
Chapter V. Classification and Filtering action : Ingress packet disposition. pass : Ingress packets will be passed through set ingress queues. switch : Ingress packets will be routed to an output port with optional header rewrite. drop : Ingress packets will be dropped. In case of multiple filter rules, the rule with the lowest filter index takes higher Note priority.
Chapter V. Classification and Filtering For offloaded ingress packets, use the prio argument with the above command: [root@host~]# cxgebtool t5nexY filter <index> action <pass|drop|switch> prio 1 prio argument currently not supported with T6 adapters. Note 2.3. Listing Filter Rules To list the filters set, run the following command: [root@host~]# cxgbetool t6nexY filter list 2.4.
Chapter VI. Offload IPv6 1. Introduction The growth of the Internet has created a need for more addresses than are possible with IPv4. Internet Protocol version 6 (IPv6) is a version of the Internet Protocol (IP) designed to succeed the Internet Protocol version 4 (IPv4). Chelsio’s Offload IPv6 feature provides support to fully offload IPv6 traffic on to the Unified wire adapter.
Chapter VI. Offload IPv6 2. Software/Driver Configuration and Fine-tuning Add the following entry in /etc/rc.conf file: ipv6_prefer="YES" ii. Reboot the system. iii. TOE driver (t4_tom) must be installed and loaded in order to use the Offload IPv6 feature. Also, the driver must be loaded by the root user. Any attempt to load the driver as a regular user will fail.
TERMINATE INSTALLATION PROCESS. 1. License. Chelsio Communications, Inc. ("Chelsio") hereby grants you, the Licensee, and you hereby accept, a limited, non-exclusive, non-transferable license to install and use the Software with one or more Chelsio network adapters on a single server computer for use in communicating with one or more other computers over a network.
Page 47
Chapter VII. Appendix 6. Limited Warranty. If Chelsio furnishes the Software to you on media, Chelsio warrants only that the media upon which the Software is furnished will be free from defects in material or workmanship under normal use and service for a period of thirty (30) days from the date of delivery to you.
Page 48
Agreement. Should you have any questions concerning this Agreement, you may contact Chelsio by writing to: Chelsio Communications, Inc. 209 North Fair Oaks Avenue, Sunnyvale, CA 94085 U.S.A...
Need help?
Do you have a question about the Terminator series and is the answer not in the manual?
Questions and answers