This manual contains important information for using this product. Read thoroughly before
using the product. Use this product only after thoroughly reading and understanding
especially the section “Important Alert Items” in this manual. Keep this manual handy, and
keep it carefully.
FUJITSU makes every effort to prevent users and bystanders from being injured or from
suffering damange to their property. Use the product according to this manual.
Functional Limitations
There may be certain functional limitations concerning the specifications and functions of the
products covered by this manual depending on the equipment version, especially concerning
the following functions.
Versions in which there functions can be used will be communicated through
“ENGINEERING CHANGE REQUEST/NOTICE”, issued by Fujitsu.
FunctionEquipment Version Which Supports These Functions
Equipment
Version No.
EPROM
Version No.
Standard INQUIRY Data Product
Revision (ASCII)
READ RAM Command
WRITE RAM
Command
These commands cannot be used in the current version.
(Proceed to the Copyright Page)
C141-E054-02ENi
Page 3
Related Standards
Specifications and functions of products covered by this manual comply with the following
standards.
Standard (Text) No.NameEnacting
NCITS TR-19FIBRE CHANNEL PRIVATE LOOP
ANSI X3. 230-1994FIBRE CHANNEL PHYSICAL AND
ANSI X3. 297-1996FIBRE CHANNEL PHYSICAL AND
ANSI X3. 272-199xFIBRE CHANNEL ARBITRATED
ANSI X3. 269-199xFIBRE CHANNEL PROTOCOL FOR
SCSI DIRECT ATTACH (FC-PLDA)
SIGNALING INTERFACE (FC-PH)
SIGNALING INTERFACE-2 (FC-PH-2)
LOOP (FC-AL)
SCSI (SCSI-FCP)
Organization
American National
Standards Institute
(ANSI)
American National
Standards Institute
(ANSI)
American National
Standards Institute
(ANSI)
American National
Standards Institute
(ANSI)
American National
Standards Institute
(ANSI)
All Rights Reserved, Copyright 1999 Fujitsu, Limited
C141-E054-02ENii
Page 4
REVISION RECORD
EditionDate
published
01April, 1998
02May, 1999
Revised contents
Specification No.: C141-E054-**EN
The contents of this manual is subject to
change without prior notice.
All Rights Reserved.
Copyright 1999
FUJITSU LIMITED
C141-E054-02ENiii
Page 5
This page is intentionally left blank.
Page 6
This manual explains concerning the MAA3182FC (hereinafter described as MAA31xxFC),
MAF3364FC (hereinafter described as MAF33xxFC), MAG3091FC, MAG3182FC
(hereinafter described as MAG3xxxFC) series 3.5 inch hard disk drives with internal Fibre
channel controller.
The purpose of this manual is to provide the specifications and functions of Fibre channel (FC)
for use of these magnetic disk drives incorporated into user systems, and to present the
information necessary for creating host system software. This manual is written for users who
have a basic knowledge of hard disk drives and their use in computer systems.
The composition of manuals related to these disk drives and the range of subjects covered in
this manual are shown in “Manual Organization,” provided on a subsequent page. Please use
these other manuals along with this manual as necessary.
Composition and Contents of This Manual
This manual is composed of the six chapters shown below, a glossary and a list of
abbreviations.
Chapter 1 Fibre Channel Interface
PREFACE
This chapter describes the topology, physical and electrical requirements, interface protocol,
and other operations of the Fibre channel (FC) interface which connects the MAA31xxFC,
MAF33xxFC, MAG3xxxFC.
Chapter 2 Command Processing
This chapter describes the basic logical specifications related to Fibre channel processing.
Chapter 3 Data Buffer Management
This chapter describes the data buffer configuration, data transfer processing functions and
cache operations.
Chapter 4 Command Specifications
This chapter describes detailed command specifications and how to use them.
Chapter 5 Sense Data and Error Recovery Methods
This chapter describes the configuration and contents of sense data which report to the host
system when an error occurs, etc., key information necessary for error recovery, recommended
procedures for error recovery to be executed through host system software and retry
processing.
Chapter 6 Disk Media Management
This chapter describes the procedure for initializing the disk media, methods of treating media
defects and data recovery methods.
C141-E054-02ENv
Page 7
Glossary
The glossary explains technical terms which are necessary to the reader’s understanding when
reading this manual.
List of Abbreviations
This list shows the full spelling of abbreviations used in this manual.
The model name of disk drives covered by this manual differs in its ending suffix (Note 1)
depending on its device type (three types), the electrical conditions of the Fibre channel
interface used to connect the disk drive to the host system and its capacity and data format at
the time it was shipped, but in this manual, except in cases where models need to be especially
distinguished, a representative model name (Note 2) is used. In addition, these disk drives are
called Intelligent Disk Drive (IDD), “drive” or “device” in this manual.
Note 1:Model Name
M AF 3 364 FC
Interface typeFC: Fibre Channel
Formatted capacity (100 MB units)
Warning Indications
The following warning indications are shown in this manual to prevent the user and other
nearby persons or property from being injured or damaged.
IMPORTANT
In the text, the alert signal is centered, followed below by the indented message. A wider line
space precedes and follows the alert message to show where the alert message begins and
ends. The following is an example:
(Example)
Before moving the drive, remove the optical disk cartridge to avoid
head or disk damage
Disk size 3: 3.5 inch
TypeAA: 1.6 inch height, 7,200 rpm
AF: 1.6 inch height, 10,000 rpm
AG: 1 inch height, 10,000 rpm
This indicates information that could help the user use the product more
efficiently.
IMPORTAMT
viC141-E054-02EN
Page 8
Requesting for User’s Comments
Please use the User’s Comment Form attached to the end of this manual to identify user
comments including error, inaccurate and misleading information of this manual. Contact to
your Fujitsu representative for additional comment forms if required.
5.5Disk drive errors and number of retries.......................................................................... 5-24
C141-E054-02ENxix
Page 21
This page is intentionally left blank.
Page 22
CHAPTER 1FIBRE CHANNEL INTERFACE
1.1Topologies in Fibre Channel Interface
1.2Information Transmitted on the Loop
1.3Physical Requirements, Electrical Requirements
1.4Drive Operation on the Loop
1.5Ordered Sets (Refer to FC-PH, Section 11.4 and FC-AL, Chapter 6)
1.6Basic Link Service
1.7Extended Link Service
1.8Extended Link Service (Loop initialization)
1.9FC-4 Device Data
1.10 Errors on Loop (Refer to FP-PH, Section 29.9)
1.11 Enclosure Service Interface (ESI)
1.12 Public Loop
1.13 Dual Loop
This chapter describes the topology, physical and electrical requirements, interface protocol and
operation of the fibre channel interface.
C141-E054-02EN1 - 1
Page 23
1.1Topologies in Fibre Channel Interface
Three kind of topologies are defined in ANSI standards. (Arbitrated Loop, Fabric and Point-toPoint)
The drive only supports one of them, which is Arbitrated Loop (FC-AL).
Figure 1.1 shows the example of connection for disk drives in FC-AL.
Figure 1.1Example of FC-AL connection
BC are port bypass circuits on the back plane commonly, where Node mean the Target or
initiator.
Each Loop signal is transmitted by one-way direction and made of electrical wires called
“link”.
Each node is connected to the loop vial the port which the node owns. Each port consists of
the receiver which receives information from the loop and the transmitter which sends
information.
In this example, each node has two ports building two independent loops. Information is
propagated between the nodes on the loop through serial signals.
This section describes the Node, Port, BC and link forming the above diagram and the signals
propagated on the link.
C141-E054-02EN1 - 2
Page 24
1.1.1Node/Port
②
①
Any device connected to Fibre Channel topology is called “node”.
In the application of this drive, the drive itself and the initiator are the nodes.
Each node has at least one port to connect other nodes and the port is called N_port.
Especially, in FC-AL, the port is called “NL_Port” where “NL” stands for node loop.
The drive provides two ports and each port is connected to each FC-AL.
See Figure 1.1.
1.1.2Link
Each port provides both Receiver and Transmitter.
The drive uses electrical wires (differential signal) to receive or transmit the information.
This pair of wires is called a “link”.
See Figure 1.1.
1.1.3Arbitrated Loop
Arbitrated loops are defined as “private loop” or “public loop”.
Private loop has no FL_port (for fabric loop) and all nodes are NL_ports.
If there is a FL_port which is managing the loop, the loop is called a public.
This can connect up to 126 active NL_port and one FL_port to the same loop.
And the NL_ports use arbitration to establish a Initiator-Target connections.
See Figure 1.1.
1.1.4Port Bypass Circuit (BC)
Port bypass circuit is to bypass the drive if it cannot provide loop services.
For example, by removing the drive, unable to obtain valid data, or by any special condition.
The port bypass circuit is located external to the drive. (for example, on the back plane)
Figure 1.2 shows the relationship between the drive and the circuit.
Port_B
Select
AL-4/FC
drive
Output
Input
Port_A
Note
Select function is performed by “-EN port bypass A” and “-EN port bypass B”.
① Regular route (Bypass circuit off) ②Via bypass (Bypass circuit
BC
M
U
X
To next port
From previous port
Figure 1.2Port Bypass Circuit
C141-E054-02EN1 - 3
Page 25
1.1.5Encoding & Decoding
On FC-AL, the data is encoded prior to transmission and should be decoded when receiving.
The 10-bit character consists of 1,024 data space with 13-bit data mapped 1 control character.
This method is called 8B/10B encoding.
And to prevent too many same signal (ones or zeros), 10-bit character has an option to balance
total numbers of ones or zeros.
This balancing is called “running disparity”.
1.1.6Buffer-to-buffer frame transfer
As shown in Figure 1.3, data transmission occurs from an output buffer in the node part to an
input buffer in the node port.
The basic unit of buffer-to-buffer transfer is the frame.
Figure 1.3Buffer to Buffer Data Transfer
C141-E054-02EN1 - 4
Page 26
1.2Information Transmitted on the Loop
Since information is exchanged between the ports through serial signals, both loop control
information and information at user level are defined in frame format.
The information on the loop is categorized into two groups.
One is “ordered sets” and the other is called “frame”.
Ordered sets consist of four 10-bit character to control port circuit mainly.
And the frame consists of FC-4 Device Data for SCSI protocol and Link Data to control Fibre
Channel layer.
The communication between the ports is done by using the frame defined in FC-PH.
The frame has the port address of source and destination, frame control information and user
protocol (SCSI-Command, data and etc.) information.
a)Ordered Sets is mainly used for control of port circuit.
b) FC-4 Device Data is used for implementation SCSI protocol.
c)Link Data is used for transmission and response for port control data.
This section explains the “Ordered Sets” and “Frame” propagated on the loop.
which consist of four 10 bit character combination.
Each ordered set has string of data shown in Figure 1.4.
The K28.5 special character is always used as the first character of all ordered sets.
Figure 1.4Format of Ordered Sets
1.2.1.1 Primitive Signals
Primitive Signals have a control function to indicate status of the drive or to perform
some operation to the port being connected.
Primitive Signals are recognized when one ordered set is detected.
A minimum of six Primitive Signals must be transmitted between each frame.
The name and the function of Primitive Signals is below.
a)Idle; to indicate the port can transmit or receive the frame
b)R_RDY; to indicate the port has an area for receiving the frame
c)ARBx; to request the right to use the loop. x = AL_PA of the requesting
port
d)ARB (FO) ; to request the right (= lowest priority) to use the loop
e)OPN; to inform the transmission of the frame to the destination port
f)CLS: to inform the release of the loop
1.2.1.2 Frame Delimiters
Frame Delimiters mark the beginning and end of frames.
They are called Start-of-frame (SOF) delimiters and End-of-frame (EOF) delimiters.
1.2.1.3 Primitive Sequence
Primitive Sequence is a control function and requires to be detected.
The name and the function of Primitive sequence is below.
a)LPB ;When received, the drive enables the port bypass circuit and bypasses
b)LPE ;When received, the drive disables the port bypass circuit and connects to
the loop.
the loop.
C141-E054-02EN1 - 6
Page 28
1.2.2Frame Structure (Refer to FC-PH, Chapter 17)
A frame format is shown in Figure 1.5.
4
SOFfill words
1word count
24
Header
0-2048+64 (optional header)
PayloadFrame
0-5286
4
4
1
1
min24byte count
fill wordsEOFCRC
min6
Figure 1.5Frame Format
a)SOF; Start of frame indicates the beginning of the frame.
b)Frame Header ; Used as link control, drive protocol transfer and detect error condition.
R_CTL; Routing Control to categorize the frame.
D_ID; Destination Identifier, N_port address to which the frame is being sent.
S_ID; Source Identifier, N_port address originating the frame.
TYPE; Data Structure Type, identifies the frame protocol.
F_CTL; Frame Control information
SEQ_ID; Sequence Identifier, uniquely identifies frames in a non-streamed sequence.
DF_CTL; Data Field Control, specifies the optional headers in the payload.
This field is not supported by the drive and used as 00h.
SEQ_CNT ; Sequence Count, identifies the order of the frames.
OX_ID; Originator Exchange Identifier, assigned by the originator of an exchange.
This value is similar to Queue Tag in SCSI and must be unique for a
pair between the intiator and the drive.
RX_ID; Responder Exchange Identifier, generated by the responder for a exchange.
OFFSET; Defines the relative displacement of the first byte of the payload from
the base address of the command.
c)Payload; Data field, must be multiple of four bytes.
–If the frame is FC-4 Device Data, the payload has SCSI CDB,
Read/Write Data or status/sense information.
–If the frame is Link Data, the payload has control information for the
drive or the response data to the initiator.
d)CRC; Calculates without including SOF and EOF delimiters.
e)EOF; End of frame indicates the end of a frame.
C141-E054-02EN1 - 7
Page 29
(1)Link Data
Link Data is used when the initiator transmit control code to the target or when the
target responsds to the iniator.
Link Data supported by the drive are listed below.
1. Basic link service
a) Abort Sequence
b) Basic_Accept
c) Basic_Reject
ABTS; SCSI-2 Abort Tag
BA_ACC; accept response to the abor
BA_RJT ; reject response to the abort
2. Extended link service
a) N_Port login
PLOGI; declare the initiator access the
target
b) Logout
LOGO; declare the initiator finished
accessing the target
c) Process Login
PRLI; PRLI is send by the initiator
to a target to establish the
SCSI FCP operating features.
d) Process Logout
PRLO; declare the initiator finished
accessing the target
e) Port Discovery
PDISC; issued by the initiator to
verify the address of the target
after Loop initialization
f) Address Discovery
g) Reinstate Recovery Qualifier
ADISC; same as PDISC
RRQ; issued by the initiator after
LISM; see 1.4.1 Loop Initialization
LIFA; see 1.4.1 Loop Initialization
LIPA; see 1.4.1 Loop Initialization
Acquired
o) Loop Initialization Hard Assigned
p) Loop Initialization Soft Assigned
q) Loop Initialization Report Position
r) Loop Initialization Loop Position
LIHA; see 1.4.1 Loop Initialization
LISA; see 1.4.1 Loop Initialization
LIRP; see 1.4.1 Loop Initialization
LILP; see 1.4.1 Loop Initialization
C141-E054-02EN1 - 8
Page 30
(2)FC-4 Device Data
Exchanges consist of two or more frame sequences between the initator and the target.
Exchanges starts from command frame by the initiator and ends at response frame by
the target.
Four FC-4 Device Data (FCP_CMND_IU, FCP_XFER_RDY_IU, FCP_DATA_IU,
FCP_RSP_IU) are used to implement SCSI protocol. Figure 1.6 explains the
examples of Exchanges in case of SCSI write/read operation.
1)FCP_CMND_IU;includes SCSI command and the control information
2)FCP_XFER_RDY_IU ;permits the data transmission from the initiator to the drive
3)FCP_Data_IU;Read or Write data between the initiator and the drive
4)FCP_RSP_IU;Used by the drive to report status/sense data to the initiator
Figure 1.6Examples of Exchange
C141-E054-02EN1 - 9
Page 31
1.3Physical Requirements, Electrical Requirements
ESD contact
1.3.1Interface connector
The connector for the fibre channel loop bus is an unshielded SCA-2 connector conforming to
SCSI-3 type which has two 20-pin rows spaced 1.27 mm (0.05 inch) apart. Figure 1.7 shows
the fibre channel connector. See Section 1.3.2, 1.3.3 for signal assignments on the connector.
Figure 1.7SCA2 type interface connector (IDD)
C141-E054-02EN1 - 10
Page 32
Figure 1.8Locations of connectors
Pin
Pin
Pin 2
Pin 1
Table 1.3FC-SCA connector: CN1
Pin No.SignalSignalPin No.
01–EN bypass port A+12V charge21
02+12VGND22
03+12VGND23
04+12V+PortA_in24
05–Parallel ESI–PortA_in25
06–Drive presentGND26
07Active LED out+PortB_in27
08–Spindle sync–PortB_in28
09Start_1/MatedGND29
10Start_2/Mated+PortA_out30
11–EN bypass port B–PortA_out31
12*SEL_6–DSK_WRGND32
13*SEL_5–DSK_RD+PortB-out33
14*SEL_4–ENCL_ACK–PortB-out34
15*SEL_3D(3)GND35
16Fault LED outSEL_2D(2)36*
17N.CSEL_1D(1)37*
18N.CSEL_0D(0)38*
19+5VN.C39
20+5V+5V charge40
Note: *1) Signal names in the right column of the table are those in parallel ESI operation.
C141-E054-02EN1 - 11
Page 33
1.3.2Signal function in SFF8045 mode
(1)+12V charge, +5V charge
These signals are used to precharge of the internal circuits to avoid excessive surge current
while hot plugging is being operated.
Before power voltage pins (+12V and +5V) make contact, these precharge pins mate early.
Precharge control circuits are external to the drive.
The voltage provided to the precharge signals are defined in Table 1.4.
The drive starts, and this signal lights when it detects internal failure.
The Fault LED out signal is an open-collector output.
The LED and the current limiting register are external to the drive.
See Table 1.5.
LED off
LED onIOL > 30mA0 < VOL <0.5V
Max Surge to the driveMax Continuous
after charge complete
required the drive
Table 1.5Characteristics of Fault LED out signal
StateCurrentOutput Voltage
–100µA <IOH < 100µA
(3)Active LED out
The signal indicates that the drive starts and is active.
Two alternative indication pattern is defined in SFF-8045 Specification Rev 3.7.
One is “hot plug implementation” for the drives in hot plugged environments.
The other is “legacy implementation” where the compatibility with previous SCSI indication
system is required.
C141-E054-02EN1 - 12
Page 34
The drive supports hot plug implementation described below. [TBD]
a) The Active LED out signal does not light if the drive is not connected.
b) The Active LED out signal blinks for approximately 0.5 sec. intervals when the drive is
spinning. It turns to light when the drive is ready.
c) The Active LED out signal blinks for approximately 0.5 sec. intervals when the drive is
spin-down. It is turned off when the drive is not ready.
d) The Active LED out signal is turned off when the SCSI command is received by the drive
and during processing. And it changed to blink when the command processing is
completed.
(4)Start_1/Mated, Start_2/Mated
These signals controls the method to start the drive’s motor as described Table 1.6.
Also the signals are used to indicate to the drive that the drive has been mated to a backplane.
Table 1.6Definition of motor start/mated control
Start_2/
Mated
open
Start_1/
Mated
open
Function
Drive is not mated to a backplane. The drive’s motor does NOT spin
up.
open
ground
Drive is mated to a backplane. The drive’s motor spins up when the
drive receives SCSI start command after a mating deskew time has
passed.
ground
open
Drive is mated to a backplane. The drive’s motor spins up after a
delay after a mating deskew time has passed.
ground
ground
Drive is mated to a backplane. The drive’s motor spins up
immediately after a mating deskew time has passed.
The mating deskew time is minimum 250 msec.
A 10 KΩ pull up register to 5V for each signal is asserted on the drive.
The open and ground states should be controlled as in Table 1.7.
Table 1.7Electric requirement for input control
StateCurrentVoltage
open
20 µA <IIH < 20 µA
2.2V <VIH < 5.25V
ground0 <IIL <–20 mA–0.5V <VIL <0.7V
(5)–Parallel ESI
This signal in SFF8045 mode is not supported by the drive.
C141-E054-02EN1 - 13
Page 35
(6)SEL_0, _1, _2, _3, _4, _5, _6
These seven SEL lines are provided for the binary value of the loop identifier by the
backplane.
This identifier is name AL_PA and is used for 126 unique value except 00h.
These ID signals are tested by the drive when powered on.
SEL_6 is the most significant bit and SEL_0 is the elast significant bit.
Electric requirement for the signals is listed in Table 1.8.
These signals with high state have approximately 10KΩ register on the backplane.
Table 1.8Electric requirement for SEL_n inputs
StateCurrentVoltage
high
low
–20 µA <IIH < 20 µA
–20 µA <IIL < 20 µA
2.2V <VIH < 5.25V
–0.5V <VIL <0.7V
SEL. ID = (SEL_6, SEL_5, SEL_4, SEL_3, SEL_2, SEL_1, SEL_0)
Port out signals are output by the drive.
These signals are differential copper with a termination of 75 Ω and there is a termination of
150 Ω to output ECL signal label on the loop .
The output circuit is shown in Figure 1.9.
Comparable
to VSC7125
Figure 1.9Fibre Channel output circuit
(8)Port in (+Port A_in, +Port B_in)
These signals are differential copper with 150 Ω termination and are AC coupled with
capacitors.
The input circuit is shown in Figure 1.10.
(9)A, B
These Enable Port Bypass Circuit (PBC) by a bypass signals, which is located external to the
drive.
The functional diagram of these signals is described in Section 1.1.4.
When the drive asserts this signal (low), the Port bypass circuit bypasses the drive which is
connected.
This signal is asserted when;
+Port in
outside of
the drive
–Port in
0.001uF
0.001uF
RX
150 Ω
RY
Figure 1.10 Fibre Channel input circuit
a)detecting of the Loop Port Bypass primitive sequence
b)being removed of the drive from the loop
c)loss of receive clock
d)loss of transmission clock
e)detecting hardware error within the drive
Comparable
to VSC7125
This signal is negated when the drive detects a Loop Port Enable primitive sequence.
C141-E054-02EN1 - 16
Page 38
(10)–Drive present ; This signal connected to the ground.
1.3.3Signal function in SFF8067 mode
(1)–Parallel ESI
–Parallel ESI signal is used to request the enclosure to provide the SEL_x (x = 0-6) addressing
signals and to request ESI block Read/Write operation.
Table 1.9 defines electronic characteristics of this signal.
Table 1.10 Output Characteristics of –Parallel ESI
StateCurrent Drive AvailableOutput Voltage
high
–100 µA <IOH < 100 µA
0< VOH <5.25V
low IOL >1.6 mA0< VOL <0.5V
Table 1.10 shows how –Parallel ESI signal is used in the Enclosure Service Interface.
The SEL_x (x = 0-6) signals change into communication control signals when –Parallel ESI
signal is asserted.
C141-E054-02EN1 - 17
Page 39
1.4Drive Operation on the Loop
This section describes the following as the operations which the drive is required to perform at
FC level:
– Loop initialization
– Arbitration
– Communication between the initiator and target
1.4.1Loop Initialization
(1)Process Outline
Loop Initialization is a process for the purpose listed below.
–To obtain Arbitrated Loop Physical Address (AL_PA) because the drive has no valid
address when powered on.
–To indicate the error on the loop to the other NL_ports.
–To reset particular drive by the initiator.
And the trigger to start Loop Initialization is called LIP.
Loop Initialization is occurred as follows.
a) The drive is powered on.
b) The drive (or all NL_Ports if powered on simultaneously) requests to start Loop Initialization.
; see 1.4.1(3) (LIP)
c) Select loop master (responsible for processing Loop Initialization)
; see 1.4.1(4) (LISM)
d) Each NL_ports on the loop starts the process for obtaining AL_PA.
; see 1.4.4(5) (LIFA/LIPA/LIHA/LISA)
e) Each NL_Ports obtains unique AL_PA and Loop Initialization is terminated.
C141-E054-02EN1 - 18
Page 40
(2)AL_PA
This sub-section describes the addresses (AL_PA) used on the loop.
AL_PA is a 8-bit character and when encoded to 10 bits, AL_PA has an equal number of ones
or zeros to maintain neutral running disparity.
Table 1.11 shows the AL_PA values and the priority used on the loop.
Details of AL_PA is described in Table 1.9.
Values (hex)Priority & Use
00Highest priority and assigned for FL_port.
01-EF126 valid NL_Port address
F0Has no priority and used for fairness algorithm and for Loop
Table 1.11 AL_PA value/priority
The drive does not assume the existence of this value on the loop.
(because of assuming private loop)
01 (highest priority) < ===== > EF (Lowest priority)
Initialization process
F1-F6not used
F7, F8reserved for Loop initialization
othersnot used
Most common method for the disk drive will be to have the backpanel provide a hard assigned
address.
If the drive failed to obtain a hard assigned address, the drive would obtain the address by soft
assigned method. For details, refer to sub-section (5).
C141-E054-02EN1 - 19
Page 41
(3)LIP (Loop Initialization on Primitive)
Loop Initialization is generated by sending any LIPs in Table 1.12.
The NL_Port which received a LIP then transmit the LIP to the next port on the loop.
This cycle terminates when the NL_Port that started the initialization process receives the LIP.
Table 1.12 LIP sequences
LIP typeUseDescription
LIP (F7, F7)
LIP (F7, AL_PS)
Initializing
Loop
LIP (AL_PD, AL_PS) Reset the portThe source port (AL_PS) requests to reset the
LIP (F8, AL_PS)Loop failureThe NL_Port has detected an input failure
LIP (F8, F7)Loop failureThe NL_Port has detected an input failure and
Note:
*1: The drive can issue the LIP.
*2: The drive receives the LIP but does NOT issue LIP (AL_PD, AL_PS).
(4)LISM (Loop Initialization Select Master)
This sub-section describes a process to select the loop master to which the function for
proceeding with each process of Loop Initialization is given.
A NL_Port requests to obtain AL_PA*1
*2
destination port (AL_PD).
The selected port performs to reset after loop
initialization.
*1
AL_PS is the AL_PA of the source port.
*1
the port could not obtain an AL_PA.
Selecting the loop master proceeds as follows. (Figure 1.11)
Figure 1.11 shows the example that three ports exist on the loop and each port has an unique
Port Name which algebraic relationship is n+2>n+1>n.
Steps [1] through [6] are for selecting a port with the smallest unique port name of those
assigned at manufacture, as the loop master.
Steps [8] and [9] are for confirming that the port, which became the loop master by steps [1]
through [6], has become the loop master again.
C141-E054-02EN1 - 20
Page 42
StepPort Name nn+1n+2
[1] Transmits LISM with its own port
name to the next port.
[2] Receives LISM from the upper
loop port.
LISM (n+2)LISM (n)LISM (n+1)
[3] Compares the port name with its
own port name and transmits
LISM with lower port name.
[4] Receives LISM from the upper
loop port.
LISM (n+1)LISM (n)LISM (n)
[5] Compares the port name with its
own port name and transmits
LISM with lower port name.
[6] Receives LISM from the upper
loop port.
LISM (n)LISM (n)LISM (n)
LISM (n)LISM (n+1)LISM (n+2)
LISM (n)LISM (n)LISM (n+1)
LISM (n)LISM (n)LISM (n)
[7] Compares the port name with its
own port name and if they are the
same, the port becomes loop
master.
[8] Loop master transmits ARB (F0)
ans waits for the ARB (F0) comes
back.
[9] Loop master checks ARB (F0)
ARB (F0)
Note:
The value is assigned to each port uniquely in production.
Figure 1.11 Process for selecting Loop master
<non loop master><non loop master><loop master>
ARB (F0)
C141-E054-02EN1 - 21
Page 43
(5)LIFA/LIPA/LIHA/LISA
This sub-section describes a process for each port to obtain AL_PA.
Figure 1.12 shows the process for non loop master to obtain unique AL_PA after ending a
process for selecting the loop master.
Loop Master
LIFA
LIPA
LIHA
LISA
LIRP
Other NL_Port on the loop
; LIFA is used to gather all fabric-assigned AL_PAs.
; LIPA is used to gather all previously-acquired AL_PAs.
The drive attempts to obtain same AL_PA if the drive
obtained the AL_PA in previous initilization.
; LIHA is used to gather all hard assigned AL_PAs.
The drive attempts to obtain AL_PA if it failed to obtain
AL_PA in LIPA.
The drive always attempts to obtain AL_PA when
a) powered on or
b) receiving LIP (AL_PD, AL-PS)
The drive always attempts to obtain same AL_PA.
; LISA is used to assign any remaining AL_PA bits.
The drive attempts to obtain AL_PA if it failed up to
LIHA.
If the drive fails to obtain AL_PA in LISA, then the drive
<== Each NL_Port obtains unique AL_PA here.
<== LIRP and LILP may be caused by the loop master to
confirm the location and address on the loop.
LILP
; LIRP is used to record the relative positions on the loop.
; LILP is used to inform all NL_Ports of their relative
positions on the loop from the loop master.
CLS
Figure 1.12 Loop Master Operation
The abbreviation in this section is below.
LIFA ; Loop Initialization Fabric Assigned
LIPA ; Loop Initialization Previously Acquired
LIHA ; Loop Initialization Hard Assigned
LISA ; Loop Initialization Soft Assigned
LIRP ; Loop Initialization Report Position
LILP ; Loop Initialization Loop Position
C141-E054-02EN1 - 22
Page 44
1.4.2Arbitration
For information to be exchanged between the ports connected to a loop, generally the two
ports (send side and receive side) must occupy the loop (placed in point-to-point connection
state).
Arbitration is a process to win access right on the loop and must be done before
communicating with another port.
When the arbitration is finished, only a pair of a initiator and a target can communicate each
other on the loop.
The drive supports the method called “Access fairness”.
The process on the port supporting fairness movement is below.
a) If two or more ports request to arbitrate, the port with the highest priority (the port with
smallest AL_PA value) wins the arbitration.
b) The port once won the arbitration cannot participate in the arbitration until other port wins
the arbitration and release the loop.
This method protects that the same port uses the loop consecutively.
C141-E054-02EN1 - 23
Page 45
1.4.3Communication between Initiator and Target
This section shows the figure of the protocol using FC-4 Device Data on Fibre Channel layer.
The following procedures are followed to send FC-4 device data.
- Issue ARB by which the source of FC-4 device data asserts the occupation of the loop.
- After occupying the loop, the source issues “Open” to the destination.
- The receiving station responds by R_RDY by the count by which it can receive FC-4 device data.
- The sending station sends FC-4 device data.
- The sending station sends CLS to terminate the occupation of the loop.
A description of each FC-4 device data follows.
(1) Command Transfer
TargetInitiator
ARBx
OPN
R_RDY
FCP_CMND_IU
CLS
When the initiator issues FCP_CMND_IU:
Figure 1.13 Command Transfer
(2) Transfer Ready (X_RDY), Response Transfer (RSP)
TargetInitiator
ARBx
OPN
R_RDY
FCP_XFER_RDY_IU or
FCP_RSP_IU
When the target issues FCP_XFER_RDY_IU
or FCP_RSP_IU
CLS
Figure 1.14 Transfer Ready (X_RDY), Response Transfer (RSP)
C141-E054-02EN1 - 24
Page 46
(3) Write Data Transfer
TargetInitiator
FCP_Data_IU
(4) Read Data Transfer
ARBx
OPN
R_RDY
R_RDY
R_RDY
R_RDY
Write Data 1
R_RDY
Write Data 3
Write Data 4
CLS
Figure 1.15 Write Data Transfer
When the target recognizes the sending of
write data
ARBx
OPN
R_RDY
Read Data 1
R_RDY
Read Data 2
R_RDY
:
Read Data n
CLS
TargetInitiator
When the targetsends read data:
Figure 1.16 Read Data Transfer
C141-E054-02EN1 - 25
Page 47
1.5Ordered Sets (Refer to FC-PH, Section 11.4 and FC-AL, Chapter 6)
Table 1.13 shows the Ordered Sets specification.
This section describes handling of the Ordered Sets of this drive.
receive only (discard)
receive only (discard)
receive only (discard)
receive only (discard)
receive only (discard)
receive or transmit
receive or transmit
receive or transmit
receive or transmit
receive only (discard)
receive only (discard)
receive or transmit
receive only (discard)
receive or transmit
receive or transmit
receive or transmit
receive or transmit
receive only
receive or transmit
receive only (discard)
receive only (discard)
receive only (discard)
receive only (discard)
receive only (discard)
receive or transmit
receive only (discard)
No. Primitive Sequences
01
Offline
02
Not_Operational
03
Link_Reset
04
Link_Reset_Response
05
Loop Initialization
06
Loop Initialization
07
Loop Initialization
08
Loop Initialization
09
Loop Initialization
10
Loop Port Enable
11
Loop Port Enable all
12
Loop Port Bypass
OLS
NOS
LR
LRR
LIP (F7, F7)
LIP (F7, x)
LIP (F8, F7)
LIP (F8, x)
LIPyx
LPEyx
LPEfx
LPByx
receive only (discard)
receive only (discard)
receive only (discard)
receive only (discard)
receive or transmit
receive or transmit
receive or transmit
receive or transmit
receive only
receive only
receive only (discard)
receive only
C141-E054-02EN1 - 26
Page 48
1.6Basic Link Service
This section defines handling of the link service of this drive and handling of each frame.
Table 1.14 shows the Link Data specification
No.Basic Link ServiceSymbolThe drive can;
01
No Operation
02
Abort Sequence
03
Basic Accept
04
Basic Reject
Table 1.14 Basic Link Data Specification
NOP
ABTS
BA_ACC
BA_RJT
receive only (discard)
receive only
transmit if only the drive received ABTS
transmit if only the drive received ABTS
C141-E054-02EN1 - 27
Page 49
The Basic Link Services supported by this drive are the Abort Sequence (ABTS) and its
responses, Basic Accept (BA_ACC) and Basic Reject (BA_RJT). Other Basic Link Services
are discarded.
The header field of the Basic Link Service is defined below.
Word0123Byte
Header0<R_CTL>
8x
1 Reserve<S_ID>
2 <TYPE>
00
3 <SEQ_ID><DF_CTL><SEQ_CNT>
4<OX_ID><RX_ID>
5<Parameter>
<D_ID>
<F_CTL>
(1) R_CTL.. (Routing Control)
The high order four bits (8h) represent Basic
Link Service, and the low order four bits each
Basic Link Service.
(2) D_ID.. (Destination Identifier)
• Address of the drive which receives ABTS.
• Address of the initiator for a response to
ABTS.
(3) S_ID.. (Source Identifier)
• Address of the initiator which sends
ABTS.
• Address of the drive for a response to
ABTS.
(4) Type
The Basic Link Service uses 00h.
(5) F_CTL.. (Frame Control)
• Set 09000000h for the transmission of
ABTS.
(Originator of Exchange, Last Data Frame
of Sequence, Transfer Sequence Initiative)
• Set 99000000h for a response to ABTS.
(Responder of Exchange, Last Sequence of
Exchange)
(6) SEQ_ID.. (Sequence Identifier)
The drive does not check this item. For a
response to ABTS, respond with the same
SEQ_ID as received.
(7) DF_CTL.. (Data Field Control)
Set 00h because no optional header is used.
(8) SEQ_CNT.. (Sequence Count)
Set 0000h to indicate the first frame of a
sequence.
C141-E054-02EN1 - 28
Page 50
1.6.1Abort Sequence (ABTS)
(9) OX_ID.. (Originator Exchange Identifier)
• Assigned for the initiator to begin the
exchange of ABTS.
• For a response to ABTS, respond with the
same OX_ID as received.
(10) RX_ID.. (Responder Identifier)
Set FFFFh to indicate that RX_ID is unused.
(11) Parameter
Unused in the Basic Link Service.
ABTS
0123Byte
Word
Header0<R_CTL>
81××
1 Reserve
00××
2 <TYPE>
0009
3 <SEQ_ID
>
××
4
××××FFFF
5
00000000
FC-PH 21.2.2
<SOF>
<DF_CTL>
000000
<CRC>
<EOF>
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<SEQ_CNT>
<RX_ID><OX_ID>
The initiator issues an Abort Sequence (ABTS) to
abort one SCSI Exchange (SCSI CMD) or FC
Exchange (one link service). For the header field,
refer to Section 1.6, "Basic Link Service."
As shown in the figure for the Abort Sequence
frame, this ABTS frame has no payload. The
ABTS frame has a value of 81h in R_CTL of the
header.
C141-E054-02EN1 - 29
Page 51
1.6.2Basic Access (BA_ACC)
BA_ACC
0123Byte
Word
Header0<R_CTL>
84××
1 Reserve
00××
2 <TYPE>
0099
3 <SEQ_ID
>
××
4
××××FFFF
5
00000000
Payload
000000000
1
××××××××
2Low SEQ_CNTHigh SEQ_CNT
FC-PH 21.2.3
<SOF>
<D_ID>
<S_ID>
<F_CTL>
<DF_CTL>
000000
<OX_ID>
FC-PH T.58
OX_IDRX_ID
<CRC>
<EOF>
××××
××××
0000
<SEQ_CNT>
<RX_ID>
Reserve
The drive responds with BA_ACC to the initiator
when the received ABTS frame is correct.
The payload field of the BA_ACC frame is
described below. For the header field, refer to
Section 1.6, "Basic Link Service."
Word xx/ and byte y of the payload are represented
by [PL:Wxx/By].
(1) SEQ_ID Valid.. (Routing Control)
[PL:W00/B0]
00h: Indicates that the SEQ_ID of last sequence
of word 0/byte 2 is invalid.
(2) Last SEQ_ID.. (SEQ_ID of last sequence)
[PL:W00/B1]
00h: Invalid according to the setting in (1).
(3) OX_ID.. (Originator Exchange Identifier)
[PL:W01/B0-1]
Same value as OX_ID received for ABTS.
(4) RX_ID.. (Originator Exchange Identifier)
[PL:W01/B2-3]
Same value as RX_ID received for ABTS.
(FFFFh)
C141-E054-02EN1 - 30
Page 52
1.6.3Basic Reject (BA_RJT)
BA_RJT
0123Byte
<SOF>
<R_CTL>
85××
Reserve
00××
<TYPE>
0099
<SEQ_ID
>
××
<OX_ID>
××××FFFF
00000000
ReserveT.59
FC-PH 21.2.4
<D_ID>
××××
<S_ID>
××××
<F_CTL>
<DF_CTL>
0000
<SEQ_CNT>
000000
FC_PH F.57
T.60
Reason
Explanation
<CRC>
<EOF>
Vendor
The drive responds with BA_RJT to the initiator
when RX_ID of the received ABTS frame is not
FFFFh.
The payload field of the BA_RJT frame is
described below. For the header field, refer to
Section 1.6, "Basic Link Service."
Word xx/ and byte y of the payload are represented
by [PL:Wxx/By].
(1) Reason Coded [PL:W00/B1]
03h: Logical error code returned when RX_ID
of ABTS is not FFFFh.
(2) Reason Explanation [PL:W00/B2]
03h: Code of invalid OX_ID-RX_ID
combination.
(3) Vender Unique (PL:W00/B3]
00h: Not supported by the drive.
C141-E054-02EN1 - 31
Page 53
1.7Extended Link Service
Table 1.15 Extended Link Data Specification
No.Extended Link ServiceSymbolThe drive can;
01
N_Port Login
02
Logout
03
Process Login
04
Process Logout
05
Read Link Status
06
Reinstate Recovery Qualifier
07
Port Discovery
08
Address Discovery
09
Third-Party Process Logout
10
Accept
11
Link Service Reject
The Extended Link Services supported by this drive are the Link Service Command and its
responses, Accept (ACC) and Link Service Reject (LS_RJT).
The header field of the Extended Link Service is defined below.
receive only
receive or transmit
receive only
receive or transmit
receive only
receive only
receive only
receive only
receive only
transmit if only received Extended Link
transmit if only received Extended Link
Service was illegal or has fails.
Word0123Byte
Header0<R_CTL>
2x
1<S_ID>
2 <TYPE>
01
3 <SEQ_ID><DF_CTL><SEQ_CNT>
4<OX_ID><RX_ID>
5<Parameter>
<D_ID>
<F_CTL>
(1) R_CTL.. (Routing Control)
The high order four bits (2h) represent
Extended Link Service, and the low order four
bits each Extended Link Service.
(2) D_ID.. (Destination Identifier)
• Destination address for the frame.
(3) S_ID.. (Source Identifier)
• Source address for the frame.
(4) Type
The Extended Link Service uses 01h.
(5) F_CTL.. (Frame Control)
• Set 290000h for the Extended Link Service
Command.
(Originator of Exchange, First Sequence of
Exchange, Last Data Frame of Sequence,
Transfer Sequence Initiative)
• Set 990000h for a response to the
Extended Link Service Command.
(Responder of Exchange, Last Sequence of
Exchange)
C141-E054-02EN1 - 32
Page 54
(6) SEQ_ID.. (Sequence Identifier)
• The drive does not check this item.
• The drive responds with FFh.
(7) DF_CTL.. (Data Field Control)
Set 00h because no optional header is used.
(8) SEQ_CNT.. (Sequence Count)
• The drive does not check this item.
• The drive responds with 0000h.
(9) OX_ID.. (Originator Exchange Identifier)
• The drive responds with OX_ID received
from the initiator.
(10) RX_ID.. (Responder Identifier)
Set FFFFh to indicate that RX_ID is unused.
(11) Parameter
Unused in the Extended Link Service.
C141-E054-02EN1 - 33
Page 55
1.7.1Port Login (PLOGI/PLOGI_ACC)
01230123Byte
Word
Header0<R_CTL>
22××
1 Reserve
00××
2 <TYPE>
0129
3
××000000FF000000
4
××××FFFF××××FFFF
5
0000000000000000
Payload
0 0300000002000000
1FC-PH Ver.
FC-PH T.100.
2 Common featureBB Rev. Data
Total Conc.
Sequence
~
~
~
~
~
~
~
~
~
~
~
~
~
~
FC-PH F.61: Common Service Parameter
FC-PH F.62: Class3 Service Parameter
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<SEQ_CNT><DF_CTL><DF_CTL><SEQ_ID>
<RX_ID><OX_ID>
FC-PH T.71
FC-PH F.61
BB Credit
field size
RO by Inf.
category
E_D_TOV
N_Port_Name (8 Byte)Port_Name (8 Byte)
Node_Name (8 Byte)Node_Name (8 Byte)
Class1 Service Parm.
FC-PH F.62 (16 Byte)
Class2 Service Parm.
FC-PH F.62 (16 Byte)
Class3 Service Parm.
FC-PH F.62 (16 Byte)
Reserve (16 Byte)Reserve (16 Byte)
Vendor (16 Byte)
Version Level
<CRC><CRC>
FC-PH 21.4.7FC-PH 21.4.7
~~~
~~~
~~~
~~~
~~~
~~~
~~~
<R_CTL>
Reserve
<TYPE>
~
~
~
~
~
~
~
<SOF><SOF>
23××
00××
0199
FC-PH T.72
FC-PH F.61
Common Service Parm.
(Same as PLOGI)
Class1 Service Parm. (16 Byte)
Class2 Service Parm. (16 Byte)
Class3 Service Parm. (16 Byte)
Vendor (16 Byte)
Version Level
<EOF><EOF>
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<SEQ_CNT>
<RX_ID><OX_ID>
The initiator issues PLOGI to establish the
connection with the drive by notifying the drive of
the service parameter. The drive responds with
PLOGI_ACC when the frame of the received
PLOGI is correct.
The payload field of the PLOGI/PLOGI_ACC
frame is described below. For the header field, refer
to Section 1.7, "Extended Link Service."
Word xx/ and byte y of the payload are represented
by [PL:Wxx/By].
(1) LS_Command code [PL/W00/B0]
03h: Indicates PLOGI.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
02h: Indicates PLOGI_ACC.
• The drive responds with LS_RJT(0Bh,
00h) when this field is an unsupported
Link Service code.
(2) Common Service Parameter [PL:W01-04]
For details, refer to "1.7.1.2 Common Service
Parameter."
(3) N_Port Name [PL:W05-06]
N_Port Name is used to specify two or more
ports which a device has. In PLOGI, the N_Port
Name of the initiator is entered and the drive
saves the N_Port Name of the initiator.
In PLOGI_ACC, the N_Port Name of the drive
is entered. For details, refer to "1.7.1.1 Port
Name/Node Name."
(4) Node Name [PL:W07-08]
Node Name is used to specify a device. In
PLOGI, the N_Port Name of the initiator is
entered and the drive saves the N_Port Name of
the initiator.
In PLOGI_ACC, the Node Name of the drive is
entered. For details, refer to "1.7.1.1 Port
Name/Node Name."
C141-E054-02EN1 - 34
Page 56
1.7.1.1 Port/Node Name format
(5) Class 1 Service Parameters [PL:W09-12]
This drive does not check Class 1 Service
Parameter.
(6) Class 2 Service Parameters [PL:W13-16]
This drive does not check Class 2 Service
Parameter.
(7) Class 3 Service Parameters [PL:W17-20]
For details, refer to "xxx Class 3 Service
Parameters."
(8) Vender Version Level [PL:W25-28]
This field is vender-unique.
bit76543210
WD Byte
10 NAA (Name Address Authority)
= h ’2’
1
= h ‘00’
2 (MSB)
3
20(LSB)
1 (MSB)
2
3(LSB)
24bit IEEE Conpany_ID
= h ‘00000E’
24bit Conpany assigned value
Port Number
(1) Name Address Authority (NAA) [bit63-60]
2h: Denotes the format of IEEE Extended.
(2) Port Number [bit59-56]
0h: Device Node name
1h: Port A of the device
2h: Port B of the device
(3) Company_ID [bit47-24]
Value registered in IEEE, denoting the
company which has supplied the device.
(4) Company Assigned value [bit23-00]
Unique value assigned to each device.
C141-E054-02EN1 - 35
Page 57
1.7.1.2 Common Service Parameter
= h ‘20’
= h ‘20’
bit76543210
WD Byte
FC-PH Version (High)
1 0
FC-PH Version (Low)
1
2 (MSB)
3no-check(LSB)
2 0 Contin
1 h ‘00’Reserved
20
3 256 ≤ Field size ≤ Check if the field size is a multiple of 4 byte in 2112.(LSB)
3 0 h ‘00’ Reserved
1 Total Concullent Sequences
2 (MSB)
3 =h‘0002’/no-check(LSB)
4 0 (MSB)
1
2
3=h‘000007D0’ (1ms × 2000=2sec)/no-check(LSB)
Buffer-to-Buffer Credit
Common features (Word 2/Byte 0-1)
Random
Valid
Increasing
Relative
Offset
Offset
=1
=0
Buffer-to-Buffer Rcv Data Field Size (Word 2/Byte 2-3)
Reserved0Reserved0Reserved0Reserved
≠ 0
Relative Offset by Information Category
Point to Point
E_D_TOV
Vendor
Version
Ignorance
(=0)
N_Port/
F_Port
=0
Alternate
BB Credit
Reserved0Reserved0Reserved
Management
=1
(MSB)
0
(1) Highest version supported [PL:W01/B0]
Latest version number of FC-PH supported by
the device.
09h: Denotes FC-PH version 4.3.
• The drive responds with LS_RJT (03h,
0Fh) when (this field) < 09h.
• For ACC, the drive responds with 09h.
(2) Lowest version supported [PL:W01/B1]
Lowest version number of FC-PH supported by
the devic e.
09h: Denotes FC-PH version 4.3.
• The drive responds with LS_RJT (03h,
0Fh) when (this field) < 09h.
• For ACC, the drive responds with 09h.
(3) Buffer-to-buffer Credit [PL:W01/B2-3]
• The drive does not check this field and
operates assuming that Buffer to buffer
Credit is zero.
• For ACC, the drive responds with 0000h.
(4) Common features [PL:W02/B0-1]
a)1b:Continuously Increasing Offset
[B0/bit7]
• The drive responds with LS_RJT (03h,
0Fh) when (this bit) = 0b.
• For ACC, the drive responds with 1b.
b) 0b: Random Relative Offset [B0/bit6]
• The drive does not check this bit and
does not support this function.
• For ACC, the drive responds with 0b.
c)0b: Valid Vendor Version [B0/bit5]
• The drive does not check this bit and
does not support this function.
• For ACC, the drive responds with 0b.
d) 0b: N_Port/F_Port [B0/bit4]
• The drive responds with LS_RJT (03h,
0Fh) when (this bit) = 1.
• For ACC, the drive responds with 0b.
e)1b: Alternate BB_Credit Management
[B0/bit3]
C141-E054-02EN1 - 36
Page 58
• The drive responds with LS_RJT (03h,
0Bh) when (this bit) = 0.
• For ACC, the drive responds with 1b.
(5) Buffer-to-buffer Receive Size [PL:W02/B2-3]
• The drive responds with LS_RJT (03h,
07h) when 256 = < (this field) = < 2112
not a multiple of 4.
• The drive responds with the value of the
receive data field size of class 3 parameter
of PLOG1 by ACC.
(6) Total Concurrent Sequence [PL:W03/B1]
• The drive does not check this field.
• For ACC, the drive responds with FFh.
(7) Relative Offset by category [PL:W03/B2-3]
• The drive does not check this field.
• For ACC, the drive responds with 0002h.
(This indicates that Information Category is
Solicited data when bit 1 = 1.)
(8) Point-to-point E_D_TOV value [PL:W04/B0-3]
This field is significant for point-to-point
connection and invalid for loop connection.
• The drive does not check this field.
C141-E054-02EN1 - 37
Page 59
1.7.1.3 Class 3 Service Parameter
bit76543210
WD Byte
Service Options (Word 17/Byte 0-1)
17 0 Class
18 0 ACK_0/ACK_N capable
19 0 h ‘00’ Reserved
20 0 h ‘00’ Reserved
Intermix
Validity
= 1
1 h ‘00’ Reserved
Initiator Control (Word 17/Byte 2-3)
2 Sequencial Initiator
X_ID reassignment
= 00
3 Initiator Data
compression History
buffer size
= 00
Recipient Control (Word 18/Byte 0-1)
Ignorance (=00)
1 Data
Complition
capable
=0
Receive data field size (Word 2/Byte 2-3)
20
Reserved0Reserved0Reserved0Reserved
3 256 ≤ Field size ≤ Check if the field size is a multiple of 4 byte in 2112.(LSB)
1 Concurrent Sequences ≠ 0
2 (MSB)
3(LSB)
1 Open Sequences per Exchange ≠ 0
23h ‘0000’ Reserved
Stacked Connect
Mode
Requests
Ignorance
Ignorance (=00)
(=0)
Initial Responder
Process Associator
= 00
b ‘000000’ Reserved
X_ID
interlock
Ignorance
(=00)
Data compression
History buffer size
=00
N_Port End-to-end Credit
Ignorance (= h ‘0000’)
Sequential
Delivery
Ignorance
(=0)
Sequence Initiator
ACK_O/ACK_N capable
Ignorance (= 00)
Error Policy Supported
=00
b ‘000000’ Reserved
(MSB)
Dedicated
Simplex
Ignorance
(=0)
0
Reserved
Camp-on
Ignorance
(=0)
ACK
generation
assistance
Ignorance
(=0)
Categories per Sequence
=00 (one)
Buffered
Class1
Ignorance
(=0)
Initiator
Data comp
capable
Ignorance
(=0)
(1) Service Options [PL:W17/B0-1]
a)1b: Class Validity [B0/bit7]
• The drive responds with LS_RJT(03h,
01h) when (this bit) = 0b.
• For ACC, the drive responds with 1b.
b) Intermix Mode [B0/bit6]
• This field is invalid for Class 3 and the
drive ignores it.
c)Stacked Connect Request [B0/bit5-4]
• This field is invalid for Class 3 and the
drive ignores it.
d) Sequential Delivery [B0/bit3]
• This field is invalid for Class 3 and the
drive ignores it.
e)Dedicated Simplex [B0/bit2]
• This field is invalid for Class 3 and the
drive ignores it.
f)Camp-On [B0/bit1]
• This field is invalid for Class 3 and the
drive ignores it.
g) Buffered Class 1 [B0/bit0]
• This field is invalid for Class 3 and the
drive ignores it.
(2) Initiator Control [PL:W17/B2-3]
a)00b: Sequence Initiator X_ID reassignment
[B2/bit7-6]
• The drive does not check this field.
b) 00b: Initial Responder Process Associator
[B2/bit5-4]
• The drive responds with LS_RJT(03h,
03h) when (this bit) ≠ ‚00b.
c)Sequence Initiator ACK_O/ACK_N
capable [B2/bit3-2]
• This field is invalid for Class 3 and the
drive ignores it.
C141-E054-02EN1 - 38
Page 60
d) ACK generation assistance [B2/bit1]
• This field is invalid for Class 3 and the
drive ignores it.
e)0b: Initiator Data compression capable
[B2/bit0]
• The drive does not check this field.
f)00b: Initiator Data compression History
buffer size [B3/bit7-6]
• The drive does not check this field.
(3) Recipient Control [PL:W18/B0-1]
a)ACK_O/ACK_N capable [B0/bit7-6]
• - This field is invalid for Class 3 and
the drive ignores it.
b) X_ID interlock [B0/bit5]
• This field is invalid for Class 3 and the
drive ignores it.
c)00b: Error Policy Support [B0/bit4-3]
• The drive supports Discaed Policy only
and responds with LS_RJT(03h, 01h)
when (this bit) ≠‚00b.
d) 00b: Categories per Sequence [B0/bit1-0]
• The drive does not check this field but
supports only one category per
sequence.
e)0b: Data compression capable [B1/bit7]
• The drive does not check this field and
does not support this function.
f)00b: Data compression History buffer size
[B1/bit6-5]
• The drive does not check this field and
does not support this function.
(4) Receive data field Size [PL:W18/B2-3]
• The drive responds with LS_RJT (03h,
07h) when 256 = < (this field) = < 2112
not a multiple of 4.
• The drive responds with the value of the
receive data field size of class 3 parameter
of PLOG1 by ACC.
C141-E054-02EN1 - 39
Page 61
1.7.2Port Logout (LOGO/LOGO_ACC)
<SEQ_CNT>
<DF_CTL>
<SEQ_ID>
<DF_CTL>
<SEQ_CNT>
(5) Concurrent Sequence [PL:W19/B1]
• The drive responds with LS_RJT (03h,
09h) when (this field) = 0.
(6) N_Port End-to-end Credit [PL:W19/B2-3]
• This field is invalid for Class 3 and the
drive ignores it.
(7) Open Sequence per Exchange [PL:W20/B1]
• The drive responds with LS_RJT (03h,
01h) when (this field) = 0.
• For ACC, the drive responds with 01h.
01230123Byte
Word
Header0<R_CTL>
22××
1 Reserve
00××
2 <TYPE>
0129
3
××000000FF000000
4
××××FFFF××××FFFF
5
0000000000000000
Payload
0 0500000002
1 ReserveN_Port ID
2
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<RX_ID><OX_ID>
FC- PH T.73FC- PH T.74
Port_Name
<CRC><CRC>
FC-PH 21.4.8FC-PH 21.4.8
<R_CTL>
23××
Reserve
00××
<TYPE>
0199
Page
000000
<SOF><SOF>
<EOF><EOF>
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<RX_ID><OX_ID>
The initiator issues LOGI to establish the
connection with the drive by notifying the drive of
the service parameter. The drive responds with
LOGI_ACC when the frame of the received LOGI
is correct.
The drive responds with LOGO when notifying the
initiator that login has not been completed.
The payload field of the LOGO/LOGO_ACC
frame is described below. For the header field, refer
to Section 1.7, "Extended Link Service."
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) LS_Command code [PL/W00/B0]
05h: Indicates LOG O.
02h: Indicates LOGO_ACC.
• The drive responds with LS_RJT(0Bh,
00h) when this field is an unsupported
Link Service code.
(2) N_Port Identifier [PL:W01//B1-3]
The value of S_ID of the frame header is used.
(3) Port Name [PL:W02W03]
Unique 8-byte value for the port which has
issued LOGO.
C141-E054-02EN1 - 40
Page 62
1.7.3Process Login (PRLI/PRLI_ACC)
<SEQ_CNT>
<SEQ_ID>
<SEQ_CNT>
<SEQ_ID>
01230123Byte
Word
Header0<R_CTL>
22××
1 Reserve
00××
2 <TYPE>
0129
3
××000000FF000000
4
××××FFFF××××FFFF
5
0000000000000000
Payload
0
20
1
Note 1 ReserveReserveNote 1 ReserveT.118 Reserve
2Original Process AssociatorT.118 ··PRLI Accept response code
3Responder Process Associator
4Service Parameters
FC-PH T.115: Service Parameter pages
FC-PH T.117: Service Parameter Response pages
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<RX_ID><OX_ID>
FC- PH2 T.114
Page
length
10001402
FC- PH2 T.115
<CRC><CRC>
FC-PH-2 21.11FC-PH-2 21.11
<R_CTL>
Reserve
<TYPE>
23××
00××
0199
Other: PRLI Service
Param.
(Same as T.115)
<SOF><SOF>
FC- PH2 T.116
Page
length
100014
FC- PH2 T.117
<EOF><EOF>
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<RX_ID><OX_ID>
Payload lengthPayload length
The initiator issues PRLI to the drive to establish
an operating environment. The drive responds with
PLOGI_ACC when the frame of the received
PLOGI is correct.
The payload field of the PRLI/PRLI_ACC frame is
described below. For the header field, refer to
Section 1.7, "Extended Link Service."
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) LS_Command code [PL/W00/B0]
20h: Indicates PRLI.
02h: Indicates PRLI_ACC.
• The drive responds with LS_RJT(0Bh,
00h) when this field is an unsupported
Link Service code.
(2) Page Length [PL:W00/B1]
10h: Service Parameter page length (in bytes) of
PRLI or Service Parameter Response page
length (in bytes) of PRLI_ACC.
• The drive responds with LS_RJT(03h,
00h) when (this field) ≠‚10h.
• For ACC, the drive responds with 10h.
(3) Payload Length [PL:W00/B2-3]
14h: Payload length (20 bytes) of PRLI or
Payload length (20 bytes) of PRLI_ACC.
• The drive responds with LS_RJT(03h,
00h) when (this field) ≠‚14h.
• For ACC, the drive responds with 14h.
(4) Service Parameter pages [PL:W01-04]
Forms the payload of PRLI. For details, refer to
"1.7.3.1 Service Parameter pages."
(5) Service Parameter Response pages [PL:W01-
04]
Forms the payload of PRLI_ACC. For details,
refer to "1.7.3.2 Service Parameter Response
pages."
C141-E054-02EN1 - 41
Page 63
1.7.3.1 Service Parameter pages
bit76543210
WD Byte
1 0 Type Code
= h ‘08’
1 Type Code Extension
= h ‘00’
2 Orig Proc
3Reserved
2 0 (MSB)
1
2
3(LSB)
3 0 (MSB)
1
2
3(LSB)
4 0Reserved
1Reserved
2Reserved
3 Reserved
Assc Valid
= b ‘0’
= b ‘0’
Res Proc
Establish
Assc Valid
Image Pair
= b ‘0’
Originator Process Associator
Responder Process Associator
Data
Initiator
Overlay
Function
Allow
= b ‘0’
= b ‘1’
Target
Function
= b ‘0’
Reserved
= b ‘00000’
= h ‘00’
= h ‘00’
= h ‘00’
= h ‘00’
CMD/Data
Mix
Allowed
= b ‘0’
Data/RSP
Mix
Allowed
= b ‘0’
RD
XFR_RDY
Disable
= b ‘1’
WT
XFR_RDY
Disable
= b ‘0’
These pages are used by PRLI.
(1) Type Code [PL:W01/B0]
08h: Denotes SCSI FCP process.
• The drive responds with LS_RJT(03h,
0Fh) when (this field)•‚08h.
(2) Type Code Extension [PL:W01/B1]
00h: Not used by SCSI FCP.
• The drive responds with LS_RJT(03h,
0Fh) when (this field)•‚00h.
(3) Originator Process Associator Validity
[PL:W01/B2/bit7]
0b: The drive neither supports nor checks this
bit.
(4) Responder Process Asscociator Validity
[PL:W01/B2/bit6]
0b: The drive neither supports nor checks this
bit.
(5) Establish Image Pair [PL:W01/B2/bit5]
1b: The drive establish connection with the
initiator.
0b: The drive responds with ACC but does not
establish connection with the initiator.
(6) Originator Process Associator [PL:W02]
0000h: The drive neither supports nor checks
this field.
(7) Responder Process Associator [PL:W03]
0000h: The drive neither supports nor checks
this field.
(8) Service Parameters [PL:W04]
a)0b: Data Overlay Allow [B3/bit6]
• The drive neither supports nor checks
this field.
b) 1b: Initiator Function [B3/bit5]
• The drive does not check this bit and
operates assuming that 1b has been
specified.
C141-E054-02EN1 - 42
Page 64
1.7.3.2 Service Parameter Response pages
c)0b: Target Function [B3/bit4]
• The drive does not check this bit.
d) 0b: Command/Data Mix Allowed [B3/bit3]
• The drive neither supports nor checks
this bit.
e) 0b: Data/Response Mix Allowed [B3/bit2]
• The drive neither supports nor checks
this bit.
f) 1b: Read Transfer Ready Disable [B3/bit1]
• The drive does not check this bit and
operates assuming that 1b has been
specified.
g) 0b: Write Transfer Ready Disable [B3/bit0]
• The drive does not check this bit and
operates assuming that 0b has been
specified.
bit76543210
WD Byte
1 0 Type Code
= h ‘08’
1 Type Code Extension
= h ‘00’
2 Orig Proc
3Reserved
2 0 (MSB)
1
2
3(LSB)
3 0 (MSB)
1
2
3(LSB)
4 0Reserved
1Reserved
2Reserved
3 Reserved
Assc Valid
= b ‘0’
= b ‘0’
Res Proc
Establish
Assc Valid
Image Pair
= b ‘0’
Originator Process Associator
Responder Process Associator
Data
Initiator
Overlay
Function
Allow
= b ‘0’
= b ‘0’
Response Code
Target
Function
= b ‘1’
= h ‘00’
= h ‘00’
= h ‘00’
= h ‘00’
CMD/Data
Mix
Allowed
= b ‘0’
Data/RSP
Mix
Allowed
= b ‘0’
RD
XFR_RDY
Disable
= b ‘1’
WT
XFR_RDY
Disable
= b ‘0’
These pages are used by PRLI_ACC.
(1) Type Code [PL:W01/B0]
08h: Denotes SCSI FCP process.
• The drive responds with 08h by ACC.
(2) Type Code Extension [PL:W01/B1]
00h: Not used by SCSI FCP.
• The drive responds with 00h by ACC.
(3) Originator Process Associator Validity
[PL:W01/B2/bit7]
0b: The drive neither supports nor checks this
bit.
(4) Responder Process Asscociator Validity
[PL:W01/B2/bit6]
0b: The drive does not support this bit and
responds with 0b by ACC.
(5) Establish Image Pair [PL:W01/B2/bit5]
1b: The drive establish connection with the
initiator.
0b: The drive responds with ACC but does not
establish connection with the initiator.
C141-E054-02EN1 - 43
Page 65
• The drive responds with the value
specified by PRLI.
(6) Response Code [PL:W01/B2/bit3-0]
1h: Request executed.
• The drive responds with 1h by ACC when
PRLI is executed.
(7) Originator Process Associator [PL:W02]
0000h: The drive does not support this field and
responds with 0000h by ACC.
(8) Responder Process Associator [PL:W03]
0000h: The drive does not support this field and
responds with 0000h by ACC.
(9) Service Parameters [PL:W04]
a)0b: Data Overlay Allow [B3/bit6]
• The drive does not support this field
and responds with 0b by ACC.
b) 0b: Initiator Function [B3/bit5]
• The drive responds with 0b by ACC.
c)1b: Target Function [B3/bit4]
• The drive responds with 1b by ACC.
d) 0b: Command/Data Mix Allowed [B3/bit3]
• The drive does not support this bit and
responds with 0b by ACC.
e) 0b: Data/Response Mix Allowed [B3/bit2]
• The drive does not support this bit and
responds with 0b by ACC.
f) 1b: Read Transfer Ready Disable [B3/bit1]
• The drive responds with 1b by ACC.
g) 0b: Write Transfer Ready Disable [B3/bit0]
• The drive responds with 0b by ACC.
C141-E054-02EN1 - 44
Page 66
1.7.4Process Logout (PRLO/PRLO_ACC)
<SEQ_CNT>
<SEQ_ID>
<SEQ_CNT>
<SEQ_ID>
01230123Byte
Word
Header0<R_CTL>
22××
1 Reserve
00××
2 <TYPE>
0129
3
××000000FF000000
4
××××FFFF××××FFFF
5
0000000000000000
Payload
0
21
1
Note 1 ReserveReserveNote 1 ReserveT.123 Reserve
2Original Process AssociatorT.123 ··PRLO Accept response code
The initiator issues PRL0 to the drive to cancel the
established login. The drive responds with
PRLO_ACC when the frame of the received PRLO
is correct.
The payload field of the PRLO/PRLO_ACC frame
is described below. For the header field, refer to
Section 1.7, "Extended Link Service."
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) LS_Command code [PL/W00/B0]
21h: Indic ates PRLO.
02h: Indicates PRLO_ACC.
• The drive responds with LS_RJT(0Bh,
00h) when this field is an unsupported
Link Service code.
(2) Page Length [PL:W00/B1]
10h: Logout Parameter page length (in bytes) of
PRLO or Logout Parameter Response page
length (in bytes) of PRLO_ACC.
• The drive responds with LS_RJT(03h,
00h) when (this field) ≠‚10h.
• For ACC, the drive responds with 10h.
(3) Payload Length [PL:W00/B2-3]
14h: Payload length (20 bytes) of PRLO or
Payload length (20 bytes) of PRLO_ACC.
• The drive responds with LS_RJT(03h,
00h) when (this field) ≠‚14h.
• For ACC, the drive responds with 14h.
(4) Logout Parameter pages [PL:W01-04]
Forms the payload of PRLO. For details, refer
to "1.7.4.1 Logout Parameter pages."
(5) Logout Parameter Response pages [PL:W01-04]
Forms the payload of PRLI_ACC. For details,
refer to "1.7.4.2 Logout Parameter Response
pages."
C141-E054-02EN1 - 45
Page 67
1.7.4.1 Logout Parameter pages
bit76543210
WD Byte
1 0 Type Code
= h ‘00’
1 Type Code Extension
= h ‘00’
2 Orig Proc
3Reserved
2 0 (MSB)
1
2
3(LSB)
3 0 (MSB)
1
2
3(LSB)
4 0Reserved
1Reserved
2Reserved
3Reserved
Assc Valid
= b ‘0’
Res Proc
Assc Valid
= b ‘0’
Originator Process Associator
Responder Process Associator
= h ‘00’
= h ‘00’
= h ‘00’
= h ‘00’
= h ‘00’
Reerved
= b ‘000000’
These pages are used by PRLO.
(1) Type Code [PL:W01/B0]
00h: The drive neither supports nor checks this
field.
(2) Type Code Extension [PL:W01/B1]
00h: The drive neither supports nor checks this
field.
(3) Originator Process Associator Validity
[PL:W01/B2/bit7]
0b: The drive neither supports nor checks this
bit.
(4) Responder Process Asscociator Validity
[PL:W01/B2/bit6]
0b: The drive neither supports nor checks this
bit.
(5) Originator Process Associator [PL:W02]
0000h: The drive neither supports nor checks
this field.
(6) Responder Process Associator [PL:W03]
0000h: The drive neither supports nor checks
this field.
C141-E054-02EN1 - 46
Page 68
1.7.4.2 Logout Parameter Response pages
bit76543210
WD Byte
1 0 Type Code
= h ‘00’
1 Type Code Extension
= h ‘00’
2 Orig Proc
3Reserved
2 0 (MSB)
1
2
3(LSB)
3 0 (MSB)
1
2
3(LSB)
4 0Reserved
1Reserved
2Reserved
3Reserved
Assc Valid
= b ‘0’
Res Proc
Reserved
Assc Valid
= b ‘0’
= b ‘00’
Originator Process Associator
Responder Process Associator
Response Code
= h ‘00’
= h ‘00’
= h ‘00’
= h ‘00’
= h ‘00’
These pages are used by PRLO_ACC.
(1) Type Code [PL:W01/B0]
00h: The drive neither supports nor checks this
field.
• The drive responds with 00h by ACC.
(2) Type Code Extension [PL:W01/B1]
00h: The drive neither supports nor checks this
field.
• The drive responds with 00h by ACC.
(3) Originator Process Associator Validity
[PL:W01/B2/bit 7]
0b: The drive does not support this bit and
responds with 0b by ACC.
(4) Responder Process Asscociator Validity
[PL:W01/B2/bit6]
0b: The drive does not support this bit and
responds with 0b by ACC.
(5) Response Code [PL:W01/B2/bit3-0]
1h: Request executed.
• The drive responds with 1h by ACC when
PRLO is executed.
(6) Originator Process Associator [PL:W02]
0000h: The drive does not support this field and
responds with 0000h by ACC.
(7) Responder Process Associator [PL:W03]
0000h: The drive does not support this field and
responds with 0000h by ACC.
C141-E054-02EN1 - 47
Page 69
1.7.5Port Discovery (PDISC/PDISC_ACC)
01230123Byte
Word
Header0<R_CTL>
22××
1 Reserve
00××
2 <TYPE>
0129
3
××000000FF000000
4
××××FFFF××××FFFF
5
0000000000000000
Payload
0 5000000002000000
1FC-PH Ver.
FC-PH T.100.
2 Common featureBB Rev. Data
3Total Conc.
Sequence
4E_D_TOV
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
Same payload as ACC of PLOGI /PLOGI
FC-PH F.61: Common Service Parameter
FC-PH F.62: Class3 Service Parameter
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<SEQ_CNT>
<RX_ID><OX_ID>
FC-PH T.71
BB Credit
FC-PH F.61
field size
RO by Inf.
category
N_Port_Name (8 Byte)Port_Name (8 Byte)
Node_Name (8 Byte)Node_Name (8 Byte)
Class1 Service Parm.
FC-PH F.62 (16 Byte)
Class2 Service Parm.
FC-PH F.62 (16 Byte)
Class3 Service Parm.
FC-PH F.62 (16 Byte)
Reserve (16 Byte)Reserve (16 Byte)
Vendor (16 Byte)
Version Level
<CRC><CRC>
~~~
~~~
~~~
~~~
~~~
~~~
~~~
~~~
<R_CTL>
Reserve
<TYPE>
~
~
~
~
~
~
~
~
<SOF><SOF>
23××
00××
0199
<SEQ_ID><SEQ_ID>
FC-PH T.72
FC-PH F.61
Common Service Parm.
(Same as PLOGI)
Class1 Service Parm. (16 Byte)
Class2 Service Parm. (16 Byte)
Class3 Service Parm. (16 Byte)
Vendor (16 Byte)
Version Level
<EOF><EOF>
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<SEQ_CNT>
The initiator issues PDISC to the drive to check if
the drive address has changed immediately after
initialization. The drive responds with
PDISC_ACC when the frame of the received
PDISC is correct.
The payload field of the PDISC/PDISC_ACC
frame is described below. For the header field, refer
<RX_ID><OX_ID>
to Section 1.7, "Extended Link Service."
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) LS_Command code [PL/W00/B0]
50h: Indicates PDISC.
02h: Indicates PDISC_ACC.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
• The drive responds with LS_RJT(0Bh,
00h) when this field is an unsupported
Link Service code.
The structures of other parts of the payload are
exactly the same as PLOGI and PLOGI_ACC.
If N_Port_Name or Node_Name of PDISC
received by the drive is different from the
previously logged in value, the drive responds with
LOGO.
The checking method for the payload of PDISC
received by the drive and the response to the
detection of an error in the check are the same as
the case of PDISC.
C141-E054-02EN1 - 48
Page 70
1.7.6Discover Address (ADISC/ADISC_ACC)
<SEQ_CNT>
<SEQ_ID>
<SEQ_CNT>
<SEQ_ID>
01230123Byte
Word
Header0<R_CTL>
22××
1 Reserve
00××
2 <TYPE>
0129
3
××000000FF000000
4
××××FFFF××××FFFF
5
0000000000000000
Payload
0 5200000002000000
1
Reserve Hard Address of OriginatorReserve Hard Address of Originator
2
3
4
5
6N_Port ID of OriginatorN_Port ID of Responder
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<RX_ID><OX_ID>
FC- PH2 T.147
Port name of
Originator
Node name of
Originator
<CRC><CRC>
FC-PH-2 21.19.2FC-PH-2 21.19.2
<R_CTL>
Reserve
<TYPE>
23××
00××
0199
<SOF><SOF>
FC- PH2 T.148
Port name of
Responder
Node name of
Responder
<EOF><EOF>
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<RX_ID><OX_ID>
The initiator issues ADISC to the drive to check if
the drive address has changed immediately after
initialization. The drive responds with
ADISC_ACC when the frame of the received
ADISC is correct.
The payload field of the ADISC/ADISC_ACC
frame is described below. For the header field, refer
to Section 1.7, "Extended Link Service."
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) LS_Command code [PL/W00/B0]
52h: Indicates ADISC.
02h: Indicates ADISC_ACC.
• The drive responds with LS_RJT(0Bh,
00h) when this field is an unsupported
Link Service code.
(2) Hard Address of Originator [PL:W01/B1-3]
• For ADISC, the initiator sets the address
set by the SEL signal in the low order 8
bits.
• For ADISC_ACC, the drive sets the
address set by the SEL signal in the low
order 8 bits.
(3) Port name [PL:W02-03]
• For ADISC, Port_name of the initiator is
set in Port name of Originator.
• For ADISC_ACC, Port_name of the drive
is set in Port name of Responder.
(4) Node name [PL:W04-05]
• For ADISC, Node_name of the initiator is
set in Node name of Originator.
• For ADISC_ACC, Node_name of the drive
is set in Node name of Responder.
(5) N_Port ID [PL:06]
• For ADISC, Port_ID of the initiator is set
in N_Port ID of Originator.
• For ADISC_ACC, Port_ID of the drive is
set in N_Port ID of Responder.
C141-E054-02EN1 - 49
Page 71
1.7.7Reinstate Recovery Qualifier (RRQ/RRQ_ACC)
<SEQ_CNT>
<SEQ_ID>
<SEQ_CNT>
<SEQ_ID>
01230123Byte
Word
Header0<R_CTL>
22××
1 Reserve
00××
2 <TYPE>
0129
3
××000000FF000000
4
××××FFFF××××FFFF
5
0000000000000000
Payload
0 1200000002000000
1 Reserve00Originator S_ID
2OX_IDRX_ID
3
4
5
6
7
8
9
10
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<RX_ID><OX_ID>
FC- PH T.85
Association (32 Byte)
Header
<CRC><CRC>
FC-PH-2 21.4.14FC-PH-2 21.4.14
<R_CTL>
Reserve
<TYPE>
<SOF><SOF>
23××
00××
0199
FC- PH T.86
<EOF><EOF>
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
The initiator issues RRQ to the drive to notify the
drive of reuse of Recovery Qualifier (S_ID, D_ID,
OX_ID, RX_ID, SEQ_CNT) aborted by ABTS.
The drive responds with RRQ_ACC when the
frame of the received RRQ is correct.
The payload field of the RRQ/RRQ_ACC frame is
<RX_ID><OX_ID>
described below. For the header field, refer to
Section 1.7, "Extended Link Service."
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) LS_Command code [PL/W00/B0]
12h: Indicates RRQ.
02h: Indicates RRQ_ACC.
• The drive responds with LS_RJT(0Bh,
00h) when this field is an unsupported
Link Service code.
(2) Originator S_ID [PL:W01/B1-3]
N_Port_ID of the initiator is set.
(3) OX_ID [PL:W02/B0-1]
OX_ID of Exchange aborted when the initiator
previously issued ABTS.
(4) RX_ID [PL:W02/B2-3]
FFFFh: RX_ID of Exchange aborted when the
initiator previously issued ABTS.
(5) Association Header [PL:W03-10]
The drive neither supports nor checks this field.
C141-E054-02EN1 - 50
Page 72
1.7.8Read Link Error Status Block (RLS/RLS_ACC)
<SEQ_CNT>
<SEQ_ID>
<SEQ_CNT>
<SEQ_ID>
01230123Byte
Word
Header0<R_CTL>
22××
1 Reserve
00××
2 <TYPE>
0129
3
××000000FF000000
4
××××FFFF××××FFFF
5
0000000000000000
Payload
0 0F00000002000000
1 Reserve00Port Identifier
2
3
4
5
6
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<RX_ID><OX_ID>
FC- PH T.79
<CRC><CRC>
FC-PH 21.4.11FC-PH 21.4.11
<R_CTL>
Reserve
<TYPE>
23××
00××
0199
FC-PH F.83
Link Error Status
Block (24Byte)
<SOF><SOF>
FC- PH T.80
<EOF><EOF>
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<RX_ID><OX_ID>
The initiator issues RLS to the drive when
requesting the drive for Fibre Channel link error
information. The drive responds with Link Error
Status Block by RLS_ACC when the frame of the
received RLS is correct.
The payload field of the RLS/RLS_ACC frame is
described below. For the header field, refer to
Section 1.7, "Extended Link Service."
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) LS_Command code [PL/W00/B0]
0Fh: Indicates RLS.
02h: Indicates RLS_ACC.
• The drive responds with LS_RJT(0Bh,
00h) when this field is an unsupported
Link Service code.
(2) Port Identifier [PL:W01/B1-3]
Specifies the port of Link Error Status Block
which the drive should respond with.
0: Link Error Status Block concerning the
port which has received RLS.
1: Link Error Status Block concerning Port A.
2: Link Error Status Block concerning Port B.
The drive responds with LS_RJT(03h, 1Fh)
when this field is any value other than the
above.
(3) Link Error Status Block [PL:W01-06]
This field is used by ACC of the drive.
a)Link Failure Count [PL:W01]
The drive counts the number of times when
synchronization is not achieved for a
minimum of R_T_TOV (100ms) and enters
it in this field.
b) Loss of Synchronization Count [PL:W02]
The drive counts the number of times when
loss of synchronization is detected and
enters it in this field.
c)Loss of Signal Count (PL:W03)
The drive does not support this field and
responds with all zeros.
C141-E054-02EN1 - 51
Page 73
d) Primitive Sequence Protocol Error
<SEQ_CNT>
<SEQ_ID>
<SEQ_CNT>
<SEQ_ID>
(PL:W04)
The drive does not support this field and
responds with all zeros.
e)Invalid Transmission Word (PL:W05)
The drive does not support this field and
responds with all zeros.
f)Invalid CRC Count [PL:W06]
The drive does not support this field and
responds with all zeros.
1.7.9Third Party Process Logout (TPRLO/TPRLO_ACC)
01230123Byte
Word
Header0<R_CTL>
22××
1 Reserve
00××
2 <TYPE>
0129
3
××000000FF000000
4
××××FFFF××××FFFF
5
0000000000000000
Payload
0
24
1
2
3
4
5
FC-PH2 T.150: Logout Parameter Pages
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
<RX_ID><OX_ID>
FC- PH2 T.149
Page
Payload length
length
××××××02000000
FC-PH2 T.150
Logout Parameter
Page
(max. 20Byte)
<CRC><CRC>
FC-PH-2 21.19.3FC-PH-2 21.19.3
<R_CTL>
Reserve
<TYPE>
23××
00××
0199
FC-PH2 T.150
Logout Parameter
Page
(max. 20Byte)
<SOF><SOF>
FC- PH2 T.151
<EOF><EOF>
<D_ID>
××××
<S_ID>
××××
<F_CTL>
0000
The initiator issues TPRLO to the drive to cancel
the established login specified by Third Party
Originator N_Port ID. The drive responds with
TPRLO_ACC when the frame of the received
TPRLO is correct.
The payload field of the TPRLO/TPRLO_ACC
<RX_ID><OX_ID>
frame is described below. For the header field, refer
to Section 1.7, "Extended Link Service."
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) LS_Command code [PL/W00/B0]
24h: Indicates TPRLO.
02h: Indicates TPRLO_ACC.
• The drive responds with LS_RJT(0Bh,
00h) when this field is an unsupported
Link Service code.
(2) Page Length [PL:W00/B1]
10h: Logout Parameter page length (in bytes) of
TPRLO or Logout Parameter Response page
length (in bytes) of TPRLO_ACC.
• The drive responds with LS_RJT(03h,
00h) when (this field) ≠‚10h.
• For ACC, the drive responds with 10h.
(3) Payload Length [PL:W00/B2-3]
18h: Payload length (24 bytes) of TPRLO or
Payload length (24 bytes) of TPRLO_ACC.
• The drive responds with LS_RJT(03h,
00h) when (this field) ≠‚18h.
C141-E054-02EN1 - 52
Page 74
1.7.9.1 Logout Parameter pages
• For ACC, the drive responds with 18h.
(4) Logout Parameter pages [PL:W01-05]
Forms the payload of TPRLO. For details, refer
to "1.7.9.1 Logout Parameter pages."
bit76543210
WD Byte
1 0 Type Code
= h ‘08’
1 Type Code Extension
= h ‘00’
2 3rd Party
3Reserved
2 0Reserved
1 (MSB)
2Third Party Originator N_Port ID
3(LSB)
3 0 (MSB)
1
2
3(LSB)
4 0 (MSB)
1
2
3(LSB)
5 0 (MSB)
•
•
3(LSB)
Orig
Port_ID
Validity
= b ‘1’
3rd Party
Orig Proc
Assc Valid
= b ‘0’
Res Proc
Global
Assc Valid
Proc Assc
Valid
= b ‘0’
= b ‘0’
= h ‘00’
= h ‘00’
Third Party Originator Process Associator
Third Party Responder Process Associator
Reserved
= h ‘00000000’
Reserved
= h ‘0’
These pages are used by TPRLO/TPRLO_ACC.
(1) Type Code [PL:W01/B0]
08h: Indicates SCSI FCP process.
The drive responds with LS_RJT(03h, 00h)
when (this field) ≠‚08h.
(2) Type Code Extension [PL:W01/B1]
00h: Not used by SCSI FCP. (the drive ignores
this field)
(3) Third Party Originator N_Port ID Validity
[PL:W01/B2/bit7]
1b: Indicates that Third Party Originator N_Port
ID is valid.
• The drive responds with LS_RJT(03h,
00h) when (this field) ≠‚1b.
• For ACC, the drive responds with 1b.
(4) Third Party Originator Process Associator
Validity [PL:W01/B2/bit6]
0b: The drive neither supports nor checks this
bit.
(5) Responder Process Associator Validity
[PL:W01/B2/bit5]
0b: The drive neither supports nor checks this
bit.
(6) Global Process Logout [PL:W01/B2/bit4]
0b: The drive neither supports nor checks this
bit.
(7) Third Party Originator N_Port ID
[PL:W02/B1-3]
AL_PA of the originator is entered in the low
order 8 bits.
(8) Third Party Originator Process Associator
[PL:W03]
C141-E054-02EN1 - 53
Page 75
1.7.10 Link Service Reject (LS_RJT)
0000h: The drive neither supports nor checks
this field.
(9) Third Party Responder Process Associator
[PL:W04]
0000h: The drive neither supports nor checks
this field.
0123Byte
Word
Header0<R_CTL>
23××
1 Reserve
00××
2 <TYPE>
0129
3 <SEQ_ID
>
FF
4
××××FFFF
5
00000000
Payload
001000000
1 Reserve00FC-PH
FC-PH 21.5.2
<SOF>
<D_ID>
<S_ID>
<F_CTL>
000000
FC_PH F.58
T.90T.91
<CRC>
<EOF>
××××
××××
0000
<SEQ_CNT>
<RX_ID><DX_ID>
Vender
Responds with LS_RJT when rejecting the
received Extended Link Service frame.
The payload field of the LS_RJT frame is
described below. For the header field, refer to
Section 1.7, "Extended Link Service."
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) LS_Command code [PL/W00/B0]
00
01h: Indicates LS_RJT.
(2) Reason Code [PL:W01/B1]
The Reason Code which the drive responds
with is entered.
• 03h: Logical Error
• 0Bh: Command not support
(3) Reason Explanation [PL:W01/B2]
The Reason Explanation Code which the drive
responds with is entered.
01h: Service Parm error- Option.
• PLOGI (PL:W17/B0): Error in Class
Validity field.
• PLOGI (PL:W18/B0): Error in Error
Policy Support field.
• PLOGI (PL:W20/B1): Error in Open
Sequence per Exchange field.
03h: Service Parm error- Initiator Control
• PLOGI (PL:W17/B2): Error in Initial
Responder Process Associator field.
07h: Service Parm error- Rec Data Field Size
• PLOGI (PL:W02/B2-3): Error in Buffer-to-
buffer Receive Size field.
• PLOGI (PL:W18/B2-3): Error in Receive
data field Size field.
0Bh: Command not support
• PLOGI (PL:W02/B0): Error in Alternate
BB_Credit Management field.
0Fh: Invalid Common Service Parameter
C141-E054-02EN1 - 54
Page 76
• PLOGI (PL:W01/B0-1): Error in
Highest/Lowest version supported field.
• PLOGI (PL:W02/B0): Error in
Continuously Increasing Offset field.
• PLOGI (PL:W02/B0): Error in
N_Port/F_Port field.
1Fh: Invalid N_Port Identifier
• RLS (PL:W01/B1-3): Port Identifier
(4) Link Error Status Block [PL:W01-06]
This field is used by ACC of the drive.
a)Link Failure Count [PL:W01]
The drive counts the number of times when
synchronization is not achieved for a
minimum of R_T_TOV (100ms) and enters
it in this field.
C141-E054-02EN1 - 55
Page 77
1.8Extended Link Service (Loop Initialization)
Listed below are the frames used by Loop Initialization in the Extended Link Service
supported by this drive.
1. LISM frame: Used for selecting Loop Master.
2. LIFA, LIPA, LIHA, LISA frame: Used to assign AL_PA in Loop Initialization.
3. LIRP, LILP frame: Used for collection and notification of connection information for the
initiator and drive connected on the loop.
The header field of Extended Link Service is defined below.
Word0123Byte
Header0<R_CTL>
22
1 Reserve<S_ID>
2 <TYPE>
01
3 <SEQ_ID><DF_CTL><SEQ_CNT>
4<OX_ID><RX_ID>
5<Parameter>
Note) xxxxxx = ‘000000’···FL_Port or ‘0000EF’···NL_Port
<D_ID>
<F_CTL>
(1) R_CTL.. (Routing Control)
The high order 4 bits (2h) represent Extended
Link Service, and the low order 4 bits (2h)
Initialization frame.
(2) D_ID.. (Destination Identifier)
0000EFh: In the case of NL_Port
000000h: In the case of FL_Port
(3) S_ID.. (Source Identifier)
0000EFh: In the case of NL_Port
000000h: In the case of FL_Port
(4) Type
01h is used for Extended Link Service.
(5) F_CTL.. (Frame Control)
• 380000h is set for Initialization frame of
Extended Link Service.
(6) SEQ_ID.. (Sequence Identifier)
• The drive does not check this item.
• The drive responds with 00h.
(7) DF_CNTL.. (Data Field Control)
Set 00h because no Optional Header is used.
(8) SEQ_CNT.. (Sequence Count)
• The drive does not check this item.
• The drive responds with 0000h.
(9) OX_ID.. (Originator Exchange Identifier)
FFFFh is set to indicate that OX_ID is unused.
(10) RX_ID.. (Responder Identifier)
FFFFh is set to indicate that RX_ID is unused.
C141-E054-02EN1 - 56
Page 78
1.8.1Loop Initialization Select Master (LISM)
Port name
(11) Parameter
Not used by Extended Link Service.
• The drive responds with 0000h.
0123Byte
Word
Header
022
1
00
2
01380000
3
00000000
4
FFFFFFFF
5
00000000
Payload
011010000
1
2
3<CRC>
4
<SOF>
Note)
××××××
Note)
××××××
(8 Byte)
<EOF>
Frame sent to determine Loop Master in
initialization.
The payload field of the LISM frame is described
below. For the header field, refer to Section 1.8,
"Extended Link Service (Loop Initialization)."
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) Loop Initialization Identifier [W00]
11010000h: Indicates LISM.
• The received frame will be discarded when
this field is an unsupported Link Service
code.
(2) Port Name [PL:W01-02]
8-byte Port Name is entered.
C141-E054-02EN1 - 57
Page 79
1.8.2Assign AL_PA frame (LIFA, LIPA, LIHA, LISA)
Frame used to assign AL_PA in initialization.
The payload field of the LIFA/LIPA/LIHA/LISA frame is described below. For the header
field, refer to Section 1.8, "Extended Link Service (Loop Initialization)."
0123012301230123
Word
Header
0 22
1
2
3
4
5
Payload
0 11020000110300001104000011050000
1
2
3
4
<SOF>
Note)
××××××22
Note)
00
××××××00
01380000013800000138000001380000
00000000000000000000000000000000
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
00000000000000000000000000000000
AL_PA bit map
(16 Byte)
<CRC><CRC><CRC><CRC>
Note)
××××××22
Note)
××××××00
AL_PA bit map
(16 Byte)
<EOF><EOF>
Note) xxxxxx = ‘000000’···FL_Port or ‘0000EF’···FL_Port
Note)
××××××22
Note)
××××××00
AL_PA bit map
(16 Byte)
<SOF><SOF><SOF>
Note)
××××××
Note)
××××××
AL_PA bit map
(16 Byte)
<EOF><EOF>
Word xx and byte y of the payload are represented by [PL:Wxx/By].
(1) Loop Initialization Identifier [W00]
11020000h: Indicates LIFA.
11030000h: Indicates LIPA.
11040000h: Indicates LIHA.
11050100h: Indicates LISA (LIRP/LILP frame supported).
11050000h: Indicates LISA (LIRP/LILP frame not supported).
• The received frame will be discarded when this field is an unsupported Link Service
code.
(2) Port Name [PL:W01-04]
16-byte AL_PA bit map is entered.
C141-E054-02EN1 - 58
Page 80
1.8.3Position Map Information (LIRP, LILP)
01230123Byte
Word
Header
Payload
Note)
0 22
1
2
3
4
5
0 1106000011070000
1
2
××××××22
Note)
00
××××××00
0138000001380000
0000000000000000
FFFFFFFFFFFFFFFF
0000000000000000
AL_PA position map
(128 Byte)
~
~
<CRC><CRC>
~~~
~
<SOF><SOF>
Note)
××××××
Note)
××××××
AL_PA position map
(128 Byte)
<EOF><EOF>
Used for collection and notification of connection
information for the initiator and drive connected on
the loop, in initialization.
The payload field of the LIRP/LILP frame is
described below. For the header field, refer to
Section 1.8, "Extended Link Service (Loop
Initialization)."
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
FC-4 Device Data indicates supported by this drive.
1.9.1FCP CMND
The initiator issues FCP_CMND frame when it issues SCSI_Command.
The header field of the FCP CMND is defined below.
Header
006××
1
00××
2
08290000
3 <SEQ_ID
>
000000
××
<OX_ID>
4
××××FFFF
5
00000000
Payload
0Logical Unit Number
1
2Control Field
3
4
5
6
7Data Length
FCP T.14/15
(CDB)
SCSI command
descriptor block
<SOF>
FCP T.13
<CRC>
<EOF>
<D_ID>
××××
<S_ID>
××××
(1) R_CTL.. (Routing Control)
06h: Indicates FCP CMND
(2) D_ID.. (Destination Identifier)
• Destination address for the frame.
(3) S_ID.. (Source Identifier)
• Source address for the frame.
(4) Type
The FCP_CMND frame uses 08h.
(5) F_CTL.. (Frame Control)
• Set 290000h for the FCP_CMD
(Response of Exchange, Last Sequence of
Exchange)
(6) SEQ_ID.. (Sequence Identifier)
• Set the optional value
(7) DF_CTL.. (Data Field Control)
Set 00h because no optional header is used.
(8) SEQ_CNT.. (Sequence Count)
• Set 0000h because it is used single frame
sequence.
(9) OX_ID.. (Originator Exchange Identifier)
• Assign an unique value from initiator to
the drive.
The drive does not check Command Over Lap.
(10) RX_ID.. (Responder Identifier)
Set FFFFh to indicate that RX_ID is unused.
(11) Parameter
Unused the parameter in the FCD_CMD and
00000000h entered.
C141-E054-02EN1 - 60
Page 82
The payload field of the FCP CMND frame is defined below.
Word
Header
006××
1
00××
2
08290000
3 <SEQ_ID
>
000000
××
<OX_ID>
4
××××FFFF
5
00000000
Payload
0Logical Unit Number
1
2Control Field
3
4
5
6
7Data Length
FCP T.14/15
(CDB)
SCSI command
descriptor block
<SOF>
FCP T.13
<CRC>
<EOF>
<D_ID>
××××
<S_ID>
××××
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) Logical Unit Numer (FCP_LUN) [PL: WOO-
01]
All zero, this drive supports only LUN=zero
• In case of the drive is specified except for
the zero value on FCP_CMND except for
Inquiry, Request Sense CMD, the drive
responds Check Condition Status in
FCP_RSP frame.
(2) Control Field (FCP_CNTL) [PL:W02]
For details, refer to 1.9.1.1 Control Field.
(3) CDB [PL:W03-06]
SCSI CDB is entered in the field.
• The field is 16 byte length any time and
the dirive does not check an unused area of
this field occurred by SCSI Command
Type.
• If Task Management Flag set, this field is
invalid.
For details of CBD, refer to 1.9.1.2 Command
Descriptor Block.
(4) Data length (FCP_DL) [PL:W07]
Descripting the maximum data transfer
avaliable value in byte unit defined CDB in this
frame.
The drive is compared with the transfer length,
this field and data, in FCP_RSP
• FCP_DL > (data transfer length)
set FCP_RESIDE_UNDER=1
• FCP_DL > (data transfer length)
set FCP_RESIDE_OVER=1
• FCP_DL = (data transfer length)
set FCP_RESIDE_UNDER/OVER=0, 0
C141-E054-02EN1 - 61
Page 83
1.9.1.1 Control Field (FCP_CNTL)
bit76543210
WD Byte
20Reserved
1Reserved
2 Terminal
Clear
Task
ACA
= b ‘0’
= b ‘0’
3Reserved
= b ‘00000’
Target
Reset
= b ‘000000’
= h ‘00’
Reserved
= b ‘00’
Task Attribute
Clear
Abort
Task Set
Task Set
RD Data WT Data
Reserved
= b ‘0’
(1) Task Atrribute [PL:W02/B1/bit2-0]
The initiator specifies the Command Queue
type.
0h: Simple Queue
1h: Head of Queue
2h: Ordered Queue
4h: ACA Queue
The drive does not support.
5h: Untagged
• The drive does not support the Untagged
command
(2) Task Management flag [PL:W02/B2]
The initiator uses to control the task.
a)Terminate TASK [B2/bit7]
0b: This drive does not support the bit,
works as 0.
b) Clear ACA [B2/bit6]
0b: This drive does not support the bit,
works as 0.
c)Target Reset [B2/bit5]
• This drive clears all commands queued
when this drive receives the Target
Reset.
• For next command that the initiator
issues the Target Reset except for
initiator in this drive, this drive
responds the UNIT ATTENTION status
in FCP_RSP frame.
d) Clear Task Set [B2/bit2]
• This drive clears all commands queued
when this drive receives the Clear Task
Set.
• For next command that the initiator
issues the Clear Task Set except for
initiator in this drive, this drive
responds the UNIT ATTENTION status
in FCP_RSP frame.
C141-E054-02EN1 - 62
Page 84
1.9.1.2 Command Descriptor Block
e)Abort Task Set [B2/bit1]
• This drive clears all Task set issued by
the initiator of commands abort-queued
when this drive receives the Abort Task
Set.
f)Read Data [B3/bit1]
• In case of the command has the Read
data (the data is transferred from drive
to initiator), 1 is set.
g) Write data [B3/bit0]
• In case of the command has the Read
data (the data is transferred from
initiator to drive), 0 is set.
bit76543210
WD Byte
3 0 Operation Code
Group CodeCommand Code
1Reserved
= h ‘00’
2 (MSB)
3
4 0
1(LSB)
2Reserved
= h ‘00’
3 (MSB)
5 0
1 Control Byte
Reserved
= b ‘000’
bit76543210
WD Byte
3 0 Operation Code
Group CodeCommand Code
1Reserved
= b ‘000’
2
3(LSB)
4 0 Transfer Length
1 Control Byte
Reserved
= b ‘000’
Logical Block Address
Transfer Length
NACAFlagLink
(MSB)
Logical Block Address
NACAFlagLink
This section indicates the 6 byte and 10 byte CDB.
(1) Operation Code [PL:W03/B0]
For details of Operation Code, refer to xxxx.
The best 3 bit of Operation Code indicates the
Group Code.
It can be specified the logical block address, 21
bit on 6 byte CDB and 32 bit on 10 byte CDB.
The maximum logical block address of drive is
described on the Read Capacity Command.
(3) Transfer Length
It can be specified by 255 block using 1 byte
(in this field) in 6 byte CDB.
It can be specified by 64K-1 block using 2 byte
(in this field) in 10 byte CDB.
C141-E054-02EN1 - 63
Page 85
1.9.2FCP XFER RDY
In case of transferring the drive, the drive issues FCP XFER_RDY frame to the initiator.
The header field of the FCP XFER_RDY is defined below.
Word
Header
005××
1
00××
2
08890000
3
FF000000
<OX_ID>
4
××××FFFF
5
00000000
Payload
0
1Reserve
2Reserve
3
(Data_RD)
Data_Relative offset
<SOF>
FCP T.16
<CRC>
<EOF>
<D_ID>
××××
<S_ID>
××××
(4) Control Byte
This field includes the following informations.
a)NACA
(Normal Auto Contingent Allegiance)
• This drive does not support this bit.
b) Flag
• This drive does not support this bit.
c)Link
• This drive does not support this bit.
(1) R_CTL.. (Routing Control)
05h: Indicates FCP XFER_RDY
(2) D_ID.. (Destination Identifier)
• Destination address for the frame.
(3) S_ID.. (Source Identifier)
• Source address for the frame.
(4) Type
SCSI FCP frame uses 08h.
(5) F_CTL.. (Frame Control)
• Set 890000h for the FCP XFER_RDY
(Originator of Exchange, First Sequence of
Exchange, Last Data frame of Sequence,
Transfer Sequence Initiative)
(6) SEQ_ID.. (Sequence Identifier)
• The drive responds FFh.
(7) DF_CTL.. (Data Field Control)
Set 00h because no optional header is used.
(8) SEQ_CNT.. (Sequence Count)
• It is responded 0000h because it is used
single frame sequence.
C141-E054-02EN1 - 64
Page 86
(9) OX_ID.. (Originator Exchange Identifier)
• The drive responds the OX_ID of FCP
CMND received from the initiator.
(10) RX_ID.. (Responder Identifier)
Set FFFFh to indicate that RX_ID is unused.
(11) Parameter
Unused the parameter in the FCP XFER_RDY
and 00000000h entered.
The payload field of the FCP XFER_RDY is defined below.
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) Data Relative Offset (Data_R0) [PL:W00]
For this FCP XFER frame, The drive specifies
the byte Offset value of the first WT data
sending the initiator.
The initiator describes the value of this field in
the Relative Offset of the first WT data for this
FCP XFER_RDY frame.
(2) Burst Length (BURST_LEN) [PL:W01]
The iniinator can be transferred number of WT
Data Byte for this XFER_RDY frame.The
BURST_LEN is satisfied with the following the
conditions.
BURST_LEN:
(WT Command to transfer data rest of byte
velocity)
BURST_LEN:
(Maximum Burst Size of
Disconnect/Reconnect SCSI mode page)
BURST_LEN:
(Available transferring maximum byte
velocity in FC Sequence)
C141-E054-02EN1 - 65
Page 87
1.9.3FCP DATA
Header
001××
1
00××
2
00××
3 <SEQ_ID
>
××
<OX_ID>
4
××××FFFF
5
Payload
0
1
2
~
~
<SOF>
<D_ID>
××××
<S_ID>
××××
<F_CTL>
××××
<SEQ_CNT>
00××××
Relative offset
<CRC>
<EOF>
This frame is used for transferring between the
initiator and the drive.
The header field of the FCP DATA is defined
below.
(1) R_CTL.. (Routing Control)
01h: Indicates FCP DATA
(2) D_ID.. (Destination Identifier)
• Destination address for the frame.
~
~
(3) S_ID.. (Source Identifier)
• Source address for the frame.
(4) Type
SCSI FCP frame uses 08h.
C141-E054-02EN1 - 66
Page 88
(5) F_CTL.. (Frame Control)
SectionF_CTL value
Write data frame (from initiator to drive)
a) not last frame of sequence
a1) with Relative Offset
a2) without Relative Offset
b) lase frame of sequence
x indicates 4 bit as below.
bit 3when x is 1:
with Relative Offset
when x is 0:
without Relative Offset
bit 20, Reserved
bit 1-0Fill Data Byte
0, 0.....0 byte of fill (4 byte
valid)
0, 1.....1 byte of fill (3 byte
valid)
1, 0.....2 byte of fill (2 byte
valid)
1, 1.....3 byte of fill (1 byte
valid)
Read Data frame (from drive to initiator)
000008h
000000h
09000xh
a) not last frame of sequence
a1) with Relative Offset800008h
b) last frame of sequence
x indicates 4 bit as below.
bit 3when x is 1:
with Relative Offset
bit 20, Reserved
bit 1-0Fill Data Byte
0, 0.....0 byte of fill (4 byte valid)
0, 1.....1 byte of fill (3 byte valid)
1, 0.....2 byte of fill (2 byte valid)
1, 1.....3 byte of fill (1 byte valid)
C141-E054-02EN1 - 67
88000xh
Page 89
In case of accessing media, buffer, this drive
demands that the byte velocity is a multiple of 4
byte.
This drive supports the Fill Data Byte in ......
(6) SEQ_ID.. (Sequence Identifier)
• In case of transferred Data Frame from the
initiator to the drive, the drive has the
memory of the first frame SEQ_ID of the
sequence and checks the frame SEQ_ID
belonging to the sequence.
• In case of the drive sends to the initiator
the data frame, the drive institutes 00h to
SEQ_ID in the first sequence. In case of
issuing the sequence on and after twice in
the command (exchange), SEQ_ID is used
the added value one.
(7) DF_CTL.. (Data Field Control)
Set 00h because no optional header is used.
(8) SEQ_CNT.. (Sequence Count)
• 0000h is instituted in the transferred first
data frame by the command. Whatever
used multiple sequences by transferring the
data on CMD, the drive demands that the
SEQ_CNT value is lasted in the whole
transferring data.
(9) OX_ID.. (Originator Exchange Identifier)
• The assigned value by the initiator to
FCP_CMND.
(10) RX_ID.. (Responder Identifier)
Set FFFFh to indicate that RX_ID is unused.
(11) Parameter (Relative Offset
It can be used as the Relstive Offset in FCP
Data
The drive does not check received this field of
data frame.
The drive do for the continuous added value in
this field of sending data frame.
The header field of the FCP DATA is used for transferring the defined information in the user
data, SCSI protocol.
C141-E054-02EN1 - 68
Page 90
1.9.4FCP RSP
The drive reports the operation results of received FCP CMND by using FCP RSP frame.
The header field of the FCP RSP is defined below.
(1) R_CTL.. (Routing Control)
Header
007××
1
00××
2
08980000
3
FF000000
<OX_ID>
4
××××FFFF
5
00000000
Payload
0
1
2
3
4
5
~
~
~
~
<SOF>
<D_ID>
××××
<S_ID>
××××
FCP T.17
Reserve
Reserve
FCP_Status
FCP T.18
Residual Count
FCP_SNS_INFO
length (n)
FCP_RSP_INFO
length (m)
FCP_Response Info.
(m Byte)
FCP_Sense Info.
(n Byte)
<CRC>
<EOF>
~
~
~
~
07h: Indicates FCP RSP frame
(2) D_ID.. (Destination Identifier)
• Destination address for the frame.
(3) S_ID.. (Source Identifier)
• Source address for the frame.
(4) Type
SCSI FCP frame uses 08h.
(5) F_CTL.. (Frame Control)
• Set 980000h for the FCP_RSP
(Responder of Exchange, last sequence of
exchange, last data frame of sequence,
transfer sequence initiative)
(6) SEQ_ID.. (Sequence Identifier)
• The drive responds FFh.
(7) DF_CTL.. (Data Field Control)
Set 00h because no optional header is used.
(8) SEQ_CNT.. (Sequence Count)
• It is responded 0000h because it is used
single frame sequence.
(9) OX_ID.. (Originator Exchange Identifier)
• The drive responds the OX_ID of FCP
CMND received from the initiator.
(10) RX_ID.. (Responder Identifier)
Set FFFFh to indicate that RX_ID is unused.
(11) Parameter
Unused the parameter in the FCP RSP and
00000000h entered.
C141-E054-02EN1 - 69
Page 91
The payload field of the FCP RSP is defined below.
Word xx and byte y of the payload are represented
by [PL:Wxx/By].
(1) FCP Status [PL:W02]
For details, refer to 1.9.4.1 FCP Status.
(2) Residual Count (FCP_RESID) [PL:W03]
This field indicates the field byte length “FCP
Sense Information”.
(3) Length of Sense Information
(FCP_SNS_INFO) [PL:W04]
This field indicates the “FCP Sense
Information” field byte length.
This field is transferred included FCP_RSP
whatever not transferred “FCP Sense
Information” field.
(4) Length of Response Information
(FCP_SNS_INFO) [PL:W05]
This field indicates the “FCP Response
Information” field byte length.
This field value is valid 0, 4, 8 transferred
included FCP_RSP whatever not transferred
“FCP Response Information” field.
(5) FCP Response Information
This field is added to payload of FCP RSP
frame when the FCP RSP LEN VALID of “FCP
Status” is 1.
For details, 1.9.4.2 FCP Response Information.
(6) FCP Sense Information
This field is added to payload of FCP RSP
frame when the FCP RSP SNS VALID of “FCP
Status” is 1.
For details, 1.9.4.3 FCP Sense Information.
C141-E054-02EN1 - 70
Page 92
1.9.4.1 FCP Status
bit76543210
WD Byte
20Reserved
= h ‘00’
1Reserved
= h ‘00’
2Reserved
= b ‘0000’
3SCSI Status
FCP
RESID
UNDER
FCP
RESID
OVER
FCP SNS
LEN
VALID
FCP RSP
LEN
VALID
(1) FCP RESID UNDER [PL:WO2/B2/bit3]
In case of
FCP_DL (FCP_CNMD) > (transferred data byte
velocity based on CDB)
Residual Counter = FCP_DL – (transferred data
byte velocity)
(2) FCP RESID OVER [PL:WO2/B2/bit2]
In case of
FCP_DL (FCP_CNMD) < (transferred data byte
velocity based on CDB)
Residual Counter = FCP_DL – (transferred data
byte velocity)
(3) FCP SNS LEN VALID [PL:WO2/B2/bit1]
When this bit is 1, the field of Length of Sense
Information (FCP_SNS_INFO) is valid and
FCP_RSP frame includes the FCP Sense
Information field.
(4) FCP RSP LEN VALID [PL:WO2/B2/bit0]
When this bit is 1, the field of Length of
Response Information (FCP_RSP_INFO) is
valid and FCP_RSP frame includes the FCP
Sense Information field.
1.9.4.2 FCP Response Information
bit76543210
WD Byte
60Reserved
70Reserved
= h ‘00’
1Reserved
= h ‘00’
2Reserved
= h ‘00’
3 Response Code (FCP RSP CODE)
= h ‘00’
1Reserved
= h ‘00’
2Reserved
= h ‘00’
3Reserved
= h ‘00’
(5) SCSI Status [PL:WO2/B2/bit0]
Refer to Section 2.2 Status Byte.
(1) Response Code (FCP RSP CODE)
[PL:W06/B3]
Supporting Response Code below.
00h: Task Management Function Complete or
No Failure.
01h: FCP DATA lingth different than Burst
Length.
02h: FCP CMND fields invalid.
03h: RO in the data frame header mismatch
with FCP XFER RDY DATA RO.
04h: Task Management Function not support.
05h: Task Management Function failed.
C141-E054-02EN1 - 71
Page 93
1.9.4.3 FCP Sense Information
bit76543210
WD Byte
8 0 Validity bitError Code = h ‘70’ or h ‘71’
1 = h ‘00’
2 = b ‘0’= b ‘0’ILI= b ‘0’Sense key
3 (MSB)
9 0
1
2(LSB)
3Additional Sense Data Length = h ‘28’
10 0 (MSB)
1
2
3(LSB)
11 0Additional Sense Code (ASC)
1Additional Sense Code Qualifier (ASCQ)
2Reserved = h ‘00’
3 SKSV
12 0Sense key Inheret Information
1
2 FACT= b ‘0’= b ‘0’PORT= b ‘0’= b ‘0’= b ‘0’= b ‘0’
3CDB Operation Code
~
~
~
~
~
~
~
~
~
~
~
~
19 0
1
2
3
Information
Command Inheret Information
Detailed Information
Refer to Section 5.1 Sense Data.
~
~
~
~
C141-E054-02EN1 - 72
Page 94
1.10Errors on Loop (Refer to FP-PH , Section 29.9)
This section describes errors which may occur on the loop and actions to be taken for them.
Table 1.16, Detail errors and action lists types of errors and actions for them by number. For
details of the actions to be taken for errors, refer to Table 1.17, Actions by recipient.
Table 1.16 Detail errors and action
Error CategorySpecific ErrorSeq Recp Action
1) Loop Failurea) Loss of signal
b) Loss of Sync > timeout period
2) Loop Errorsc) Loss of Sync11
3) Sequence timeouta) timeout during Sequence
b) timeout at end of Sequence
4) Delimiter Errorsa) Class not support
b) Delimiter usage error (SOFc1 while
connected)
c) Abnormal frame termination
d) EOFa received
e) Incorrect SOF or EOF
5) Address ID Errorsa) incorrect D_ID
b) incorrect S_ID
6) Frame_control Errorsa) CRC
d) TYPE not support
e) Invalid Link Control
f) Invalid R_CTL
g) Invalid F_CTL
h) Invalid OX_ID
i) Invalid RX_ID
j) Invalid SEQ_ID
k) Invalid SEQ_CNT
l) Invalid DF_CTL
m) Exchange Error
n) Protocol Error
o) Incorrect length
p) Unexpected Link_Continue
q) Unexpected Link_Response
r) Login Required
s) Excessive Sequences attempted
t) Unable to Establish Exchange
u) RO out of bounds
7) Data Frame Errorsc) Buffer not available – Class 3
e) missing frame error detected
The contents of Seq. Recp. Action for each error item are described for each item number
in Table 1.17, Action by recipient.
C141-E054-02EN1 - 73
Page 95
Table 1.17 Actions by recipient
No.Action
1Discard policy
If an invalid frame is detected, the entire invalid frame shall be discarded.
2If a valid frame is received and a rejectable or busy condition in Class 3 is detected,
the entire frame shall be discarded.
9Abnormally terminate Sequence
When a Sequence Recipient detects a Sequence timeout and no Data frames are being
received for the Sequence, the Recipient shall terminate the Sequence and update the
Exchange Status Block.
11Updata LESB
The Link Error Status Block is updated to track errors not directly related to an
Exchange.
12Perform loop failer Protocol
If a Loop failure occure, the L_Port which detects the failure shall issue LIP (F8,
AL_PS) if it has a valid AL_PA, or LIP (F8, F7) if it doesn’t.
13Error Policy processing
When an error is detected within a Sequence, the Sequence is discarded (discard
policy)
C141-E054-02EN1 - 74
Page 96
1.11Enclosure Service Interface (ESI)
Enclosure Service Interface provides the protocol defining the information between the
enclosure and the drive.
The drive starts to execute Enclosure Service when the drive receives “Send Diagnostic”
command or “Receive Diagnostic Result” command with Enclosure Service page specified.
a)SFF8045
Two modes in SFF8045 exist, which are Without Parallel ESI and With Parallel ESI.
SFF8045 w/o Parallel ESI only includes the function that the enclosure provides
SEL_ID defined in FC-AL to the drive.
On the other hand, SFF8045 with Parallel ESI provides an additional function
that the drive can read the status from the enclosure.
b)SFF8067
This mode covers SFF8045 function and has a purpose for diagnostics and receiving
the status of the enclosure in the next manner.
The drive receives Send Diagnostic command from the initiator.
Then the drive transmits the page specified in Send Diagnostic command to the
enclosure.
The drive receives Receive Diagnostic Result command from the initiator.
Then the drive receives the page specified in Receive Diagnostic Result
command from the enclosure.
1.11.1 Mode deifinition process
When powered on, the enclosure operates as SFF8045 w/o Parallel ESI and provides SEL_ID
to the drive.
The communication starts upon receving Receive Diagnostic Result command as described in
Figure 1.17.
Figure 1.17 Data Transfer Protocol
Detail process in DISCOV. (discovery) phase is shown in Figure 1.18.
This process is executed every time when -Parallel ESI signal is asserted.
The target of DISCOV. phase is that the drive acknowledges the enclosure can operate as SFF8067
mode.
If the enclosure cannot operate as SFF8067, the drive performs one of the following.
max 1µsmax 1µs
a)assuming that the enclosure can operate as SFF8045 w/o Parallel ESI, then transmits
sense data to the initiator. ; case 1 in Figure 1.18.
C141-E054-02EN1 - 75
Page 97
b)assuming that the enclosure can operate as SFF8067, then transmits sense data to the
initiator.; case 2 in Figure 1.18.
1.11.2 Discovery phase
The drive;
asserts –Parallel ESI
case 1; The drive assumes SFF8045 w/o Parallel ESI enclosure and transmits sense data (ASC
= 35, ASCQ = 01) to the initiator.
case 2; The drive assumes SFF8067 enclosure and transmits sense data (ASC = 35, ASCQ =
02) to the initiator.
Figure 1.18 Discovery (DISCOV.) process flow
The drive assumes SFF8067 enclosure and performs COMMAND and READ/WRITE phase.
C141-E054-02EN1 - 76
Page 98
1.11.3 COMMAND phase
In COMMAND phase, the drive transmits the command receiving from the initiator to the
enclosure.
Because the data bits are 4 bits width, the drive has to transmit the data even times.
(1)COMMAND Protocol
The drive communicates with the enclosure as shown in Figure 1.19.
(a) ; The drive asserts –DSK_WR and indicates to the enclosure that the valid data is on
D (0:3).
(b) ; The enclosure asserts –ENCL_ACK after receiving the data.
(c) ; The drive negates –DSK_WR and the data by –ENCL_ACK being asserted.
(d) ; The enclosure negates –ENCL_ACK by –DSK_WR being nagated.
Figure 1.19 COMMAND, WRITE phase
(2)Definition of COMMAND bytes
If the drive acknowledges the drive should issue COMMAND to the enclosure after receiving
SCSI command, then transmits the COMMAND as shown in Table 1.18.
Table 1.18 COMMAND bytes definition
byte 0Page Code
byte 1Reserved except bit 0 (data transfer direction in SEND
DIAG.)
byte 2Parameter Length high byte in SEND DIAG.
byte 3Parameter Length low byte in SEND DIAG.
COMMAND bytes length is always four bytes.
– Page code in byte 0 is defined as SES page for communicating with the enclosure.
– Bit 0 in byte 1 defines the direction of the data transfer.
0 …… from the drive to the enclosure
1 …… from the enclosure to the drive
– Parameter Length in byte 2 and byte 3 defines data length. The value “0000h” is used when
receiving the data (Receive Diagnostic Result command).
C141-E054-02EN1 - 77
Page 99
(3)Byte/bit alignment
The COMMAND and READ/WRITE data are transfered in the following allignment. (Figure 1.20)
byte number; #0 #1 …… #n-1 #n
byte transfer order in ESI; 1st 2nd n-1 th n th
V
bit; 7 6 5 4 3 2 1 0
transfer order in ESI;
bit alignment; D (3) D (2) D (1) D(0) D (3) D (2) D (1) D (0)
1.11.4 READ/WRITE phase
(1)READ phase
REAd phase is a process that the drive receives the information stored by the enclosure.
The protocol is shown in Figure 1.21.
1st nibble 2nd nibble
Figure 1.20 Byte/Bit alignment in ESI
(a) ; The drive asserts –DSK_RD and requests the data to the enclosure.
(b) ; The enclosure asserts –ENCL_ACK after enabling the data on D (0:3).
(c) ; The drive reads the data and negates –DSK_RD.
(d) ; The enclosure negates –ENCL_ACK by –DSK_RD being nagated.
(2)WRITE phase
The protocol is shown in Figure 1.19.
1.11.5 SES sense codes
ASC/ASCQDefinition
35h/00hUnspecified Enclosure Services Failure
35h/01hUnsupported Enclosure Function
35h/02hEnclosure Services Unavailable
35h/03hEnclosure Transfer Failure
35h/04hEnclosure Transfer Refused
min 100 µsec
Figure 1.21 READ phase
Table 1.19 ASC/ASCQ defined for ESI conditions
C141-E054-02EN1 - 78
Page 100
1.12Public Loop
Public Loop
Public Loop
Private Loop
Public Loop
Public Loop
Public Loop
Public Loop
Public Loop
Public loop consists of the private loop through the multiple FL_Port or N_Port device
through the multiple F_Port. (Shown as Figure 1.22)
The FL_Port is the gateway to the Fabric for the Public NL_Ports on its Local Loop, allowing
NL_Ports to act as if they were N_Ports and interact with other N_Ports and NL_Ports
attached to the fabric.
It can be communicated with all devices connected with F_Port/FL_Port. (ex. NFS Client can
be communicated with SCSI Device #6 etc.)
NFS Client
SCSI Initiator
F
F
FABRIC
FL
Device
#1
Device
#2
#3
IP Host
F
Device
Device
FL
Device
Figure 1.22 Public Loop Configuration
#4
#5
#8
Device
Device
#6
#7
Device
C141-E054-02EN1 - 79
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.