Add manual page for bxe(4).

Reviewed by:	davidch (earlier version)
MFC after:	1 week
This commit is contained in:
Edward Tomasz Napierala 2012-06-27 10:07:29 +00:00
parent 49074c51cc
commit f275c8618c
2 changed files with 142 additions and 0 deletions

View File

@ -36,6 +36,7 @@ MAN= aac.4 \
${_amdsbwd.4} \
${_amdsmb.4} \
${_amdtemp.4} \
${_bxe.4} \
amr.4 \
an.4 \
${_apic.4} \
@ -562,6 +563,7 @@ MLINKS+=bktr.4 brooktree.4
MLINKS+=bridge.4 if_bridge.4
MLINKS+=bwi.4 if_bwi.4
MLINKS+=bwn.4 if_bwn.4
MLINKS+=${_bxe.4} ${_if_bxe.4}
MLINKS+=cas.4 if_cas.4
MLINKS+=cdce.4 if_cdce.4
MLINKS+=crypto.4 cryptodev.4
@ -714,6 +716,7 @@ _amdsmb.4= amdsmb.4
_amdtemp.4= amdtemp.4
_asmc.4= asmc.4
_atp.4= atp.4
_bxe.4= bxe.4
_coretemp.4= coretemp.4
_cpuctl.4= cpuctl.4
_dpms.4= dpms.4
@ -723,6 +726,7 @@ _hptmv.4= hptmv.4
_hptrr.4= hptrr.4
_i8254.4= i8254.4
_ichwd.4= ichwd.4
_if_bxe.4= if_bxe.4
_if_ndis.4= if_ndis.4
_if_nfe.4= if_nfe.4
_if_nve.4= if_nve.4

138
share/man/man4/bxe.4 Normal file
View File

@ -0,0 +1,138 @@
.\" Copyright (c) 2012 Edward Tomasz Napierala <trasz@FreeBSD.org>
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD$
.\"
.Dd June 25, 2012
.Dt BXE 4
.Os
.Sh NAME
.Nm bxe
.Nd "Broadcom BCM57710/BCM57711/BCM57711E 10Gb Ethernet adapter driver"
.Sh SYNOPSIS
To compile this driver into the kernel,
place the following lines in your
kernel configuration file:
.Bd -ragged -offset indent
.Cd "device bxe"
.Ed
.Pp
Alternatively, to load the driver as a
module at boot time, place the following line in
.Xr loader.conf 5 :
.Bd -literal -offset indent
if_bxe_load="YES"
.Ed
.Sh DESCRIPTION
The
.Nm
driver provides support for PCIe 10GbE Ethernet adapters based on
BCM5771x chips.
The driver supports Jumbo Frames, VLAN tagging, IP, UDP and TCP checksum
offload, MSI-X, TCP Segmentation Offload (TSO), Large Receive Offload (LRO),
and Receive Side Steering (RSS).
.Pp
For more information on configuring this device, see
.Xr ifconfig 8 .
.Sh HARDWARE
The
.Nm
driver provides support for various NICs based on the Broadcom BCM5771x
family of 10GbE Ethernet controller chips, including the
following:
.Pp
.Bl -bullet -compact
.It
Broadcom NetXtreme II BCM57710 10GbE
.It
Broadcom NetXtreme II BCM57711 10GbE
.It
Broadcom NetXtreme II BCM57711E 10GbE
.El
.Sh SYSCTL VARIABLES
The following variables are available as both
.Xr sysctl 8
variables and
.Xr loader 8
tunables:
.Bl -tag -width indent
.It Va hw.bxe.dcc_enable
Enable HP Flex-10 support.
Allowed values are 0 to disable and 1 to enable.
The default value is 0.
.It Va hw.bxe.tso_enable
Enable TCP Segmentation Offload.
The default value is 1.
.It Va hw.bxe.int_mode
Set interrupt mode.
Allowed values are 0 for IRQ, 1 for MSI/IRQ and 2 for MSI-X/MSI/IRQ.
The default value is 2.
.It Va hw.bxe.queue_count
Specify the number of queues that will be used when a multi-queue
RSS mode is selected using bxe_multi_mode.
Allowed values are 0 for Auto or 1 to 16 for fixed number of queues.
The default value is 0.
.It Va hw.bxe.multi_mode
Enable Receive Side Steering.
Allowed values are 0, which disables all multi-queue/packet sorting
algorithms, and 1, which assigns incoming frames to receive queues
according to RSS.
The default value is 0.
.It Va hw.bxe.rx_ticks
Control interrupt coalescing for received frames.
The first frame always causes an interrupt, but subsequent frames
are coalesced until the RX/TX ticks timer value expires and another
interrupt occurs.
The default value is 25.
.It Va hw.bxe.tx_ticks
Control interrupt coalescing for trasmitted frames.
The first frame always causes an interrupt, but subsequent frames
are coalesced until the RX/TX ticks timer value expires and another
interrupt occurs.
The default value is 50.
.It Va hw.bxe.mrrs
Allows to set the PCIe maximum read request size.
Allowed values are -1 for Auto, 0 for 128B, 1 for 256B, 2 for 512B,
and 3 for 1kB.
The default value is -1.
.El
.Sh SEE ALSO
.Xr altq 4 ,
.Xr arp 4 ,
.Xr netintro 4 ,
.Xr ng_ether 4 ,
.Xr vlan 4 ,
.Xr ifconfig 8
.Sh HISTORY
The
.Nm
device driver first appeared in
.Fx 9.0 .
.Sh AUTHORS
The
.Nm
driver was written by
.An Gary Zambrano Aq zambrano@broadcom.com
and
.An David Christensen Aq davidch@broadcom.com .