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

XFCoE Support, Drivers, Supported Distributions, Enabling FCoE

Page 57 highlights

VMware Driver Software: Broadcom NetXtreme II Network Adapter User Guide queues will be set to 1, discarding the value of this parameter. If you would like the use of more then 1 queue, force the number of NetQueues to use via the following command: esxcfg-module -s "multi_mode=1 num_queues=" bnx2x Otherwise, allow the bnx2x driver to select the number of NetQueues to use via the following command: esxcfg-module -s "multi_mode=1 num_queues=0" bnx2x The optimal number is to have the number of NetQueues match the number of CPUs on the machine. FCoE Support This section describes the contents and procedures associated with installation of the VMware software package for supporting Broadcom FCoE C-NICs. Drivers Table 2: Broadcom NetXtreme II FCoE Drivers Driver Description bnx2x This driver manages all PCI device resources (registers, host interface queues, etc.) and also acts as the Layer 2 VMware low-level network driver for Broadcom's NetXtreme II 10G device. This driver directly controls the hardware and is responsible for sending and receiving Ethernet packets on behalf of the VMware host networking stack. The bnx2x driver also receives and processes device interrupts, both on behalf of itself (for L2 networking) and on behalf of the bnx2fc (FCoE protocol) and cnic drivers. The Broadcom VMware FCoE driver is a kernel mode driver used to provide a translation layer between the VMware bnx2fc SCSI stack and the Broadcom FCoE firmware/hardware. In addition, the driver interfaces with the networking layer to transmit and receive encapsulated FCoE frames on behalf of open-fcoe's libfc/libfcoe for FIP/device discovery. The bnx2i driver is Broadcom VMware iSCSI HBA driver. Similar to bnx2fc, bnx2i is a kernel mode driver used to bnx2i provide a translation layer between the VMware SCSI stack and the Broadcom iSCSI firmware/hardware. Bnx2i functions under the open-iscsi framework. Supported Distributions The FCoE/DCB feature set is supported on VMware ESXi 5.0 and above. Enabling FCoE To enable FCoE hardware offload on the C-NIC 1. Determine the ports that are FCoE-capable: # esxcli fcoe nic list Output example: vmnic4 User Priority: 3 Source MAC: FF:FF:FF:FF:FF:FF Active: false Priority Settable: false Source MAC Settable: false VLAN Range Settable: false 1. Enable the FCoE interface: # esxcli fcoe nic discover -n vmnicX Where X is the interface number gained from esxcli fcoe nic list. 2. Verify that the interface is working: # esxcli fcoe adapter list Output example: vmhba34 Source MAC: bc:30:5b:01:82:39 FCF MAC: 00:05:73:cf:2c:ea VNPort MAC: 0e:fc:00:47:04:04 file:///T|/htdocs/NETWORK/BroadCom/71921/NetXtremeII/en/vmware.htm[9/26/2012 3:28:54 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

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]
queues will be set to 1, discarding the value of this parameter.
If you would like the use of more then 1 queue, force the number of NetQueues to use via the following command:
esxcfg-module -s "multi_mode=1 num_queues=<num of queues>" bnx2x
Otherwise, allow the bnx2x driver to select the number of NetQueues to use via the following command:
esxcfg-module -s "multi_mode=1 num_queues=0" bnx2x
The optimal number is to have the number of NetQueues match the number of CPUs on the machine.
FCoE Support
This section describes the contents and procedures associated with installation of the VMware software package for supporting
Broadcom FCoE C-NICs.
Drivers
Table 2: Broadcom NetXtreme II FCoE Drivers
Driver Description
bnx2x
This driver manages all PCI device resources (registers, host interface queues, etc.) and also acts as the Layer 2
VMware low-level network driver for Broadcom's NetXtreme II 10G device. This driver directly controls the hardware
and is responsible for sending and receiving Ethernet packets on behalf of the VMware host networking stack. The
bnx2x driver also receives and processes device interrupts, both on behalf of itself (for L2 networking) and on behalf
of the bnx2fc (FCoE protocol) and cnic drivers.
bnx2fc
The Broadcom VMware FCoE driver is a kernel mode driver used to provide a translation layer between the VMware
SCSI stack and the Broadcom FCoE firmware/hardware. In addition, the driver interfaces with the networking layer
to transmit and receive encapsulated FCoE frames on behalf of open-fcoe's libfc/libfcoe for FIP/device discovery.
bnx2i
The bnx2i driver is Broadcom VMware iSCSI HBA driver. Similar to bnx2fc, bnx2i is a kernel mode driver used to
provide a translation layer between the VMware SCSI stack and the Broadcom iSCSI firmware/hardware. Bnx2i
functions under the open-iscsi framework.
Supported Distributions
The FCoE/DCB feature set is supported on VMware ESXi 5.0 and above.
Enabling FCoE
To enable FCoE hardware offload on the C-NIC
1. Determine the ports that are FCoE-capable:
# esxcli fcoe nic list
Output example:
vmnic4
User Priority: 3
Source MAC: FF:FF:FF:FF:FF:FF
Active: false
Priority Settable: false
Source MAC Settable: false
VLAN Range Settable: false
1. Enable the FCoE interface:
# esxcli fcoe nic discover -n vmnicX
Where
X
is the interface number gained from
esxcli fcoe nic list.
2. Verify that the interface is working:
# esxcli fcoe adapter list
Output example:
vmhba34
Source MAC: bc:30:5b:01:82:39
FCF MAC: 00:05:73:cf:2c:ea
VNPort MAC: 0e:fc:00:47:04:04