BS ISO/IEC 14165-226:2020
$215.11
Information technology. Fibre channel – Single-byte command code sets mapping protocol. 6 (FC-SB-6)
Published By | Publication Date | Number of Pages |
BSI | 2020 | 292 |
PDF Catalog
PDF Pages | PDF Title |
---|---|
2 | undefined |
5 | Foreword Foreword |
6 | Blank Page |
23 | 1 Scope |
24 | 2 Normative References 2.1 Qualification and availability of references 2.2 Approved References |
25 | 2.3 References Under Development |
27 | 3 Definitions and Conventions 3.1 Overview 3.2 Definitions |
30 | 3.3 Editorial Conventions 3.3.1 English Usage Conventions 3.3.2 FC Link Functions 3.3.3 Bit Numbering |
31 | 3.3.4 Binary Notation 3.3.5 Hexadecimal Notation 3.4 Abbreviations, Acronyms, and Symbols |
33 | 3.5 Keywords |
35 | 4 Structure and Concepts 4.1 Introduction 4.2 FC-4 General Description 4.3 FC-SB-6 General Description 4.3.1 FC-SB-6 Instance 4.3.2 FC-SB-6 Protocols |
36 | 4.4 Channel-Path Elements 4.4.1 Overview of Channel-Path Elements 4.4.2 Channel 4.4.3 Channel Image |
37 | 4.4.4 Control Unit 4.4.5 Control-Unit Image |
38 | 4.4.6 Link 4.5 Channel-Path Configurations 4.5.1 Channel-Path Configuration Overview 4.5.2 Point-to-Point Configuration |
39 | 4.5.3 Fabric Configuration |
41 | 4.5.4 Physical Path 4.5.5 Logical Path |
42 | 4.5.6 Channel-to-Channel Communication 4.5.6.1 Channel-to-Channel Communication Overview |
43 | 4.5.6.2 FC-SB-6 Channel-to-Channel Adapter 4.6 Information Transfer 4.7 Protocols 4.7.1 Protocol Overview 4.7.2 Link Level Protocol |
44 | 4.7.3 Device Level Protocols 4.7.4 Addressing |
47 | 5 FC-FS-4 Link Control 5.1 FC-FS-4 Link Control Overview 5.2 Class of Service 5.3 Buffer-to-Buffer Credit Reclamation |
48 | 5.4 FC-SB-6 Sequences and Exchanges 5.4.1 FC-SB-6 Sequences 5.4.2 FC-SB-6 Exchanges 5.4.2.1 FC-SB-6 Exchange Pairs |
49 | 5.4.2.1.1 General Rules for Initiating Exchange Pairs 5.4.2.1.2 Exchange Pairs for FC-SB-6 Link Control Functions 5.4.2.1.3 Exchange Pairs for Device-Level Functions |
50 | 5.4.2.1.4 Exchange Pair Processing 5.4.2.2 FC-SB-6 Transport Exchanges 5.4.2.2.1 General Rules for Initiating a Transport Exchange 5.4.2.2.2 Transport Exchanges for Device-Level Functions 5.5 FC Frame Header Fields 5.5.1 Frame Header Field Overview |
51 | 5.5.2 R_CTL Field 5.5.3 D_ID and S_ID Fields 5.5.4 CS_CTL |
52 | 5.5.5 TYPE Field 5.5.6 F_CTL Field 5.5.7 SEQ_ID 5.5.8 DF_CTL 5.5.9 SEQ_CNT 5.5.10 OX_ID 5.5.11 RX_ID |
53 | 5.5.12 Parameter Field |
55 | 6 Link-Level Functions 6.1 Link-Level Function Overview 6.2 FC-FS-4 Basic Link Services 6.2.1 Basic Link Services Overview 6.2.2 Abort Sequence 6.3 FC-LS-3 Extended Link Services 6.3.1 Extended Link-Services Overview 6.3.2 F_Port Login 6.3.3 N_Port Login |
56 | 6.3.4 N_Port Logout 6.3.5 Reinstate Recovery Qualifier 6.3.6 Registered State Change Notification |
57 | 6.3.7 State-Change Registration |
58 | 6.3.8 Query Security Attributes 6.3.9 Request Node-Identification Data 6.3.9.1 Request Node-Identification Data Requests and Responses 6.3.9.2 Specific Node-Identification Data |
64 | 6.3.10 Registered Link-Incident Record 6.3.10.1 Registered Link-Incident Record Requests and Responses |
65 | 6.3.10.2 Specific Link-Incident Record for FC-SB-6 |
68 | 6.3.11 Link-Incident-Record Registration 6.3.12 Read Link Error Status Block 6.3.13 Registered Fabric Change Notification |
69 | 6.3.14 Process Login 6.3.14.1 Process Login Overview 6.3.14.2 PRLI Request Service Parameter Page |
71 | 6.3.14.3 PRLI Accept Service Parameter Page |
72 | 6.3.15 Process Logout 6.3.15.1 Process Logout Overview |
73 | 6.3.15.2 Channel Process Logout Procedure |
74 | 6.3.15.3 Control Unit Process Logout Procedure |
75 | 6.3.15.4 PRLO Request Logout Parameter Page 6.3.15.5 PRLO Accept Logout Parameter Page |
76 | 6.3.16 Read Exchange Concise 6.4 FC-SB-6 Link-Control Functions 6.4.1 FC-SB-6 Link-Control Function Overview |
79 | 6.4.2 Establish Logical Path |
81 | 6.4.3 Remove Logical Path |
82 | 6.4.4 Logical Path Established 6.4.5 Logical Path Removed |
83 | 6.4.6 Link-Level Acknowledgment |
84 | 6.4.7 Test Initialization 6.4.7.1 Test Initialization Overview 6.4.7.2 Test Initialization Function |
86 | 6.4.7.3 Test Initialization Capability Function |
87 | 6.4.8 Test Initialization Result 6.4.8.1 Test Initialization Result Overview 6.4.8.2 Test Initialization Result Function |
90 | 6.4.8.3 Test Initialization Capability Result Function |
91 | 6.4.9 Link-Level Reject |
93 | 6.4.10 Link-Level Busy |
95 | 7 N_Port Link Initialization 7.1 N_Port Link Initialization Overview |
96 | 7.2 Link-Initialization Procedure |
97 | 7.3 Initialization Process for a Channel 7.3.1 Channel Initialization Overview 7.3.2 Channel Login and Security Attribute Determination 7.3.2.1 Overview 7.3.2.2 Channel F_Port Login 7.3.2.3 Channel Security Attribute Determination |
98 | 7.3.2.4 Channel N_Port Login 7.3.2.4.1 Channel N_Port Login Overview 7.3.2.4.2 Channel N_Port Login: Point-to-Point Configurations 7.3.2.4.3 Channel N_Port Login: Fabric Configurations 7.3.3 Channel Node-Identifier Acquisition |
99 | 7.3.3.1 Channel Neighboring Node ID Acquisition |
100 | 7.3.3.2 Channel Control Unit Node Id Acquisition 7.3.4 Channel State-Change Registration 7.3.5 Channel Link-Incident-Record Registration |
101 | 7.3.6 Process Login 7.3.7 Channel Logical-Path Establishment |
102 | 7.4 Initialization Process for a Control Unit 7.4.1 Control Unit Initialization Overview 7.4.2 Control-Unit Login |
103 | 7.4.2.1 Control Unit F_Port Login 7.4.2.2 Control Unit N_Port Login 7.4.2.2.1 Control Unit N_Port Login Overview 7.4.2.2.2 Control Unit N_Port Login: Point-to-Point Configurations 7.4.2.2.3 Control Unit N_Port Login: Fabric Configurations |
104 | 7.4.3 Control Unit Node-Identifier Acquisition |
105 | 7.4.4 Control Unit State-Change Registration 7.4.5 Process login 7.4.6 Control Unit Logical-Path Establishment |
107 | 8 FC-SB-6 Information Units 8.1 FC-SB-6 Information Unit Overview 8.2 Rules for Sending FC-SB-6 IUs 8.2.1 Overview of Rules for Sending FC-SB-6 Information Units |
109 | 8.2.2 Rules for Device-level Functions in Command Mode |
110 | 8.2.3 Rules for Device-level Functions in Transport Mode |
111 | 8.3 FC-SB-6 IU Structures |
115 | 8.4 FC-SB-6 Header 8.4.1 FC-SB-6 Header Overview 8.4.2 FC-SB-6 Header Format 8.4.3 Channel Image ID 8.4.4 Control-Unit Image ID |
116 | 8.4.5 Device Address 8.5 IU Header 8.5.1 IU Header Format |
117 | 8.5.2 Information-Unit Identifier 8.5.2.1 Information-Unit Identifier Format 8.5.2.2 Address Specific (AS) 8.5.2.3 Supplemental Status (ES) |
118 | 8.5.2.4 DIB Type (T3,T2,T1) 8.5.3 Device-Header Flags 8.5.3.1 Format of Device-Header Flags |
119 | 8.5.3.2 End (E) 8.5.3.3 Chaining (CH) |
120 | 8.5.3.4 Early End (EE) |
121 | 8.5.3.5 CRC Not Provided (CNP) 8.5.4 CCW Number |
123 | 8.5.5 Token 8.6 Device Information Block (DIB) Structure 8.6.1 DIB Structure Overview |
124 | 8.6.2 DIB Header 8.6.2.1 DIB Header Format 8.6.2.2 IU Count |
125 | 8.6.2.3 DIB Data Byte Count 8.6.3 Longitudinal-Redundancy-Check Field 8.6.4 DIB Data Field 8.6.4.1 DIB Data Field Format |
126 | 8.6.4.2 Pad 8.6.5 Cyclic-Redundancy-Check Field |
128 | 8.7 Command DIB Structure 8.7.1 Command DIB Overview 8.7.2 Command Header 8.7.2.1 Command Header Format 8.7.2.2 Command Field |
131 | 8.7.2.3 CCW Control Flag Field |
132 | 8.7.2.4 CCW Count Field |
133 | 8.7.2.5 I/O Priority Field 8.7.2.6 Command-Flag Field |
135 | 8.8 Command-Data DIB Structure 8.9 Data DIB Structure 8.9.1 Data DIB Overview |
136 | 8.9.2 Data Header 8.10 Status DIB 8.10.1 Status DIB Processing |
138 | 8.10.2 Status DIB Structure |
139 | 8.10.3 Status Header 8.10.3.1 Status Header Format 8.10.3.2 Status-Flags Field |
142 | 8.10.3.3 Status Byte |
144 | 8.10.3.4 Status-Parameter Field |
145 | 8.10.3.5 Queue-Time Parameter |
149 | 8.10.3.6 Defer-Time Parameter |
152 | 8.10.4 Supplemental Status Field 8.10.4.1 Supplemental Status Field Overview 8.10.4.2 Sense Information |
153 | 8.11 Control DIB Structure 8.11.1 Control DIB Structure Overview 8.11.2 Control Header 8.11.2.1 Control Header Format |
154 | 8.11.2.2 Control Function and Control Parameters |
157 | 8.11.2.3 Control End 8.11.2.4 Command Response |
158 | 8.11.2.5 Stack Status 8.11.2.6 Cancel IU |
159 | 8.11.2.7 System Reset 8.11.2.8 Selective Reset |
161 | 8.11.2.9 Request Status 8.11.2.10 Device-Level Exception |
163 | 8.11.2.11 Status Accepted 8.11.2.12 Device-Level Acknowledgment (DACK) |
164 | 8.11.2.13 Purge Path |
165 | 8.11.2.14 Purge Path Response |
167 | 8.11.3 Control Payload 8.12 Link-Control DIB Structure 8.12.1 Link-Control DIB Structure Overview |
168 | 8.12.2 Link Header 8.12.2.1 Link Header Format 8.12.2.2 Link Control |
169 | 8.12.2.3 Link-Control Information 8.12.2.4 Channel-to-Channel (CTC) Counter 8.12.3 Link Payload 8.13 Transport Command IU 8.13.1 Transport Command Overview |
170 | 8.13.2 FC-SB-6 Header 8.13.3 Transport Command Header 8.13.3.1 Transport Command Header Format |
171 | 8.13.3.2 L1 8.13.3.3 Read (R) 8.13.3.4 Write (W) |
172 | 8.13.4 Transport Command Area Header 8.13.4.1 TCA Header Format 8.13.4.2 Format Control 8.13.4.3 L2 8.13.4.4 Service Action Code |
173 | 8.13.4.5 I/O Priority Number |
174 | 8.13.5 Transport Command Area 8.13.5.1 Transport Command Area Format 8.13.5.2 DCW Format |
175 | 8.13.5.2.1 Command |
177 | 8.13.5.2.1.1 Interrogate Command 8.13.5.2.1.2 Transfer CRC Offset Block and Transfer Extended CRC Offset Block Commands |
179 | 8.13.5.2.1.3 Transfer TCA Extension (TTE) |
180 | 8.13.5.2.2 Control Flags |
182 | 8.13.5.2.3 Control-Data (CD) Count 8.13.5.2.4 Data Count 8.13.6 Longitudinal Redundancy Check |
183 | 8.13.7 Data Length 8.13.8 Bidirectional Read Data Length 8.14 Transport Data IU 8.14.1 Transport Data IU Overview |
184 | 8.14.2 Transport Data 8.14.3 Pad Bytes 8.14.4 Cyclic-Redundancy-Check 8.14.4.1 Final CRC 8.14.4.2 Intermediate CRC |
185 | 8.14.4.3 COB CRC 8.14.4.4 eCOB CRC 8.14.5 CRC Generation and Checking 8.15 Transport Response IU 8.15.1 Transport Response IU Overview |
186 | 8.15.2 Transport Response IU Structure 8.15.3 FC-SB-6 Header |
187 | 8.15.4 Status 8.15.4.1 Status Area Format 8.15.4.2 Status Flags1 |
189 | 8.15.4.3 Maximum CU Exchanges Parameter 8.15.4.4 Response Flags 8.15.4.5 Response Status Code 8.15.4.6 Data Length Residual Count |
190 | 8.15.4.7 Maximum First Transfer Buffer Credit (MFTBC) 8.15.4.8 Response Length 8.15.4.9 Bidirectional Read DL Residual Count 8.15.4.10 Sense Type Code 8.15.4.11 Status Flags2 |
191 | 8.15.4.12 Status Flags3 |
192 | 8.15.4.13 Device Status 8.15.5 Status LRC 8.15.6 Extended Status 8.15.6.1 Extended Status Format |
193 | 8.15.6.2 Extended Status Length 8.15.6.3 Extended Status Flags |
194 | 8.15.6.4 DCW Offset 8.15.6.5 DCW Residual Count |
195 | 8.15.6.6 I/O Status Extended Status Format |
196 | 8.15.6.6.1 Device Time 8.15.6.6.2 Defer Time |
197 | 8.15.6.6.3 Queue Time 8.15.6.6.4 Device-Busy Time |
198 | 8.15.6.6.5 Device-Active-Only Time 8.15.6.6.6 I/O Status Additional Data |
199 | 8.15.6.7 I/O Exception Extended Status Format |
205 | 8.15.6.7.1 I/O Exception Additional Data 8.15.6.8 Interrogate Extended Status Format 8.15.6.8.1 Format 8.15.6.8.2 Flags |
206 | 8.15.6.8.3 Control-Unit State (CS) 8.15.6.8.4 Device State (DS) |
207 | 8.15.6.8.5 Operation State (OS) 8.15.6.8.6 State-Dependent Information 8.15.6.8.7 Device-Level Identifier 8.15.6.8.8 Device-Dependent Information 8.15.6.9 Extended Status LRC |
208 | 8.16 Transfer Ready IU 8.16.1 Transfer Ready Structure Overview 8.16.2 Relative Offset 8.16.3 Burst Length 8.17 Transport Confirm IU |
211 | 9 Device-Level Functions and Protocols 9.1 Device-Level Operations 9.1.1 Overview of Device-Level Operations 9.1.2 Channel Program Execution 9.2 CCW I/O operations 9.2.1 Initiating a CCW I/O Operation |
214 | 9.2.2 Command Mode Data-Transfer Protocol 9.2.2.1 Command Mode Data-Transfer Protocol Overview |
215 | 9.2.2.2 Command Mode Write Operation |
216 | 9.2.2.3 Command Mode Read Operation 9.2.2.4 Data Chaining |
219 | 9.2.2.5 IU Pacing |
221 | 9.2.2.6 Zero CCW Count |
222 | 9.2.3 Ending a CCW I/O Operation 9.2.3.1 General Rules for ending a CCW I/O Operation |
223 | 9.2.3.2 CCW Supplemental Status |
224 | 9.2.3.3 CCW Residual Count |
225 | 9.2.4 CCW Command Chaining |
226 | 9.2.5 Priority |
227 | 9.3 TCW I/O Operations 9.3.1 Initiating a TCW I/O operation |
228 | 9.3.2 Transport Mode Data Transfer 9.3.2.1 Transport Mode Data Transfer Overview |
229 | 9.3.2.2 Transport Mode Write Data Transfer |
230 | 9.3.2.2.1 First Transfer Ready Disabled Inhibited |
231 | 9.3.2.2.2 First Transfer Buffer Credits 9.3.2.3 Transport Mode Read Data Transfer |
232 | 9.3.2.4 Transport Mode Bidirectional Data Transfer 9.3.3 TCA Processing 9.3.3.1 Device Command Words |
235 | 9.3.3.2 Interrogate Operation 9.3.3.3 DCW Incorrect Length Facility 9.3.4 Ending a TCW I/O Operation |
236 | 9.3.5 Extended Status 9.3.6 Priority |
237 | 9.4 Device-Level Controls 9.4.1 Overview of Device-Level Control Functions 9.4.2 Stacking Status Function |
238 | 9.4.3 Cancel Function |
240 | 9.4.4 System-Reset Function |
242 | 9.4.5 Selective-Reset Function |
243 | 9.4.6 Request-Status Function |
244 | 9.4.7 Device-Level-Exception Function 9.4.8 Status-Acceptance Function |
245 | 9.4.9 Device-Level-Acknowledgment Function 9.4.10 Control-Unit-Busy Condition |
246 | 9.4.11 Confirm Completion Function 9.4.12 Transport Mode ABTS Function 9.5 Error Handling at the Device Level 9.5.1 Purge Path Function |
247 | 9.5.2 Command Retry 9.5.2.1 Command Mode Command Retry |
249 | 9.5.2.2 Transport Mode Command Retry |
250 | 9.5.3 Channel-Initiated Recovery Procedures 9.5.3.1 Overview of Channel-Initiated Recovery Procedures |
251 | 9.5.3.2 Channel-Initiated-Retry Request |
252 | 9.5.3.3 Channel-Initiated-Unit-Check Request |
253 | 9.5.4 Address-Exception Condition 9.5.4.1 Command Mode Address-Exception Condition |
254 | 9.5.4.2 Transport Mode Address-Exception Condition 9.5.5 REC Function 9.6 Resetting Event |
256 | 9.7 Special Functions 9.7.1 Path Groups |
257 | 9.7.2 Dynamic Reconnection |
259 | 10 Link Error Detection 10.1 Link Error Detection Overview 10.2 FC-SB-6 Timeouts 10.2.1 Overview of FC-SB-6 Timeouts 10.2.2 FC-SB-6 Protocol Timeout Value |
260 | 10.2.3 FC-SB-6 Timeout Value 10.2.4 Logical Path Timeout Value |
261 | 10.2.5 Cancel Function Timeout Value 10.2.6 Transport Command Timeout Value 10.2.7 Transport Command Secondary Timeout Value |
262 | 10.2.8 Interrogate Timeout Value 10.2.9 Process Logout Timeout Value 10.2.10 Exchange Quiesce Timeout Value 10.2.11 REC Timeout Value 10.3 FC-SB-6 Link Failure 10.4 Logical Path Timeout Error |
263 | 10.5 FC-SB-6 Exchange Error 10.5.1 FC-SB-6 Exchange Error Overview 10.5.2 FC-SB-6 Protocol Timeout 10.5.3 FC-SB-6 IU Integrity Error 10.5.3.1 Overview of FC-SB-6 IU Integrity Errors 10.5.3.2 FC-SB-6 Length Error |
264 | 10.5.3.3 LRC Error 10.5.3.4 FC-SB-6 CRC Error 10.5.3.4.1 Command Mode CRC Error |
265 | 10.5.3.4.2 Transport Mode CRC Error 10.5.3.5 IU Count Error 10.5.4 FC-SB-6 Protocol Errors 10.5.4.1 FC-SB-6 Protocol Error Overview 10.5.4.2 Link Level Protocol Errors |
266 | 10.5.4.3 Device Level Protocol Errors 10.5.5 Receive ABTS 10.5.6 Cancel Function Timeout Error 10.5.7 Abnormal Termination of Exchange 10.6 Logical-Path-Not-Established Error 10.7 Test Initialization Result Error |
267 | 10.8 Transport Operation Error 10.9 Transport Error 10.9.1 Transport Error Overview 10.9.2 Transport Command IU Integrity Error 10.9.3 TCH Content error 10.9.4 TCCB Content error 10.9.5 Second I/O Operation Error |
268 | 10.10 Interrogate Operation Error 10.11 REC Error |
269 | 11 Error Recovery Actions 11.1 Error Recovery Action Overview |
272 | 11.2 Link-Level Recovery 11.2.1 Link-Level Recovery Overview 11.2.2 Recovery for an FC-SB-6 Link Failure 11.2.3 Logical Path Timeout Error |
273 | 11.2.4 Recovery for an FC-SB-6 Offline Condition 11.2.5 Recovery for an FC-FS-4 Link Failure Condition 11.2.6 Recovery for an FC-SB-6 Exchange Error |
274 | 11.2.7 Recovery for a Logical-Path-Not-Established Error |
275 | 11.2.8 Recovery for Link-Level Reject, P_RJT, and F_RJT |
276 | 11.2.9 Recovery for a Test-Initialization-Result Error 11.2.10 Recovery for a Transport Operation Error 11.2.11 Recovery for a Transport Error |
277 | 11.2.12 Recovery for an Interrogate Operation Error 11.2.13 Recovery for a REC Error 11.3 Device-Level Recovery 11.3.1 Device-Level Recovery Overview 11.3.2 Errors That Cause the Removal of a Logical Path 11.3.2.1 Overview of Errors That Cause the Removal of a Logical Path |
278 | 11.3.2.2 Recovery at the Channel (Logical Path Removed) 11.3.2.3 Recovery at the Control Unit (Logical Path Removed) 11.3.3 Errors that Do not Cause the Removal of a Logical Path 11.3.3.1 Overview of Errors that Do not Cause the Removal of a Logical Path |
279 | 11.3.3.2 Recovery at the Channel (Logical Path not Removed) 11.3.3.2.1 Overview of Recovery at the Channel (Logical Path not Removed) 11.3.3.2.2 Recovery at the Channel for Command Mode |
280 | 11.3.3.2.3 Recovery at the Channel for Transport Mode 11.3.3.3 Recovery at the Control Unit (Logical Path not Removed) 11.3.3.3.1 Recovery at the Control Unit for Command Mode |
281 | 11.3.3.3.2 Recovery at the Control Unit for Transport Mode |
283 | Annex A: Fabric Address Assignment A.1 Background A.2 Description A.2.1 Fabric Login A.2.2 Single-byte Configuration Records A.2.3 Two-byte Configuration Records |
285 | Annex B: Correlation of Exchanges of an Exchange Pair B.1 Correlation of Exchanges B.1.1 Overview of Exchange Correlation B.1.2 Correlation of Exchanges by a Channel B.1.3 Correlation of Exchanges by a Control Unit |
287 | Annex C: LRC Calculation C.1 LRC Calculation Procedure C.2 LRC Calculation Example |
289 | Annex D: Status/Chaining Summary D.1 Requirements for Sending Status and Chaining |
291 | Annex E: Bibliography E.1 Informative Reference |