]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - share/man/man4/bxe.4
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / share / man / man4 / bxe.4
1 .\" Copyright (c) 2012 Edward Tomasz Napierala <trasz@FreeBSD.org>
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 .\" SUCH DAMAGE.
24 .\"
25 .\" $FreeBSD$
26 .\"
27 .Dd June 25, 2012
28 .Dt BXE 4
29 .Os
30 .Sh NAME
31 .Nm bxe
32 .Nd "Broadcom BCM57710/BCM57711/BCM57711E 10Gb Ethernet adapter driver"
33 .Sh SYNOPSIS
34 To compile this driver into the kernel,
35 place the following lines in your
36 kernel configuration file:
37 .Bd -ragged -offset indent
38 .Cd "device bxe"
39 .Ed
40 .Pp
41 Alternatively, to load the driver as a
42 module at boot time, place the following line in
43 .Xr loader.conf 5 :
44 .Bd -literal -offset indent
45 if_bxe_load="YES"
46 .Ed
47 .Sh DESCRIPTION
48 The
49 .Nm
50 driver provides support for PCIe 10GbE Ethernet adapters based on
51 BCM5771x chips.
52 The driver supports Jumbo Frames, VLAN tagging, IP, UDP and TCP checksum
53 offload, MSI-X, TCP Segmentation Offload (TSO), Large Receive Offload (LRO),
54 and Receive Side Steering (RSS).
55 .Pp
56 For more information on configuring this device, see
57 .Xr ifconfig 8 .
58 .Sh HARDWARE
59 The
60 .Nm
61 driver provides support for various NICs based on the Broadcom BCM5771x
62 family of 10GbE Ethernet controller chips, including the
63 following:
64 .Pp
65 .Bl -bullet -compact
66 .It
67 Broadcom NetXtreme II BCM57710 10GbE
68 .It
69 Broadcom NetXtreme II BCM57711 10GbE
70 .It
71 Broadcom NetXtreme II BCM57711E 10GbE
72 .El
73 .Sh SYSCTL VARIABLES
74 The following variables are available as both
75 .Xr sysctl 8
76 variables and
77 .Xr loader 8
78 tunables:
79 .Bl -tag -width indent
80 .It Va hw.bxe.dcc_enable
81 Enable HP Flex-10 support.
82 Allowed values are 0 to disable and 1 to enable.
83 The default value is 0.
84 .It Va hw.bxe.tso_enable
85 Enable TCP Segmentation Offload.
86 The default value is 1.
87 .It Va hw.bxe.int_mode
88 Set interrupt mode.
89 Allowed values are 0 for IRQ, 1 for MSI/IRQ and 2 for MSI-X/MSI/IRQ.
90 The default value is 2.
91 .It Va hw.bxe.queue_count
92 Specify the number of queues that will be used when a multi-queue
93 RSS mode is selected using bxe_multi_mode.
94 Allowed values are 0 for Auto or 1 to 16 for fixed number of queues.
95 The default value is 0.
96 .It Va hw.bxe.multi_mode
97 Enable Receive Side Steering.
98 Allowed values are 0, which disables all multi-queue/packet sorting
99 algorithms, and 1, which assigns incoming frames to receive queues
100 according to RSS.
101 The default value is 0.
102 .It Va hw.bxe.rx_ticks
103 Control interrupt coalescing for received frames.
104 The first frame always causes an interrupt, but subsequent frames
105 are coalesced until the RX/TX ticks timer value expires and another
106 interrupt occurs.
107 The default value is 25.
108 .It Va hw.bxe.tx_ticks
109 Control interrupt coalescing for trasmitted frames.
110 The first frame always causes an interrupt, but subsequent frames
111 are coalesced until the RX/TX ticks timer value expires and another
112 interrupt occurs.
113 The default value is 50.
114 .It Va hw.bxe.mrrs
115 Allows to set the PCIe maximum read request size.
116 Allowed values are -1 for Auto, 0 for 128B, 1 for 256B, 2 for 512B,
117 and 3 for 1kB.
118 The default value is -1.
119 .El
120 .Sh SEE ALSO
121 .Xr altq 4 ,
122 .Xr arp 4 ,
123 .Xr netintro 4 ,
124 .Xr ng_ether 4 ,
125 .Xr vlan 4 ,
126 .Xr ifconfig 8
127 .Sh HISTORY
128 The
129 .Nm
130 device driver first appeared in
131 .Fx 9.0 .
132 .Sh AUTHORS
133 The
134 .Nm
135 driver was written by
136 .An Gary Zambrano Aq zambrano@broadcom.com
137 and
138 .An David Christensen Aq davidch@broadcom.com .