User Tools

Site Tools


solaris:bnxe.4d

bnxe


NAME

bnxe - Broadcom NetXtreme II 10 Gigabit Ethernet Device Driver

SYNOPSIS

/dev/bnxe*

DESCRIPTION

The bnxe Ethernet driver is a multi-threaded, loadable, clonable, GLDv3-based driver supporting the Data Link Provider Interface, dlpi(4P), over Broadcom NetXtreme II 10 Gigabit Ethernet controllers. Multiple NetXtreme II controllers installed within the system are supported by the driver.

The bnxe driver provides basic support for the NetXtreme II 10 Gigabit line of devices. Functions include chip initialization, frame transit and receive, multicast and promiscuous support, and error recovery and reporting. These devices provide 10/100/1000/2500/10000 Mbps networking interfaces.

DRIVER CONFIGURATION

The primary methods of configuration are via modification of the /kernel/drv/bnxe.conf file or execution of the dladm(8) utility. There are many configuration items available and all are thoroughly documented in the /kernel/drv/bnxe.conf file. For changes to this file to take effect, the driver must be reloaded or the system rebooted. To reload the driver with new configuration changes, all bnxe interfaces must be first unplumbed and then the update_drv(8) utility must be executed. For the configuration items that do not require a driver reload, the dladm utility can be used to dynamically change the option.

DEBUGGING

kstat
There are many statistics exposed via kstat by bnxe. The main groups are:

ointr for interrupts statistics
ol2chip for layer 2 chip statistics
ol2driver for layer 2 driver statistics
ol2stats for general layer 2 statistics
olink for detailed link status
omac for GLDv3 MAC layer statistics
orxq# for Rx ring statistics
otxq# for Tx ring statistics
ostats for general driver statistics and version information

To obtain a list of all the individual statistics in these groups, run:

% kstat -m bnxe -i 0 -l

kmdb
There is an MDB module for bnxe that offers a much deeper level of debugging information in comparison to kstat. Depending on how kmdb(1) is initiated the bnxe module might or might not be automatically loaded. If not then is must be loaded manually.

::load /kernel/kmdb/amd64/bnxe

::help bnxe

NAME
bnxe - bnxe driver status

SYNOPSIS
[ addr ] ::bnxe [ -i # ] [ -a | -b | -r | -l | -c # | -f ]

DESCRIPTION
addr:: dev_info address (’::devbindings -q bnxe’)
-i # driver instance # (instead of ’addr::’)
-a show all (basic, interrupts, all chains, fcoe)
-b basic status (default)
-r interrupt status
-l mutex locks status
-c # status for chain # (-1 for all chains)
-f fcoe status

FILES

/dev/bnx[instance]

bnxe character special device

/kernel/drv/bnxe.conf

Driver configuration file

/kernel/drv/amd64/bnxe

64-bit i386 driver binary

/kernel/drv/sparcv9/bnxe

SPARC driver binary

/kernel/kmdb/amd64/bnxe

64-bit i386 debugger module

/kernel/kmdb/sparcv9/bnxe

SPARC debugger module

release.txt

Revision history of the driver

readme.txt

README guide for the driver

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

SEE ALSO

kmdb(1), gld(4D), dlpi(4P), driver.conf(5), attributes(7), dladm(8), ifconfig(8), netstat(8), update_drv(8),

Broadcom NetXtreme II 10 Gigabit Adapter Driver Installation Notes

Writing Device Drivers in Oracle Solaris 11.4

STREAMS Programming Guide

Network Interfaces Guide


solaris/bnxe.4d.txt · Last modified: 2023/07/19 08:58 by A User Not Logged in