Dell Broadcom NetXtreme Family of Adapters Broadcom NetXtreme II Network Adapt - Page 34

Setting Values for Optional Properties, bnx2 Driver

Page 34 highlights

Linux Driver Software: Broadcom NetXtreme II Network Adapter User Guide drivers for other Linux versions can be compiled by modifying the Makefile and the make environment. Further information is available from the Red Hat website, http://www.redhat.com. Setting Values for Optional Properties Optional properties exist for the different drivers: bnx2 Driver bnx2x Driver bnx2i Driver bnx2 Driver disable_msi The disable_msi optional property can be supplied as a command line argument to the insmod or modprobe command. The property can also be set in modprobe.conf. See the man page for more information. All other driver settings can be queried and changed using the ethtool utility. See the ethtool man page for more information. The ethtool settings do not persist across a reboot or module reload. The ethtool commands can be put in a startup script such as /etc/rc.local to preserve the settings across a reboot. NOTE: Some combinations of property values may conflict and result in failures. The driver cannot detect all such conflicting combinations. This property is used to disable Message Signal Interrupts (MSI), and the property is valid only on 2.6 kernels that support MSI. By default, the driver enables MSI if it is supported by the kernel. It runs an interrupt test during initialization to determine if MSI is working. If the test passes, the driver enables MSI. Otherwise, it uses legacy INTx mode. insmod bnx2.ko disable_msi=1 or modprobe bnx2 disable_msi=1 bnx2x Driver disable_tpa The disable_tpa parameter can be supplied as a command line argument to disable the Transparent Packet Aggregation (TPA) feature. By default, the driver will aggregate TCP packets. Use disable_tpa to disable the advanced TPA feature. Set the disable_tpa parameter to 1 as shown below to disable the TPA feature on all NetXtreme II network adapters in the system. The parameter can also be set in modprobe.conf. See the man page for more information. insmod bnx2x.ko disable_tpa=1 or modprobe bnx2x disable_tpa=1 int_mode The int_mode parameter is used to force using an interrupt mode. Set the int_mode parameter to 1 to force using the legacy INTx mode on all NetXtreme II adapters in the system. insmod bnx2x.ko int_mode=1 or modprobe bnx2x int_mode=1 Set the int_mode parameter to 2 to force using MSI mode on all NetXtreme II adapters in the system. insmod bnx2x.ko int_mode=2 or file:///T|/htdocs/NETWORK/BroadCom/71921/NetXtremeII/en/linux.htm[9/26/2012 3:28:46 PM]

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224

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]
drivers for other Linux versions can be compiled by modifying the Makefile and the make environment. Further information is
available from the Red Hat website,
.
Setting Values for Optional Properties
Optional properties exist for the different drivers:
bnx2 Driver
bnx2x Driver
bnx2i Driver
bnx2 Driver
disable_msi
The
disable_msi
optional property can be supplied as a command line argument to the insmod or modprobe command. The
property can also be set in modprobe.conf. See the man page for more information. All other driver settings can be queried
and changed using the ethtool utility. See the ethtool man page for more information. The ethtool settings do not persist
across a reboot or module reload. The ethtool commands can be put in a startup script such as /etc/rc.local to preserve the
settings across a reboot.
NOTE: Some combinations of property values may conflict and result in failures. The driver cannot detect all such
conflicting combinations.
This property is used to disable Message Signal Interrupts (MSI), and the property is valid only on 2.6 kernels that support
MSI. By default, the driver enables MSI if it is supported by the kernel. It runs an interrupt test during initialization to
determine if MSI is working. If the test passes, the driver enables MSI. Otherwise, it uses legacy INTx mode.
insmod bnx2.ko disable_msi=1
or
modprobe bnx2 disable_msi=1
bnx2x Driver
disable_tpa
The
disable_tpa
parameter can be supplied as a command line argument to disable the Transparent Packet Aggregation
(TPA) feature. By default, the driver will aggregate TCP packets. Use disable_tpa to disable the advanced TPA feature.
Set the
disable_tpa
parameter to 1 as shown below to disable the TPA feature on all NetXtreme II network adapters in the
system. The parameter can also be set in modprobe.conf. See the man page for more information.
insmod bnx2x.ko disable_tpa=1
or
modprobe bnx2x disable_tpa=1
int_mode
The
int_mode
parameter is used to force using an interrupt mode.
Set the
int_mode
parameter to 1 to force using the legacy INTx mode on all NetXtreme II adapters in the system.
insmod bnx2x.ko int_mode=1
or
modprobe bnx2x int_mode=1
Set the
int_mode
parameter to 2 to force using MSI mode on all NetXtreme II adapters in the system.
insmod bnx2x.ko int_mode=2
or