Users Guide

Table Of Contents
7–Linux Driver Software
Linux iSCSI Offload
Doc No. BC0054508-00 Rev. R
January 21, 2021 Page 60 Copyright © 2021 Marvell
Iface.port = 0
#END Record
Making Connections to iSCSI Targets
Refer to Open-iSCSI documentation for a comprehensive list of iscsiadm
commands. The following 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.qlogic:target1 -o new -I <iface_file_name>
iSCSI Target Discovery Using sendtargets
iscsiadm -m discovery --type sendtargets -p <ipaddr[:port]> -I
<iface_file_name>
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
Maximum Offload iSCSI Connections
With default driver parameters set, which includes 128 outstanding commands,
bnx2i can offload 128 connections on Marvell 5771x adapters.
This quantity is not a hard limit, but just a simple on-chip resource allocation math.
The bnx2i can offload more connections by reducing the shared queue size,
which in turn limits the maximum outstanding tasks on a connection. See “Setting
Values for Optional Properties” on page 44 for information on sq_size and
rq_size. When the maximum allowed connection offload limit is reached, the
driver logs the following message to syslog:
bnx2i: unable to allocate iSCSI context resources
Although not strictly required, Marvell recommends configuring the same
VLAN ID on the iface.iface_num field for iface file identification
purposes.