187e4e708SKip Macy.\" Copyright (c) 2007-2008, Chelsio Inc 251a232a0SKip Macy.\" All rights reserved. 351a232a0SKip Macy.\" 451a232a0SKip Macy.\" Redistribution and use in source and binary forms, with or without 551a232a0SKip Macy.\" modification, are permitted provided that the following conditions are met: 651a232a0SKip Macy.\" 751a232a0SKip Macy.\" 1. Redistributions of source code must retain the above copyright notice, 851a232a0SKip Macy.\" this list of conditions and the following disclaimer. 951a232a0SKip Macy.\" 1051a232a0SKip Macy.\" 2. Redistributions in binary form must reproduce the above copyright 1151a232a0SKip Macy.\" notice, this list of conditions and the following disclaimer in the 1251a232a0SKip Macy.\" documentation and/or other materials provided with the distribution. 1351a232a0SKip Macy.\" 1451a232a0SKip Macy.\" 3. Neither the name of the Chelsio Inc nor the names of its 1551a232a0SKip Macy.\" contributors may be used to endorse or promote products derived from 1651a232a0SKip Macy.\" this software without specific prior written permission. 1751a232a0SKip Macy.\" 1851a232a0SKip Macy.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 1951a232a0SKip Macy.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2051a232a0SKip Macy.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2151a232a0SKip Macy.\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 2251a232a0SKip Macy.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2351a232a0SKip Macy.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2451a232a0SKip Macy.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2551a232a0SKip Macy.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2651a232a0SKip Macy.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2751a232a0SKip Macy.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2851a232a0SKip Macy.\" POSSIBILITY OF SUCH DAMAGE. 2951a232a0SKip Macy.\" 3051a232a0SKip Macy.\" * Other names and brands may be claimed as the property of others. 3151a232a0SKip Macy.\" 3232a0d5b1SChristian Brueffer.Dd March 14, 2007 3351a232a0SKip Macy.Dt CXGB 4 3451a232a0SKip Macy.Os 3551a232a0SKip Macy.Sh NAME 3651a232a0SKip Macy.Nm cxgb 3751a232a0SKip Macy.Nd "Chelsio T3 10 Gigabit Ethernet adapter driver" 3851a232a0SKip Macy.Sh SYNOPSIS 3932a0d5b1SChristian BruefferTo compile this driver into the kernel, 4032a0d5b1SChristian Bruefferplace the following lines in your 4132a0d5b1SChristian Bruefferkernel configuration file: 4232a0d5b1SChristian Brueffer.Bd -ragged -offset indent 4332a0d5b1SChristian Brueffer.Cd "device firmware" 4432a0d5b1SChristian Brueffer.Cd "device cxgb" 4551a232a0SKip Macy.Ed 4651a232a0SKip Macy.Pp 4732a0d5b1SChristian BruefferTo load the driver as a 48fed3ad63SChristian Brueffermodule at boot time, place the following line in 4951a232a0SKip Macy.Xr loader.conf 5 : 5051a232a0SKip Macy.Bd -literal -offset indent 5151a232a0SKip Macyif_cxgb_load="YES" 5251a232a0SKip Macy.Ed 5351a232a0SKip Macy.Sh DESCRIPTION 5451a232a0SKip MacyThe 5551a232a0SKip Macy.Nm 5681be5d6dSBruce A. Mahdriver supports Transmit/Receive checksum offload, 5787e4e708SKip MacyJumbo Frames, TCP segmentation offload (TSO), Large Receive Offload (LRO), 5887e4e708SKip MacyVLAN hardware insertion / extraction, and VLAN checksum offload. 5951a232a0SKip MacyFor further hardware information, see 6051a232a0SKip Macy.Pa http://www.chelsio.com/ . 6151a232a0SKip Macy.Pp 6251a232a0SKip MacyFor questions related to hardware requirements, 6351a232a0SKip Macyrefer to the documentation supplied with your Chelsio T3 adapter. 6451a232a0SKip MacyAll hardware requirements listed apply to use with 6551a232a0SKip Macy.Fx . 6651a232a0SKip Macy.Pp 6751a232a0SKip MacySupport for Jumbo Frames is provided via the interface MTU setting. 6851a232a0SKip MacySelecting an MTU larger than 1500 bytes with the 6951a232a0SKip Macy.Xr ifconfig 8 7051a232a0SKip Macyutility configures the adapter to receive and transmit Jumbo Frames. 7151a232a0SKip MacyThe maximum MTU size for Jumbo Frames is 9000. 7251a232a0SKip Macy.Pp 7351a232a0SKip MacyFor more information on configuring this device, see 7451a232a0SKip Macy.Xr ifconfig 8 . 7551a232a0SKip Macy.Sh HARDWARE 7651a232a0SKip MacyThe 7751a232a0SKip Macy.Nm 7887e4e708SKip Macydriver supports 10 Gigabit and 1 Gigabit Ethernet adapters based on the T3 and T3B chipset: 7951a232a0SKip Macy.Pp 8051a232a0SKip Macy.Bl -bullet -compact 8151a232a0SKip Macy.It 8251a232a0SKip MacyChelsio 10GBase-CX4 8351a232a0SKip Macy.It 8451a232a0SKip MacyChelsio 10GBase-LR 8551a232a0SKip Macy.It 8651a232a0SKip MacyChelsio 10GBase-SR 8751a232a0SKip Macy.El 8851a232a0SKip Macy.Sh LOADER TUNABLES 8951a232a0SKip MacyTunables can be set at the 9051a232a0SKip Macy.Xr loader 8 9151a232a0SKip Macyprompt before booting the kernel or stored in 9251a232a0SKip Macy.Xr loader.conf 5 . 9351a232a0SKip Macy.Sh DIAGNOSTICS 9451a232a0SKip Macy.Bl -diag 9551a232a0SKip Macy.It "cxgb%d: Unable to allocate bus resource: memory" 9651a232a0SKip MacyA fatal initialization error has occurred. 9751a232a0SKip Macy.It "cxgb%d: Unable to allocate bus resource: interrupt" 9851a232a0SKip MacyA fatal initialization error has occurred. 9951a232a0SKip Macy.It "cxgb%d: Could not find firmware image %s" 10051a232a0SKip MacyThe appropriate firmware kld module was not installed. 10151a232a0SKip MacyThis is a fatal initialization error. 10251a232a0SKip Macy.El 10351a232a0SKip Macy.Sh SUPPORT 10451a232a0SKip MacyFor general information and support, 10551a232a0SKip Macygo to the Chelsio support website at: 10651a232a0SKip Macy.Pa http://www.chelsio.com/ . 10751a232a0SKip Macy.Pp 10851a232a0SKip MacyIf an issue is identified with the released source code on the supported kernel 10951a232a0SKip Macywith a supported adapter, email the specific information related to the 11051a232a0SKip Macyissue to 111*6c899950SBaptiste Daroussin.Aq Mt support@chelsio.com . 11251a232a0SKip Macy.Sh SEE ALSO 11351a232a0SKip Macy.Xr altq 4 , 11451a232a0SKip Macy.Xr arp 4 , 11551a232a0SKip Macy.Xr netintro 4 , 11651a232a0SKip Macy.Xr ng_ether 4 , 11751a232a0SKip Macy.Xr ifconfig 8 11851a232a0SKip Macy.Sh HISTORY 11951a232a0SKip MacyThe 12051a232a0SKip Macy.Nm 12151a232a0SKip Macydevice driver first appeared in 122b46a157dSChristian Brueffer.Fx 6.3 123b46a157dSChristian Bruefferand 12451a232a0SKip Macy.Fx 7.0 . 12551a232a0SKip Macy.Sh AUTHORS 12632a0d5b1SChristian Brueffer.An -nosplit 12751a232a0SKip MacyThe 12851a232a0SKip Macy.Nm 12951a232a0SKip Macydriver was written by 130*6c899950SBaptiste Daroussin.An Kip Macy Aq Mt kmacy@FreeBSD.org 13132a0d5b1SChristian Bruefferwith substantial support from 132*6c899950SBaptiste Daroussin.An Scott Long Aq Mt scottl@FreeBSD.org . 133