                    README File
           Cavium 45000 and 41000 series
25/40/100 Gigabit Ethernet Adapter Driver for FreeBSD 10.x/11.x

           Cavium, Inc., All rights reserved. 


Table of Contents
1. Package Contents 
2. OS Support
3. Supported Features
4. Using the Driver
   4.1 Installing the driver
   4.2 Removing the driver
5. Driver Parameters
6. Additional Notes
7. Contacting Support

1. Package Contents 
 * Documentation 
   - README (this document) version: 1.0
   - Release Notes Version: 1.0
 * Driver (if_qlnxe.ko/if_qlnxev.ko)
	- FreeBSD 10.x/11.x

2. OS Support

The Qlogic 45xxx 25/40/100Gigabit Ethernet/CNA driver is compatible with the 
following OS platforms:
 * FreeBSD 10.x/11.x(64-bit) [Intel EM64T, AMD64]

3. Supported Features
Ethernet NIC driver supports following features

* Large Segment Offload over TCP IPV4
* Large Segment Offload over TCP IPV6
* Receive Side scaling
* TCP over IPv4 checksum offload
* UDP over IPv4 checksum offload
* IPV4 checksum offload
* TCP over IPv6 checksum offload
* UDP over IPv6 checksum offload
* Jumbo frames
* VLAN Tag
* HW LRO and soft LRO
* SRIOV


4 Building the driver

     #tar zxvf qlnx.version.tar.gz
     #cd qlnx.version
     #make

5. Using the L2 driver

 5.1 Installing the driver

     kldload -v ./qlnxe/if_qlnxe.ko

 5.2 Removing the driver
 
     kldunload if_qlnxe

 5.3 To enable soft LRO please enable
     #CFLAGS += -DQLNX_SOFT_LRO
     
     Depending on whether you pulled in the latest soft lro patches, you might
     want to have to comment out the following line the Makefile as shown below.

     #CFLAGS += -DQLNX_QSORT_LRO

6. Using the SRIOV driver (For FreeBSD11 and upwards only)

 6.1 Please create the iovctl.conf describing the number of VFs to configure
     and the paramters for each VF (MAC Address and passthrough on/off)
     Please check man pages for "iovctl" "iovctl.conf" for details.

 6.2 Create the VFs

     #iovctl -C -f iovctl.conf

 6.3 Deleting the VFs
     If the VF driver is already laoded on VF devices are attached to VMs please
     shutdown the VMs and/or unload the VF driver as appropriate.

     #iovctl -D -f iovctl.conf

 6.4 Installing/Unloading  the driver

     You can use this option if you like to use VFs in the context of the host OS.
     This is valid only for VFs which have been with Passthrough "false" in the
     iovctl.conf file.

     Make sure that the L2 driver is loaded already.

     To load the driver

     #kldload -v ./qlnxev/if_qlnxev.ko

     To unload the driver

     #kldunload if_qlnxev.ko
  

7. Known Issues
     CQ00094078: FreeBSD11.x:ArrowHead:Crash seen during
		 ifconfig UpDown+Promscious EnableDisable

     CQ00094112: FreeBSD11.x:ArrowHead:Host crashes while unloading qlnxe driver
		 with tcpdump running in parallel


8. Contacting Support 
   Please feel free to contact your Cavium approved reseller or Cavium 
   Technical Support at any phase of integration for assistance. Cavium
   Technical Support can be reached by the following methods: 
   E-mail: support@cavium.com
   (c) Copyright 2017 Cavium Inc. All rights reserved worldwide.

