DragonFly On-Line Manual Pages


BCE(4)		      DragonFly Kernel Interfaces Manual		BCE(4)

NAME

bce -- Broadcom NetXtreme II (BCM5706/BCM5708) PCI/PCIe Gigabit Ethernet adapter driver

SYNOPSIS

To compile this driver into the kernel, place the following lines in your kernel configuration file: device miibus device bce Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): if_bce_load="YES"

DESCRIPTION

The bce driver supports Broadcom's NetXtreme II product family, including the BCM5706 and BCM5708 Ethernet controllers. The NetXtreme II product family is composed of various Converged NIC (or CNIC) Ethernet controllers which support a TCP Offload Engine (TOE), Remote DMA (RDMA), and iSCSI acceleration, in addition to standard L2 Ethernet traffic, all on the same controller. The following features are supported in the bce driver under DragonFly: TCP/UDP checksum offload VLAN tag stripping Interrupt coalescing 10/100/1000Mbps operation in full-duplex mode 10/100Mbps operation in half-duplex mode The bce driver supports the following media types: autoselect Enable autoselection of the media type and options. The user can manually override the autoselected mode by adding media options to rc.conf(5). 10baseT/UTP Set 10Mbps operation. The ifconfig(8) mediaopt option can also be used to select either full-duplex or half-duplex modes. 100baseTX Set 100Mbps (Fast Ethernet) operation. The ifconfig(8) mediaopt option can also be used to select either full-duplex or half-duplex modes. 1000baseT Set 1000baseT operation over twisted pair. Only full-duplex mode is supported. The bce driver supports the following media options: full-duplex Force full duplex operation. half-duplex Force half duplex operation. For more information on configuring this device, see ifconfig(8). The bce driver supports polling(4).

TUNABLES

hw.bce.tx_bds Maximum number of sending BDs which must be pro- cessed by the device before the device updates the status block and generates interrupt. It is used together with hw.bce.tx_ticks to achieve TX inter- rupt moderation. Default value is 24. hw.bce.tx_bds_int Maximum number of sending BDs which must be pro- cessed by the device before the device updates the status block during host interrupt processing. Default value is 20. hw.bce.tx_ticks How often status block should be updated and inter- rupt should be generated by the device, due to send- ing packets. It is used together with hw.bce.tx_bds to achieve TX interrupt moderation. Default value is 1000 (microseconds). hw.bce.tx_ticks_int How often status block should be updated by the device during host interrupt processing, due to sending packets. Default value is 80 (microsec- onds). hw.bce.rx_bds Maximum number of BDs which must be received by the device before the device updates the status block and generates interrupt. It is used together with hw.bce.rx_ticks to achieve RX interrupt moderation. Default value is 24. hw.bce.rx_bds_int Maximum number of BDs which must be received by the device before the device updates the status block during host interrupt processing. Default value is 6. hw.bce.rx_ticks How often status block should be updated and inter- rupt should be generated by the device, due to receiving packets. It is used together with hw.bce.rx_bds to achieve RX interrupt moderation. Default value is 100 (microseconds). hw.bce.rx_ticks_int How often status block should be updated by the device during host interrupt processing, due to receiving packets. Default value is 18 (microsec- onds). hw.bce.msi.enable By default, the driver will use MSI if it is sup- ported. This behavior can be turned off by setting this tunable to 0.

HARDWARE

The bce driver provides support for various NICs based on the Broadcom NetXtreme II family of Gigabit Ethernet controllers, including the fol- lowing: * HP NC370T Multifunction Gigabit Server Adapter * HP NC370i Multifunction Gigabit Server Adapter

DIAGNOSTICS

bce%d: PCI memory allocation failed! The driver has encountered a fatal initialization error. bce%d: PCI map interrupt failed! The driver has encountered a fatal ini- tialization error. bce%d: Unsupported controller revision (%c%d) The driver does not sup- port the controller revision in use. bce%d: Controller initialization failed! The driver has encountered a fatal initialization error. bce%d: NVRAM test failed! The driver could not access the controller NVRAM correctly. bce%d: DMA resource allocation failed! The driver could not allocate DMA memory to setup the controllers host memory data structures. bce%d: Interface allocation failed! The driver could not create a net- work interface for the controller. bce%d: PHY probe failed! The driver could not access the PHY used by the controller. bce%d: Failed to setup IRQ! The driver could not initialize the IRQ han- dler. bce%d: Error: PHY read timeout! The driver could not read a PHY register before the timeout period expired. bce%d: PHY write timeout! The driver could not write to the PHY register because a timeout occurred. bce%d: Timeout error reading NVRAM at offset 0x%08X! The driver could not write to NVRAM because a timeout occurred. bce%d: Unknown Flash NVRAM found! The driver does not recognize the NVRAM device being used and therefore cannot access it correctly. bce%d: Invalid NVRAM magic value! The driver cannot read NVRAM or the NVRAM is corrupt. bce%d: Invalid Manufacturing Information NVRAM CRC! The driver cannot read NVRAM or the NVRAM is corrupt. bce%d: Invalid Feature Configuration Information NVRAM CRC! The driver cannot read NVRAM or the NVRAM is corrupt. bce%d: DMA mapping error! The driver was unable to map memory into DMA addressable space required by the controller. bce%d: Could not allocate parent DMA tag! The driver could not allocate a PCI compatible DMA tag. bce%d: Could not allocate status block DMA tag! The driver could not allocate a DMA tag for the controller's status block. bce%d: Could not allocate status block DMA memory! The driver could not allocate DMA addressable memory for the controller's status block. bce_d: Could not map status block DMA memory! The driver could not map the status block memory into the controller's DMA address space. bce%d: Could not allocate statistics block DMA tag! The driver could not allocate a DMA tag for the controller's statistics block. bce%d: Could not allocate statistics block DMA memory! The driver could not allocate DMA addressable memory for the controller's statistics block. bce%d: Could not map statistics block DMA memory! The driver could not map the statistics block memory into the controller's DMA address space. bce%d: Could not allocate TX descriptor chain DMA tag! The driver could not allocate a DMA tag for the controller's TX chain. bce%d: Could not allocate TX descriptor chain DMA memory! The driver could not allocate DMA addressable memory for the controller's TX chain. bce%d: Could not map TX descriptor chain DMA memory! The driver could not map the TX descriptor chain memory into the controller's DMA address space. bce%d: Could not allocate TX mbuf DMA tag! The driver could not allocate a DMA tag for the controller's TX mbuf memory. bce%d: Unable to create TX mbuf DMA map! The driver could not map the TX mbuf memory into the controller's DMA address space. bce%d: Could not allocate RX descriptor chain DMA tag! The driver could not allocate a DMA tag for the controller's RX chain. bce%d: Could not allocate RX descriptor chain The driver could not allocate DMA addressable memory for the controller's RX chain. bce%d: Could not map RX descriptor chain DMA memory! The driver could not map the RX descriptor chain memory into the controller's DMA address space. bce%d: Could not allocate RX mbuf DMA tag! The driver could not allocate a DMA tag for the controller's RX mbuf memory. bce%d: Unable to create RX mbuf DMA map! The driver could not map the RX mbuf memory into the controller's DMA address space. bce%d: Firmware synchronization timeout! The driver was not able to syn- chronize with the firmware running on the controller. The firmware may be stopped or hung. bce%d: Invalid Ethernet address! The driver was not able to read a valid Ethernet MAC address from NVRAM. bce%d: Reset failed! The driver has encountered a fatal initialization error. bce%d: Byte swap is incorrect! The driver has encountered a fatal ini- tialization error. Contact the author with details of the CPU architec- ture and system chipset in use. bce%d: Firmware did not complete initialization! The driver has encoun- tered a fatal initialization error. bce%d: Bootcode not running! The driver has encountered a fatal initial- ization error. bce%d: Error mapping mbuf into RX chain! The driver could not map a RX mbuf into DMA addressable memory. bce%d: Error filling RX chain: rx_bd[0x%04X]! The driver was unable to allocate enough mbufs to fill the RX chain during initialization. Try increasing the number of mbufs available in the system, increase system memory. bce%d: Failed to allocate new mbuf, incoming frame dropped! The driver was unable to allocate a new mbuf for the RX chain and reused the mbuf for the received frame, dropping the incoming frame in the process. Try increasing the number of mbufs available in the system or increase system memory. bce%d: Controller reset failed! A fatal initialization error has occurred. bce%d: Controller initialization failed! A fatal initialization error has occurred. bce%d: Block initialization failed! A fatal initialization error has occurred. bce%d: Error mapping mbuf into TX chain! The driver could not map a TX mbuf into DMA addressable memory. bce%d: Watchdog timeout occurred, resetting! The device has stopped responding to the network, there is a problem with the cable connection, or a driver logic problem has occurred.. bce%d: Fatal attention detected: 0x%08X! A controller hardware failure has occurred. If the problem continues replace the controller.

SEE ALSO

altq(4), arp(4), ifmedia(4), miibus(4), netintro(4), ng_ether(4), polling(4), vlan(4), ifconfig(8)

HISTORY

The bce device driver first appeared in FreeBSD 6.1.

AUTHORS

The bce driver was written by David Christensen <davidch@broadcom.com>. DragonFly 3.5 April 7, 2012 DragonFly 3.5