VMware Driver Software: Broadcom NetXtreme II Network Adapter User Guide
file:///T|/htdocs/NETWORK/BroadCom/71921/NetXtremeII/en/vmware.htm[9/26/2012 3:28:54 PM]
vmkload_mod bnx2x.ko disable_tpa=1
Use ethtool to disable TPA (LRO) for a specific network adapter.
num_rx_queues
The optional parameter
num_rx_queues
may be used to set the number of Rx queues on kernels starting from 2.6.24 when
multi_mode
is set to 1 and interrupt mode is MSI-X. Number of Rx queues must be equal to or greater than the number of
Tx queues (see
num_tx_queues
parameter). If the interrupt mode is different than MSI-X (see
int_mode
parameter), then
then the number of Rx queues will be set to 1, discarding the value of this parameter.
num_tx_queues
The optional parameter
num_tx_queues
may be used to set the number of Tx queues on kernels starting from 2.6.27 when
multi_mode
is set to 1 and interrupt mode is MSI-X. The number of Rx queues must be equal to or greater than the number
of Tx queues (see
num_rx_queues
parameter). If the interrupt mode is different than MSI-X (see
int_mode
parameter),
then the number of Tx queues will be set to 1, discarding the value of this parameter.
pri_map
The optional parameter
pri_map
is used to map the VLAN PRI value or the IP DSCP value to a different or the same CoS in
the hardware. This 32-bit parameter is evaluated by the driver as 8 values of 4 bits each. Each nibble sets the desired
hardware queue number for that priority.
For example, set the
pri_map
parameter to 0x22221100 to map priority 0 and 1 to CoS 0, map priority 2 and 3 to CoS 1,
and map priority 4 to 7 to CoS 2. In another example, set the
pri_map
parameter to 0x11110000 to map priority 0 to 3 to
CoS 0, and map priority 4 to 7 to CoS 1.
qs_per_cos
The optional parameter
qs_per_cos
is used to specify the number of queues that will share the same CoS. This parameter is
evaluated by the driver up to 3 values of 8 bits each. Each byte sets the desired number of queues for that CoS. The total
number of queues is limited by the hardware limit.
For example, set the
qs_per_cos
parameter to 0x10101 to create a total of three queues, one per CoS. In another example,
set the
qs_per_cos
parameter to 0x404 to create a total of 8 queues, divided into only 2 CoS, 4 queues in each CoS.
cos_min_rate
The optional parameter
cos_min_rate
is used to determine the weight of each CoS for Round-robin scheduling in
transmission. This parameter is evaluated by the driver up to 3 values of 8 bits each. Each byte sets the desired weight for
that CoS. The weight ranges from 0 to 100.
For example, set the
cos_min_rate
parameter to 0x101 for fair transmission rate between two CoS. In another example, set
the
cos_min_rate
parameter to 0x30201 to give the higher CoS the higher rate of transmission. To avoid using the fairness
algorithm, omit setting the optional parameter
cos_min_rate
or set it to 0.
dropless_fc
The optional parameter
dropless_fc
can be used to enable a complementary flow control mechanism on Broadcom network
adapters. The default flow control mechanism is to send pause frames when the on-chip buffer (BRB) is reaching a certain
level of occupancy. This is a performance targeted flow control mechanism. On Broadcom network adapters, you can enable
another flow control mechanism to send pause frames if one of the host buffers (when in RSS mode) is exhausted. This is a
"zero packet drop" targeted flow control mechanism.
Set the
dropless_fc
parameter to 1 as shown below to enable the dropless flow control mechanism feature on all Broadcom
network adapters in the system.
vmkload_mod bnx2x dropless_fc=1
Driver Defaults
Speed
: Autonegotiation with all speeds advertised
Flow Control
: Autonegotiation with rx and tx advertised
MTU
: 1500 (range 46–9000)