NetXtreme II
User Guide
January 2010
Bro a d c o m C o rp o r a ti o n
Page 138
Linux iSCSI Offload
Document
ENGSRVT52-CDUM100-R
B
IND
I
SCSI T
ARGET
TO
B
ROADCOM
NX2
I
SCSI T
RANSPORT
N
AME
By default, the open-iscsi daemon connects to discovered targets using software initiator (transport name = 'tcp'). Users who
wish to offload iSCSI connection onto CNIC device should explicitly change transport binding of the iSCSI node. This can
be done using
iscsiadm
cli utility as follows,
iscsiadm --mode node --targetname iqn.2004-06.com.broadcom:tg1 \
--portal 192.168.1.100 --op=update \
--name=node.transport_name --value=${XPORT_NAME}
where XPORT_NAME=bcm570x-xxyyzz
xx - pci bus number of the NX2 device
yy - pci device number of the NX2 device
zz - pci function number of the NX2 device
Network interface to iscsi transport name binding can be obtained by executing the following.
dmesg | grep "bnx2i: netif"
Sample output in a system with two NetXtreme II devices:
bnx2i: netif=eth1, iscsi=bcm570x-050000
bnx2i: netif=eth0, iscsi=bcm570x-030000
If you wish to switch back to use the software initiator, use the following:
iscsiadm --mode node --targetname iqn.2004-06.com.broadcom:tg1 \
--portal 192.168.1.100 --op=update \
--name=node.transport_name --value=tcp
M
AKING
C
ONNECTIONS
TO
I
SCSI T
ARGETS
Refer to open-iscsi documentation for a comprehensive list of
iscsiadm
commands. This is a sample list of commands to
discovery targets and to create iscsi connections to a target.
Add static entry
iscsiadm -m node -p <ipaddr[:port]> -T iqn.2007-05.com.broadcom:target1 -o new
iSCSI target discovery using 'SendTargets'
iscsiadm -m discovery --type sendtargets -p <ipaddr[:port]>
Login to target using 'iscsiadm' command
iscsiadm --mode node --targetname <iqn.targetname> --portal <ipaddr[:port]> --login
List all drives active in the system
'fdisk -l'
Содержание BCM5706C
Страница 192: ...NetXtreme II User Guide January 2010 Broadcom Corporation Page 192 Configuring Teaming Document ENGSRVT52 CDUM100 R...
Страница 218: ...NetXtreme II User Guide January 2010 Broadcom Corporation Page 218 CE Notice Document ENGSRVT52 CDUM100 R...
Страница 219: ...User Guide NetXtreme II January 2010 Broadcom Corporation Document ENGSRVT52 CDUM100 R CE Notice Page 219...
Страница 220: ...NetXtreme II User Guide January 2010 Broadcom Corporation Page 220 CE Notice Document ENGSRVT52 CDUM100 R...
Страница 221: ...User Guide NetXtreme II January 2010 Broadcom Corporation Document ENGSRVT52 CDUM100 R CE Notice Page 221...
Страница 222: ...NetXtreme II User Guide January 2010 Broadcom Corporation Page 222 CE Notice Document ENGSRVT52 CDUM100 R...