On Tue, Nov 25, 2014 at 03:06:43PM +0800, WANG Chao wrote:
On 11/24/14 at 04:54pm, Chris Leech wrote:
> On Mon, Nov 24, 2014 at 03:02:05PM -0800, Andy Grover wrote:
> > iBFT-fu = you. Or I can take a stab.. -A
>
> Hi, jumping in here without full context but ...
>
> You can check the iSCSI node records node.discovery_type value for "fw"
> (iBFT being the most common type of firmware discovery). Non-firmware
> records will be set to something else like send_targets, static, isns.
Thanks Chris.
What about hardware iscsi connection, is it right to determine this by
its transport class?
In open-iscsi terms a session is an activated node record, and a node
record is tied to an iface record. The transport in use is found in the
node record as iface.transport_name and can be tcp, iser (for iSCSI over
RDMA) or a vendor specific hardware driver.
Is it possible (or common) to manually start a connection using a
specific offload driver w/o configurations in HBA's firmware?
Yes, firmware records are generally only used if booting off of iSCSI.
Offloaded sessions are created by specifying an offload iface during the
discovery command (which is also used to create static entries). And
firmware discovery does not always imply offload, as network cards that
only have boot ROM support expose iBFT information and use the tcp
transport once the OS is up.
- Chris