Blame SOURCES/0053-iscsiadm-Added-document-for-description-of-iface-att.patch

786c6d
From 072d8b931e8e03875e5220546e68d5fb2e80bcda Mon Sep 17 00:00:00 2001
786c6d
From: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
786c6d
Date: Fri, 22 Nov 2013 05:46:12 -0500
786c6d
Subject: [PATCH] iscsiadm: Added document for description of iface attributes
786c6d
786c6d
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
786c6d
---
786c6d
 sysfs-documentation | 514 ++++++++++++++++++++++++++++++++++++++++++++++++++++
786c6d
 1 file changed, 514 insertions(+)
786c6d
 create mode 100644 sysfs-documentation
786c6d
786c6d
diff --git a/sysfs-documentation b/sysfs-documentation
786c6d
new file mode 100644
786c6d
index 0000000..54fc497
786c6d
--- /dev/null
786c6d
+++ b/sysfs-documentation
786c6d
@@ -0,0 +1,514 @@
786c6d
+Description of iface attributes and their valid values
786c6d
+======================================================
786c6d
+
786c6d
+== IPv4 attributes ==
786c6d
+
786c6d
+ipaddress
786c6d
+---------
786c6d
+IP address in format XXX.XXX.XXX.XXX
786c6d
+
786c6d
+gateway
786c6d
+-------
786c6d
+IP address of the network router or gateway device in format XXX.XXX.XXX.XXX
786c6d
+
786c6d
+subnet
786c6d
+------
786c6d
+Broadcast address in format XXX.XXX.XXX.XXX
786c6d
+
786c6d
+bootproto
786c6d
+---------
786c6d
+The protocol type used to initialize interface
786c6d
+
786c6d
+Valid values: "dhcp" or "static"
786c6d
+
786c6d
+dhcp_dns_address_en
786c6d
+-------------------
786c6d
+Request DNS Server IP Addresses and Domain Name
786c6d
+
786c6d
+If bootproto is set to dhcp and dhcp_dns_address_en is enable,
786c6d
+requests DNS addresses (option 6) and domain name (option 15) in its
786c6d
+DHCP parameter request list.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+dhcp_slp_da_info_en
786c6d
+-------------------
786c6d
+Request SLP DA Information and SLP Scope
786c6d
+If bootproto is set to dhcp and dhcp_slp_da_info_en is enable,
786c6d
+requests SLP DA information (option 78) and SLP scope (option 79)
786c6d
+in its DHCP parameter request list.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+tos_en
786c6d
+------
786c6d
+Enable IPv4 type of service (ToS)
786c6d
+
786c6d
+When tos_en is set to enable, use value set in tos when transmitting IPv4 TCP
786c6d
+packets on iSCSI connections.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+tos
786c6d
+---
786c6d
+IPv4 Type of service (ToS)
786c6d
+
786c6d
+When tos_en is set to enable, use value set in tos when transmitting IPv4 TCP
786c6d
+packets on iSCSI connections.
786c6d
+
786c6d
+Valid range: 8-bit value. [0-255]
786c6d
+
786c6d
+grat_arp_en
786c6d
+-----------
786c6d
+Enable Gratuitous ARP Requests
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+dhcp_alt_client_id_en
786c6d
+---------------------
786c6d
+DHCP Use Alternate Client ID
786c6d
+
786c6d
+When dhcp_alt_client_id_en is set to enable, use the Client ID configured in
786c6d
+dhcp_alt_client_id as its Client ID (DHCP option 61) in outgoing DHCP messages.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+dhcp_alt_client_id
786c6d
+------------------
786c6d
+DHCP Alternate Client ID
786c6d
+
786c6d
+When dhcp_alt_client_id_en is set to enable, use value set in dhcp_alt_client_id
786c6d
+for Client ID in DHCP messages.
786c6d
+
786c6d
+Valid values: 11-byte Client ID 
786c6d
+
786c6d
+dhcp_req_vendor_id_en
786c6d
+---------------------
786c6d
+DHCP Require Vendor ID
786c6d
+
786c6d
+When dhcp_req_vendor_id_en is set to enable, use value set in dhcp_vendor_id as
786c6d
+its vendor ID (DHCP option 60) in outgoing DHCP messages.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+dhcp_use_vendor_id_en
786c6d
+---------------------
786c6d
+DHCP Use Vendor ID
786c6d
+
786c6d
+When dhcp_use_vendor_id_en is set to enable, use value set in dhcp_vendor_id as
786c6d
+its vendor ID (DHCP option 60) in outgoing DHCP messages.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+dhcp_vendor_id
786c6d
+--------------
786c6d
+DHCP Vendor ID
786c6d
+
786c6d
+When dhcp_req_vendor_id_en or dhcp_use_vendor_id_en is set to enable,
786c6d
+use value set in dhcp_vendor_id for Vendor ID in DHCP messages.
786c6d
+
786c6d
+Valid values: 11-byte Client ID 
786c6d
+
786c6d
+dhcp_learn_iqn_en
786c6d
+-----------------
786c6d
+DHCP Learn IQN
786c6d
+
786c6d
+When dhcp_learn_iqn_en is set to enable, iSCSI initiator attempts to use DHCP
786c6d
+to learn its (IQN) iSCSI name.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+fragment_disable
786c6d
+----------------
786c6d
+Fragmentation Disable.
786c6d
+
786c6d
+When fragment_disable is set to disable, iSCSI initiator cannot fragment IP
786c6d
+datagrams.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+incoming_forwarding_en
786c6d
+----------------------
786c6d
+When incoming_forwarding_en is set to enable, iSCSI initiator forwards all
786c6d
+incoming network traffic to the network driver, except for iSCSI TCP packets
786c6d
+destined to the iSCSI initiator.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+ttl
786c6d
+---
786c6d
+IPv4 Time to Live (TTL)
786c6d
+
786c6d
+This attribute contain TTL value sent in IPv4 TCP packets transmitted on
786c6d
+iSCSI connections.
786c6d
+
786c6d
+Valid range: 8-bit value. [0-255]
786c6d
+
786c6d
+== IPv6 attributes ==
786c6d
+
786c6d
+ipaddress
786c6d
+---------
786c6d
+IP address in IPv6 format.
786c6d
+
786c6d
+link_local_addr
786c6d
+---------------
786c6d
+Link local address in IPv6 format.
786c6d
+
786c6d
+router_addr
786c6d
+-----------
786c6d
+Router address in IPv6 format.
786c6d
+
786c6d
+ipaddr_autocfg
786c6d
+--------------
786c6d
+Autoconfigure IPv6 Address.
786c6d
+
786c6d
+Valid values: nd, dhcpv6 or disable
786c6d
+qla4xxx don't support dhcpv6.
786c6d
+
786c6d
+link_local_autocfg
786c6d
+------------------
786c6d
+Autoconfigure IPv6 Link Local Address.
786c6d
+
786c6d
+IPv6 neighbor discovery protocol to discover Link Local Address.
786c6d
+
786c6d
+Valid values: auto or disable
786c6d
+
786c6d
+
786c6d
+router_autocfg
786c6d
+--------------
786c6d
+Autoconfigure IPv6 Router address.
786c6d
+
786c6d
+IPv6 neighbor discovery protocol to discover a default router address.
786c6d
+
786c6d
+Valid values: auto or disable
786c6d
+
786c6d
+link_local_state
786c6d
+----------------
786c6d
+This Read-only attribute show Link Local IP address state in sysfs.
786c6d
+
786c6d
+Valid values: Unconfigured, Acquiring, Tentative, Valid, Disabling, Invalid,
786c6d
+	      Deprecated.
786c6d
+
786c6d
+
786c6d
+router_state
786c6d
+------------
786c6d
+This Read-only attribute shows router state.
786c6d
+
786c6d
+Valid values: Unknown, Advertised, Manual, Stale.
786c6d
+
786c6d
+
786c6d
+grat_neighbor_adv_en
786c6d
+--------------------
786c6d
+Enable Gratuitious Neighbor Advertisement
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+mld_en
786c6d
+------
786c6d
+Enable IPv6 Multicast Listener Discovery
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+flow_label
786c6d
+----------
786c6d
+This attribute specifies the default value of the Flow Label field in the
786c6d
+IPv6 header of TCP packets transmitted on iSCSI connections
786c6d
+
786c6d
+Valid range: 20-bit value. [0-1048575]
786c6d
+Value zero indicates that the traffic is not assigned to a labelled flow.
786c6d
+
786c6d
+traffic_class
786c6d
+-------------
786c6d
+This attribute specifies the IPv6 traffic class value to be used in IPv6
786c6d
+TCP packets transmitted from the firmware on iSCSI connections.
786c6d
+
786c6d
+Valid range: 8-bit value. [0-255]
786c6d
+
786c6d
+hop_limit
786c6d
+---------
786c6d
+This attribute specifies the IPv6 hop limit value to be used in IPv6 TCP
786c6d
+packets transmitted from the firmware on iSCSI connections
786c6d
+
786c6d
+Valid range: 8-bit value. [0-255]
786c6d
+
786c6d
+nd_reachable_tmo
786c6d
+----------------
786c6d
+This attribute specifies the time (in milliseconds) that a node assumes 
786c6d
+that the neighbor is reachable after confirmation.
786c6d
+
786c6d
+Valid range: 4-byte value. [0-4294967295]
786c6d
+
786c6d
+nd_rexmit_time
786c6d
+--------------
786c6d
+This attribute specifies the time (in milliseconds) between retransmitted
786c6d
+neighbor solicitation messages.
786c6d
+
786c6d
+Valid range: 4-byte value. [0-4294967295]
786c6d
+
786c6d
+nd_stale_tmo
786c6d
+------------
786c6d
+This attribute specifies the time (in milliseconds) after which a stale
786c6d
+neighbor or destination cache entry is discarded.
786c6d
+
786c6d
+Valid range: 4-byte value. [0-4294967295]
786c6d
+
786c6d
+dup_addr_detect_cnt
786c6d
+-------------------
786c6d
+This attribute specifies the IPv6 duplicate address detection count
786c6d
+
786c6d
+Valid range: 8-bit value. [0-255]
786c6d
+	     0 - Disable
786c6d
+	     1 - TryOnce
786c6d
+	     2 - TryTwice, and so on
786c6d
+
786c6d
+router_adv_link_mtu
786c6d
+-------------------
786c6d
+IPv6 Router Advertised Link MTU Size.
786c6d
+
786c6d
+Valid range: 1280 bytes to 1500 bytes
786c6d
+
786c6d
+== Common ==
786c6d
+enabled
786c6d
+-------
786c6d
+This attribute is used to enable or disable IPv4 or IPv6 protocol.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+vlan_id
786c6d
+-------
786c6d
+This attribute specifies 12-bit VLAN identifier (VID)
786c6d
+
786c6d
+Valid range: 12-bit value. [1-4094]
786c6d
+
786c6d
+vlan_priority
786c6d
+-------------
786c6d
+This attribute specifies Priority to outbound packets containing the
786c6d
+specified VLAN-ID (VID)
786c6d
+
786c6d
+Valid range: 3-bit value. [0-7]
786c6d
+
786c6d
+vlan_enabled
786c6d
+------------
786c6d
+VLAN Tagging Enable.
786c6d
+
786c6d
+When this attribute is set to enable, use value set in vlan_id and
786c6d
+vlan_priority to transmit IP packets, and discards IP packets that were
786c6d
+received without a matching VLAN ID
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+mtu
786c6d
+---
786c6d
+Ethernet MTU Size.
786c6d
+
786c6d
+This field specifies the maximum payload length in byte of an
786c6d
+Ethernet frame supported by iSCSI initiator.
786c6d
+
786c6d
+Valid values: 576 bytes to 9000 bytes
786c6d
+
786c6d
+port
786c6d
+----
786c6d
+This attribute shows the initiator iSCSI port number.
786c6d
+
786c6d
+ipaddress_state
786c6d
+---------------
786c6d
+This Read-only attribute show IP address state.
786c6d
+
786c6d
+Valid values: Unconfigured, Acquiring, Tentative, Valid, Disabling, Invalid,
786c6d
+	      Deprecated.
786c6d
+
786c6d
+delayed_ack_en
786c6d
+--------------
786c6d
+When this attribute is set to enable, TCP delayed ACK is enabled.
786c6d
+  
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+tcp_nagle_disable
786c6d
+-----------------
786c6d
+When this attribute is set to disable, TCP Nagle algorithm is disabled.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+tcp_wsf_disable
786c6d
+---------------
786c6d
+When this attribute is set to disable, TCP window scale is disabled.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+tcp_wsf
786c6d
+-------
786c6d
+This attribute specifies the TCP window scale factor to be negotiated
786c6d
+on TCP connections.
786c6d
+
786c6d
+Valid range: 8-bit value. [0-255]
786c6d
+
786c6d
+tcp_timer_scale
786c6d
+---------------
786c6d
+The TCP Timer Scale is scale factor that adjusts the time interval between
786c6d
+timer ticks on a TCP connection. The scale factor allows for faster time-outs
786c6d
+for connections running on a very small network, versus connections running
786c6d
+on a very large network.
786c6d
+
786c6d
+Valid range: 3-bit value. [0-7]
786c6d
+
786c6d
+tcp_timestamp_en
786c6d
+----------------
786c6d
+When this attribute is set to enable, iSCSI initiator negotiates to use time
786c6d
+stamps in TCP headers
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+cache_id
786c6d
+--------
786c6d
+This Read-only attribute is used to find the valid cache entries for the
786c6d
+interface.
786c6d
+
786c6d
+For IPv4, ARP cache entry
786c6d
+For IPv6, Neighbor cache entry
786c6d
+
786c6d
+redirect_en
786c6d
+-----------
786c6d
+For IPv4:
786c6d
+When this attribute is set to enable, an ARP redirect can modify the address
786c6d
+resolution protocol (ARP) table and any active connections.
786c6d
+
786c6d
+For IPv6:
786c6d
+When this attribute is set to enable and neighbor advertisements are received,
786c6d
+the connection table is examined and updated if any active connections match
786c6d
+the IP address on the neighbor advertisement. This action is required for
786c6d
+failover and redirect.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+def_taskmgmt_tmo
786c6d
+----------------
786c6d
+This attribute specifies timeout interval in seconds that iSCSI uses for
786c6d
+timing out task-management commands.
786c6d
+
786c6d
+Valid range: 16-bit value [0-65535].
786c6d
+
786c6d
+header_digest
786c6d
+-------------
786c6d
+When this attribute is set to enable iSCSI initiator negotiates for
786c6d
+HeaderDigest=CRC32 and when set to disable negotiates HeaderDigest=none.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+data_digest
786c6d
+-----------
786c6d
+When this attribute is set to enable iSCSI initiator negotiates for
786c6d
+DataDigest=CRC32 and when set to disable negotiates DataDigest=none.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+immediate_data
786c6d
+--------------
786c6d
+When this attribute is set to enable iSCSI initiator negotiates for
786c6d
+ImmediateData=yes and When set to disable negotiates ImmediateData=none
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+initial_r2t
786c6d
+-----------
786c6d
+When this attribute is set to enable iSCSI initiator negotiates for
786c6d
+InitialR2T=yes. When set to disable negotiates InitialR2T=no.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+data_seq_in_order
786c6d
+-----------------
786c6d
+When this attribute is set to enable iSCSI initiator set data sequences
786c6d
+in order
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+qla4xxx does not support out-of-order data sequences
786c6d
+
786c6d
+data_pdu_in_order
786c6d
+-----------------
786c6d
+When this attribute is set to enable iSCSI initiator set Data PDU
786c6d
+in order
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+qla4xxx does not support out-of-order Data PDUs.
786c6d
+
786c6d
+erl
786c6d
+---
786c6d
+Error Recovery Level
786c6d
+
786c6d
+This attribute specifies error recovery level (ERL) supported by the
786c6d
+connection.
786c6d
+
786c6d
+Valid values: 2-bit value [0-2]
786c6d
+
786c6d
+max_recv_dlength
786c6d
+----------------
786c6d
+iSCSI Maximum Receive Data Segment Length.
786c6d
+
786c6d
+This attribute specifies Maximum data segment length in bytes, that receive
786c6d
+in an iSCSI PDU.
786c6d
+
786c6d
+first_burst_len
786c6d
+---------------
786c6d
+iSCSI First Burst Length
786c6d
+
786c6d
+This attribute Specifies the maximum amount of unsolicited data an iSCSI
786c6d
+initiator can send to the target during the execution of a single SCSI command,
786c6d
+in bytes.
786c6d
+
786c6d
+max_outstanding_r2t
786c6d
+-------------------
786c6d
+iSCSI Maximum Outstanding R2T
786c6d
+
786c6d
+This attribute Specifies how many R2T PDUs per command can be outstanding
786c6d
+during an iSCSI session.
786c6d
+
786c6d
+max_burst_len
786c6d
+-------------
786c6d
+This attribute Specifies the maximum length for unsolicited or immediate data
786c6d
+iSCSI session can send or receive.
786c6d
+
786c6d
+chap_auth
786c6d
+---------
786c6d
+When this attribute is set to enable iSCSI session performs authentication
786c6d
+during the security state of login phase.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+bidi_chap
786c6d
+---------
786c6d
+When this attribute is set to enable iSCSI session generates a CHAP challenge
786c6d
+to any target that has issued a CHAP challenge to the iSCSI session.
786c6d
+iSCSI session issues the challenge to the target after responding to the
786c6d
+targets challenge. This attribute is ignored if chap_auth is set to disable.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+discovery_auth_optional
786c6d
+-----------------------
786c6d
+When this attribute is set to enable and the chap_auth is set to enable,
786c6d
+iSCSI session does not require authentication on discovery sessions unless
786c6d
+requested by the peer. When this attribute is set to disable iSCSI session
786c6d
+requires CHAP authentication for a discovery session.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+discovery_logout
786c6d
+----------------
786c6d
+When this attribute is set to enable, iSCSI initiator initiates an iSCSI logout
786c6d
+on a discovery session when discovery is complete (before closing the connection).
786c6d
+When this attribute is set to disable, iSCSI initiator closes the connection when
786c6d
+discovery is complete.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+strict_login_comp_en
786c6d
+--------------------
786c6d
+When this attribute is set to enable, iSCSI initiator enforces the iSCSI login
786c6d
+negotiation rules. When this attribute is set to disable, iSCSI initiator does
786c6d
+not enforce iSCSI login negotiation.
786c6d
+
786c6d
+Valid values: "enable" or "disable"
786c6d
+
786c6d
+initiator_name
786c6d
+--------------
786c6d
+This Read-only attribute contains the iSCSI Name string used by the firmware.
786c6d
-- 
786c6d
1.8.3.1
786c6d