Deleted Added
full compact
bce.4 (233510) bce.4 (236412)
1.\" Copyright (c) 2006 Broadcom Corporation
2.\" David Christensen <davidch@broadcom.com>. 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.\"
8.\" 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27.\" THE POSSIBILITY OF SUCH DAMAGE.
28.\"
1.\" Copyright (c) 2006 Broadcom Corporation
2.\" David Christensen <davidch@broadcom.com>. 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.\"
8.\" 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

21.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27.\" THE POSSIBILITY OF SUCH DAMAGE.
28.\"
29.\" $FreeBSD: head/share/man/man4/bce.4 233510 2012-03-26 15:18:14Z joel $
29.\" $FreeBSD: head/share/man/man4/bce.4 236412 2012-06-01 18:01:51Z sbruno $
30.\"
31.Dd October 7, 2009
32.Dt BCE 4
33.Os
34.Sh NAME
35.Nm bce
36.Nd "Broadcom NetXtreme II (BCM5706/5708/5709/5716) PCI/PCIe Gigabit Ethernet adapter driver"
37.Sh SYNOPSIS

--- 157 unchanged lines hidden (view full) ---

195.El
196.Sh SYSCTL VARIABLES
197The following variables are available as both
198.Xr sysctl 8
199variables and
200.Xr loader 8
201tunables:
202.Bl -tag -width indent
30.\"
31.Dd October 7, 2009
32.Dt BCE 4
33.Os
34.Sh NAME
35.Nm bce
36.Nd "Broadcom NetXtreme II (BCM5706/5708/5709/5716) PCI/PCIe Gigabit Ethernet adapter driver"
37.Sh SYNOPSIS

--- 157 unchanged lines hidden (view full) ---

195.El
196.Sh SYSCTL VARIABLES
197The following variables are available as both
198.Xr sysctl 8
199variables and
200.Xr loader 8
201tunables:
202.Bl -tag -width indent
203.It Va hw.bce.verbose
204Enable/Disable verbose logging and output to the console.
205Useful for debugging (default 0).
203.It Va hw.bce.msi_enable
206.It Va hw.bce.msi_enable
204Whether or not MSI support is enabled in the driver.
205The default value is 1.
207Enable/Disable MSI support (default 1).
208.It Va hw.bce.tso_enable
209Enable/Disable TSO support (default 1).
210.It Va hw.bce.strict_rx_mtu
211Enable/Disable strict RX frame size checking (default 0).
212.It Va hw.bce.hdr_split
213Enable/Disable frame header/payload splitting (default 1).
214.It Va hw.bce.rx_pages
215Set the number of memory pages assigned to recieve packets by the driver.
216Due to alignment issues, this value can only be of the set 1, 2, 4 or 8 (default 2).
217.It Va hw.bce.tx_pages
218Set the number of memory pages assigned to transmit packets by the driver.
219Due to alignment issues, this value can only be of the set 1, 2, 4 or 8 (default 2).
220.It Va hw.bce.rx_ticks
221Time in microsecond ticks to wait before generating a status block updates due to RX processing activity.
222Values from 0-100 are valid.
223A value of 0 disables this status block update.
224Cannot be set to 0 if hw.bce.rx_quick_cons_trip is also 0 (default 18).
225.It Va hw.bce.rx_ticks_int
226Time in microsecond ticks to wait during RX interrupt processing before generating a status block update.
227Values from 0-100 are valid.
228Valid values are in the range from 0-100.
229A value of 0 disables this status block update (default 18).
230.It Va hw.bce.rx_quick_cons_trip
231Number of RX Quick BD Chain entries that must be completed before a status block is generated.
232Values from 0-256 are valid.
233A value of 0 disables this status block update.
234Cannot be set to 0 if hw.bce.rx_ticks is also 0 (default 6).
235.It Va hw.bce.rx_quick_cons_trip_int
236Number of RX quick BD entries that must be completed before a status block is generated duing interrupt processing.
237Values from 0-256 are valid.
238A value of 0 disables this status block update (default 6).
239.It Va hw.bce.tx_ticks
240Time in microsecond ticks to wait before a status block update is generated due to TX activitiy.
241Values from 0-100 are valid.
242A value of 0 disables this status block update.
243Cannot be set to 0 if hw.bce.tx_quick_cons_trip is also 0 (default 80).
244.It Va hw.bce.tx_ticks_int
245Time in microsecond ticks to wait in interrupt processing before a status block update is generated due to TX activity
246Values from 0-100 are valid.
247A value of 0 disables this status block update (default 80).
248.It Va hw.bce.tx_cons_trip
249How many TX Quick BD Chain entries that must be completed before a status block is generated.
250Values from 0-100 are valid.
251A value of 0 disables this status block update.
252Cannot be set to 0 if hw.bce.tx_ticks is also 0 (default 20).
253.It Va hw.bce.tx_cons_trip_int
254How many TX Quick BD Chain entries that must be completed before a status block is generated during an interrupt.
255Values from 0-100 are valid.
256A value of 0 disables this status block update (default 20).
206.El
207.Sh DIAGNOSTICS
208.Bl -diag
209.It "bce%d: PCI memory allocation failed!"
210The driver has encountered a fatal initialization error.
211.It "bce%d: PCI map interrupt failed!"
212The driver has encountered a fatal initialization error.
213.It "bce%d: Unsupported controller revision (%c%d)"

--- 47 unchanged lines hidden (view full) ---

261The driver could not allocate DMA addressable memory for the controller's
262statistics block.
263.It "bce%d: Could not map statistics block DMA memory!"
264The driver could not map the statistics block memory into the controller's DMA
265address space.
266.It "bce%d: Could not allocate TX descriptor chain DMA tag!"
267The driver could not allocate a DMA tag for the controller's
268TX chain.
257.El
258.Sh DIAGNOSTICS
259.Bl -diag
260.It "bce%d: PCI memory allocation failed!"
261The driver has encountered a fatal initialization error.
262.It "bce%d: PCI map interrupt failed!"
263The driver has encountered a fatal initialization error.
264.It "bce%d: Unsupported controller revision (%c%d)"

--- 47 unchanged lines hidden (view full) ---

312The driver could not allocate DMA addressable memory for the controller's
313statistics block.
314.It "bce%d: Could not map statistics block DMA memory!"
315The driver could not map the statistics block memory into the controller's DMA
316address space.
317.It "bce%d: Could not allocate TX descriptor chain DMA tag!"
318The driver could not allocate a DMA tag for the controller's
319TX chain.
269.It "bce%d: Could not allocate TX descriptor chain DMA memory!"
320.It "bce%d: Could not allocate TX descriptor chain DMA memory!
270The driver could not allocate DMA addressable memory for the controller's
271TX chain.
272.It "bce%d: Could not map TX descriptor chain DMA memory!"
273The driver could not map the TX descriptor chain memory into the controller's DMA
274address space.
275.It "bce%d: Could not allocate TX mbuf DMA tag!"
276The driver could not allocate a DMA tag for the controller's
277TX mbuf memory.

--- 63 unchanged lines hidden (view full) ---

341Disabling VLAN tag stripping is not currently supported by the driver.
342.It "bce%d: Watchdog timeout occurred, resetting!"
343The device has stopped responding to the network, there is a problem
344with the cable connection, or a driver logic problem has occurred..
345.It "bce%d: Fatal attention detected: 0x%08X!"
346A controller hardware failure has occurred.
347If the problem continues replace the controller.
348.El
321The driver could not allocate DMA addressable memory for the controller's
322TX chain.
323.It "bce%d: Could not map TX descriptor chain DMA memory!"
324The driver could not map the TX descriptor chain memory into the controller's DMA
325address space.
326.It "bce%d: Could not allocate TX mbuf DMA tag!"
327The driver could not allocate a DMA tag for the controller's
328TX mbuf memory.

--- 63 unchanged lines hidden (view full) ---

392Disabling VLAN tag stripping is not currently supported by the driver.
393.It "bce%d: Watchdog timeout occurred, resetting!"
394The device has stopped responding to the network, there is a problem
395with the cable connection, or a driver logic problem has occurred..
396.It "bce%d: Fatal attention detected: 0x%08X!"
397A controller hardware failure has occurred.
398If the problem continues replace the controller.
399.El
400.Sh SUPPORT
401For general information and support,
402go to the Broadcom NIC Open Source Developer Resource Site:
403.Pa http://www.broadcom.com/support/ethernet_nic/open_source.php .
404.Pp
349.Sh SEE ALSO
350.Xr altq 4 ,
351.Xr arp 4 ,
352.Xr miibus 4 ,
353.Xr netintro 4 ,
354.Xr ng_ether 4 ,
355.Xr vlan 4 ,
356.Xr ifconfig 8
357.Sh HISTORY
358The
359.Nm
360device driver first appeared in
361.Fx 6.1 .
362.Sh AUTHORS
363The
364.Nm
365driver was written by
366.An David Christensen Aq davidch@broadcom.com .
405.Sh SEE ALSO
406.Xr altq 4 ,
407.Xr arp 4 ,
408.Xr miibus 4 ,
409.Xr netintro 4 ,
410.Xr ng_ether 4 ,
411.Xr vlan 4 ,
412.Xr ifconfig 8
413.Sh HISTORY
414The
415.Nm
416device driver first appeared in
417.Fx 6.1 .
418.Sh AUTHORS
419The
420.Nm
421driver was written by
422.An David Christensen Aq davidch@broadcom.com .