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]
Detailed statistics and configuration information can be viewed using the ethtool utility. See the ethtool man page for more
information.
Linux iSCSI Offload
User Application - brcm_iscsiuio
Open iSCSI User Applications
Bind iSCSI Target to Broadcom NX2 iSCSI Transport Name
Making Connections to iSCSI Targets
Maximize Offload iSCSI Connections
Linux iSCSI Offload FAQ
User Application - brcm_iscsiuio
Run the
brcm_iscsiuio
daemon before attempting to create iSCSI connections. The driver will not be able to establish
connections to the iSCSI target without the daemon's assistance.
brcm_iscsiuio
Open iSCSI User Applications
Install and run the open-iscsi programs,
iscsid
and
iscsiadm
, from the Broadcom distributed open-iscsi packages. Refer to
Packaging
for details. All pre-installed open-iscsi packages need to be removed before the Broadcom iSCSI-supported
packages can be installed.
1. Remove all existing open-iscsi packages.
RHEL5
rpm -e iscsi -initiator-utils
2. Install the source RPM package.
rpm -ivh <open -iscsi -package-name>.src.rpm
3. CD to the RPM path and build the binary driver for your kernel.
cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm ..}
or
rpmbuild -bb SPECS/<open-iscsi -package-name>.spec (for RPM version 4.x.x)
Note that the RPM path is different for different Linux distributions.
4. Install the newly built package.
rpm -ivh RPMS/<arch>/<open-iscsi -package-name>.<arch>.rpm
where <arch> is the machine architecture such as i386.
rpm -ivh RPMS/i386/<open -iscsi -package-name>.i386.rpm
5. Start the daemon.
iscsid
Bind iSCSI Target to Broadcom NX2 iSCSI Transport Name
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=iface_file_name
where the iface file includes the following information for RHEL 5.4, RHEL 5.5, and SLES 11 SP1:
iface.net_ifacename = ethX
iface.iscsi_ifacename = <name of the iface file>
iface.hwaddress = XX:XX:XX:XX:XX:XX
iface.ipaddress = XX:XX:XX:XX