Users Guide
7–Linux Driver Software
Linux iSCSI Offload
59 BC0054508-00 M
Bind iSCSI Target to Marvell iSCSI Transport Name
By default, the Open-iSCSI daemon connects to discovered targets using
software initiator (transport name = 'tcp'). Users who want to offload iSCSI
connection onto C-NIC device should explicitly change transport binding of the
iSCSI iface. Perform the binding change using the iscsiadm CLI utility as follows,
iscsiadm -m iface -I <iface_file_name> -n iface.transport_name -v
bnx2i -o update
Where the iface file includes the following information for 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
iface.transport_name = bnx2i
Ensure that the iface.hwaddress is in lowercase format.
If you want to switch back to use the software initiator, enter the following:
iscsiadm -m iface -I <iface_file_name> -n iface.transport_name -v
tcp -o update
Where the iface file includes the following information:
iface.net_ifacename = ethX
iface.iscsi_ifacename = <name of the iface file>
iface.transport_name = tcp
VLAN Configuration for iSCSI Offload (Linux)
iSCSI traffic on the network may be isolated in a VLAN to segregate it from other
traffic. When this is the case, you must make the iSCSI interface on the adapter a
member of that VLAN.
To configure the iSCSI VLAN, add the VLAN ID in the iface file for iSCSI. In the
following example, the VLAN ID is set to 100.
#Begin Record 6.2.0-873.2.el6
Iface.iscsi_ifacefile name = <>
Iface.ipaddress = 0.0.0.0
Iface.hwaddress = <>
Iface.trasport_name = bnx2i
Iface.vlan_id = 100
Iface.vlan_priority = 0
Iface.iface_num = 100
Iface.mtu = 0