Linux Driver Software: Broadcom NetXtreme II Network Adapter User Guide
file:///T|/htdocs/NETWORK/BroadCom/71921/NetXtremeII/en/linux.htm[9/26/2012 3:28:46 PM]
Set the
multi_mode
parameter to 2 as shown below to differentiate the traffic according to the VLAN PRI value.
insmod bnx2x.ko multi_mode=2 pri_map=0x11110000 qs_per_cos=0x404
or
modprobe bnx2x multi_mode=2 pri_map=0x11110000 qs_per_cos=0x404
Set the
multi_mode
parameter to 4 as shown below to differentiate the traffic according to the IP DSCP value.
insmod bnx2x.ko multi_mode=4 pri_map=0x22221100 qs_per_cos=0x10101 cos_min_rate=0x30201
or
modprobe bnx2x multi_mode=4 pri_map=0x22221100 qs_per_cos=0x10101 cos_min_rate=0x30201
bnx2i Driver
Optional parameters
en_tcp_dack
,
error_mask1
, and
error_mask2
can be supplied as command line arguments to the
insmod or modprobe command for bnx2i.
error_mask1
and
error_mask2
"Config FW iSCSI Error Mask #", use to configure certain iSCSI protocol violation to be treated either as a warning or a fatal
error. All fatal iSCSI protocol violations will result in session recovery (ERL 0). These are bit masks.
Defaults: All violations will be treated as errors.
CAUTION!
Do not use
error_mask
if you are not sure about the consequences. These values are to be discussed with
Broadcom development team on a case-by-case basis. This is just a mechanism to work around iSCSI implementation issues
on the target side and without proper knowledge of iSCSI protocol details, users are advised not to experiment with these
parameters.
en_tcp_dack
"Enable TCP Delayed ACK", enables/disables TCP delayed ACK feature on offloaded iSCSI connections.
Defaults: TCP delayed ACK is ENABLED. For example:
insmod bnx2i.ko en_tcp_dack=0
or
modprobe bnx2i en_tcp_dack=0
time_stamps
"Enable TCP TimeStamps", enables/disables TCP time stamp feature on offloaded iSCSI connections.
Defaults: TCP time stamp option is DISABLED. For example:
insmod bnx2i.ko time_stamps=1
or
modprobe bnx2i time_stamps=1
sq_size
"Configure SQ size", used to choose send queue size for offloaded connections and SQ size determines the maximum SCSI
commands that can be queued. SQ size also has a bearing on the number of connections that can be offloaded; as QP size
increases, the number of connections supported will decrease. With the default values, the BCM5708 adapter can offload 28
connections.
Defaults: 128
Range: 32 to 128
Note that Broadcom validation is limited to a power of 2; for example, 32, 64, 128.
rq_size