Information technology - Small computer system interface (SCSI) — Part 224: Fibre Channel Protocol for SCSI, fourth version (FCP-4)

ISO/IEC 14776-224:2019(E) defines the Small computer system interface (SCSI) Fibre Channel Protocol (FCP). This standard defines how the Fibre Channel services and the defined Information Units (IUs) are used to perform the services defined by the SCSI Architecture Model - 5 (SAM-5). This fourth version includes additions and clarifications to the third version (ISO/IEC 14776-223:2008), removes information that is now contained in other standards, and describes additional error recovery capabilities for the Fibre Channel Protocol.

Titre manque — Partie 224: Titre manque

General Information

Status
Published
Publication Date
24-Oct-2019
Current Stage
6060 - International Standard published
Start Date
25-Oct-2019
Due Date
22-Oct-2022
Completion Date
25-Oct-2019
Ref Project

Buy Standard

Standard
ISO/IEC 14776-224:2019 - Information technology - Small computer system interface (SCSI)
English language
133 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

ISO/IEC 14776-224
Edition 1.0 2019-10
INTERNATIONAL
STANDARD

Information technology – Small computer system interface (SCSI) –
Part 224: Fibre Channel Protocol for SCSI, fourth version (FCP-4)


ISO/IEC 14776-224:2019-10(en)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2019 ISO/IEC, Geneva, Switzerland

All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about
ISO/IEC copyright or have an enquiry about obtaining additional rights to this publication, please contact the address
below or your local IEC member National Committee for further information.


IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland

About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigendum or an amendment might have been published.

IEC publications search - webstore.iec.ch/advsearchform Electropedia - www.electropedia.org
The advanced search enables to find IEC publications by a The world's leading online dictionary on electrotechnology,
variety of criteria (reference number, text, technical containing more than 22 000 terminological entries in English
committee,…). It also gives information on projects, replaced and French, with equivalent terms in 16 additional languages.
and withdrawn publications. Also known as the International Electrotechnical Vocabulary

(IEV) online.
IEC Just Published - webstore.iec.ch/justpublished

Stay up to date on all new IEC publications. Just Published IEC Glossary - std.iec.ch/glossary
details all new publications released. Available online and 67 000 electrotechnical terminology entries in English and
once a month by email. French extracted from the Terms and Definitions clause of
IEC publications issued since 2002. Some entries have been
IEC Customer Service Centre - webstore.iec.ch/csc collected from earlier publications of IEC TC 37, 77, 86 and
If you wish to give us your feedback on this publication or CISPR.

need further assistance, please contact the Customer Service

Centre: sales@iec.ch.

---------------------- Page: 2 ----------------------
ISO/IEC 14776-224


Edition 1.0 2019-10




INTERNATIONAL



STANDARD



















Information technology – Small computer system interface (SCSI) –

Part 224: Fibre Channel Protocol for SCSI, fourth version (FCP-4)



























INTERNATIONAL

ELECTROTECHNICAL

COMMISSION






ICS 35.200 ISBN 978-2-8322-7520-7




  Warning! Make sure that you obtained this publication from an authorized distributor.

---------------------- Page: 3 ----------------------
ISO/IEC 14776-224:2019 © ISO/IEC 2019 - 2 -
Contents
FOREWORD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
INTRODUCTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2 Normative references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3 Terms, definitions, abbreviations and conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.1 Terms and definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.2 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.4 Editorial conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4 General. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.1 Structure and concepts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.2 FCP I/O operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.3 Bidirectional and unidirectional commands and FCP_RSP IU format . . . . . . . . . . . . . . . . . 26
4.4 Precise delivery of commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.5 Confirmed completion of FCP I/O operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.6 Retransmission of unsuccessfully transmitted IUs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.7 Task retry identification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.8 Discovery of FCP capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.9 Task management functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.9.1 Task management functions overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.9.2 ABORT TASK task management function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.9.3 QUERY TASK task management function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.10 Clearing effects of task management, FCP, FC-FS-3, FC-LS-2, and FC-AL-2 actions . . . 32
4.11 I_T nexus loss notification events. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.12 Transport Reset notification events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.13 Port Login/Logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
4.14 Process Login and Process Logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.15 Link management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.16 FCP addressing and Exchange identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
4.17 Use of Worldwide_Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5 FC-FS-3 frame header. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.1 FC-FS-3 frame header overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.2 FC-FS-3 frame header fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.2.1 R_CTL field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.2.2 D_ID field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.2.3 CS_CTL field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.2.4 S_ID field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.2.5 TYPE field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.2.6 F_CTL field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.2.7 SEQ_ID field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.2.8 DF_CTL field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.2.9 SEQ_CNT field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.2.10 OX_ID field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.2.11 RX_ID field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.2.12 PARAMETER field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6 FCP link service definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.1 Overview of link service requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.2 Overview of Process Login and Process Logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.3 PRLI ELS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.3.1 Use of PRLI ELS by the Fibre Channel Protocol. . . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.3.2 New or repeated Process Login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

---------------------- Page: 4 ----------------------
- 3 - ISO/IEC 14776-224:2019 © ISO/IEC 2019
6.3.3 PRLI ELS request FCP Service Parameter page format. . . . . . . . . . . . . . . . . . . . . 41
6.3.4 PRLI ELS accept FCP Service Parameter page format . . . . . . . . . . . . . . . . . . . . . 44
6.4 PRLO ELS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
6.5 Read Exchange Concise (REC) ELS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
7 FC-4 specific Name Server registration and objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.1 Overview of FC-4 specific objects for the Fibre Channel Protocol . . . . . . . . . . . . . . . . . . . . 47
7.2 FC-4 TYPEs object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
7.3 FC-4 Features object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
8 FCP FC-4 Link Service (FCP_LS) definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8.1 FCP_LS overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8.2 Sequence Retransmission Request (SRR) FCP_LS request. . . . . . . . . . . . . . . . . . . . . . . . 49
8.3 FCP_LS Accept (FCP_ACC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
8.4 FCP_LS Reject (FCP_RJT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
9 FCP Information Unit (IU) usage and formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
9.1 FCP Information Unit (IU) usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
9.2 FCP_CMND IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
9.2.1 Overview and format of FCP_CMND IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
9.2.2 FCP_CMND IU field descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.2.2.1 FCP_LUN field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.2.2.2 COMMAND REFERENCE NUMBER field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.2.2.3 COMMAND PRIORITY field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.2.2.4 TASK ATTRIBUTE field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.2.2.5 TASK MANAGEMENT FLAGS FIELD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.2.2.6 ADDITIONAL FCP_CDB LENGTH field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.2.2.7 RDDATA bit and WRDATA bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.2.2.8 FCP_CDB field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.2.2.9 ADDITIONAL_FCP_CDB field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.2.2.10 FCP_DL field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.2.2.11 FCP_BIDIRECTIONAL_READ_DL field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.3 FCP_XFER_RDY IU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.3.1 Overview and format of FCP_XFER_RDY IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.3.2 FCP_DATA_RO field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
9.3.3 FCP_BURST_LEN field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
9.4 FCP_DATA IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
9.4.1 FCP_DATA IU overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
9.4.2 FCP_DATA IUs for read and write operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
9.4.3 FCP_DATA IUs for bidirectional commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
9.4.4 FCP_DATA IU use of fill bytes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
9.5 FCP_RSP IU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
9.5.1 Overview and format of FCP_RSP IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
9.5.2 STATUS QUALIFIER field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
9.5.3 FCP_BIDI_RSP bit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
9.5.4 FCP_BIDI_READ_RESID_UNDER bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
9.5.5 FCP_BIDI_READ_RESID_OVER bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
9.5.6 FCP_CONF_REQ bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
9.5.7 FCP_RESID_UNDER bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
9.5.8 FCP_RESID_OVER bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
9.5.9 FCP_SNS_LEN_VALID bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
9.5.10 FCP_RSP_LEN_VALID bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
9.5.11 SCSI STATUS CODE field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
9.5.12 FCP_RESID field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
9.5.13 FCP_BIDIRECTIONAL_READ_RESID field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
9.5.14 FCP_SNS_LEN field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
9.5.15 FCP_RSP_LEN field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
9.5.16 FCP_RSP_INFO field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
9.5.17 FCP_SNS_INFO field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

---------------------- Page: 5 ----------------------
ISO/IEC 14776-224:2019 © ISO/IEC 2019 - 4 -
9.6 FCP_CONF IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
10 SCSI mode parameters for the Fibre Channel Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
10.1 Overview of mode pages for the Fibre Channel Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . 69
10.2 Disconnect-Reconnect mode page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
10.2.1 Overview and format of Disconnect-Reconnect mode page for FCP . . . . . . . . . . 69
10.2.2 BUFFER FULL RATIO field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
10.2.3 BUFFER EMPTY RATIO field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
10.2.4 BUS INACTIVITY LIMIT field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
10.2.5 DISCONNECT TIME LIMIT field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
10.2.6 CONNECT TIME LIMIT field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
10.2.7 MAXIMUM BURST SIZE field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
10.2.8 EMDP bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
10.2.9 FAA BIT, FAB BIT, AND FAC bit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
10.2.10 FIRST BURST SIZE field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
10.3 Fibre Channel Logical Unit Control mode page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
10.4 Fibre Channel Port Control mode page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
10.4.1 Overview and format of Fibre Channel Port Control mode page. . . . . . . . . . . . . . 73
10.4.2 DISABLE TARGET ORIGINATED LOOP INITIALIZATION (DTOLI) bit. . . . . . . . . . . . . . . . . . 74
10.4.3 DISABLE TARGET INITIATED PORT ENABLE (DTIPE) bit . . . . . . . . . . . . . . . . . . . . . . . . 74
10.4.4 ALLOW LOGIN WITHOUT LOOP INITIALIZATION (ALWLI) bit . . . . . . . . . . . . . . . . . . . . . . 74
10.4.5 REQUIRE HARD ADDRESS (RHA) bit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
10.4.6 DISABLE LOOP MASTER (DLM) bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
10.4.7 DISABLE DISCOVERY (DDIS) bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
10.4.8 PREVENT LOOP PORT BYPASS (PLPB) bit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
10.4.9 DISABLE TARGET FABRIC DISCOVERY (DTFD) bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
10.4.10 RR_TOV UNITS field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
10.4.11 SEQUENCE INITIATIVE RESOURCE RECOVERY TIMEOUT VALUE (RR_TOVSEQ_INIT) field76
11 Timers for FCP operation and recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
11.1 Summary of timers for the Fibre Channel Protocol. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
11.2 Error_Detect Timeout (E_D_TOV) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
11.3 Resource Allocation Timeout (R_A_TOV) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
11.4 Resource Recovery Timeout (RR_TOV) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
11.5 Read Exchange Concise Timeout Value (REC_TOV) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
11.6 Upper Level Protocol Timeout (ULP_TOV) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
12 Link error detection and error recovery procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
12.1 Error detection and error recovery overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
12.1.1 Exchange level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
12.1.2 Sequence level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
12.2 FCP error detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
12.2.1 Overview of FCP-4 error detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
12.2.2 FCP-4 error detection using protocol errors for all classes of service . . . . . . . . . . 80
12.2.3 Error detection mechanisms for acknowledged classes of service . . . . . . . . . . . . 81
12.3 Exchange level recovery using ABTS-LS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
12.3.1 ABTS-LS overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
12.3.2 Initiator FCP_Port Exchange termination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
12.3.3 Target FCP_Port response to Exchange termination . . . . . . . . . . . . . . . . . . . . . . 82
12.3.4 Additional error recovery by initiator FCP_Port . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
12.3.5 Additional error recovery by target FCP_Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
12.4 Sequence level error detection and recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
12.4.1 Using information from REC ELS to perform Sequence retransmission . . . . . . . . 83
12.4.1.1 Polling Exchange state with REC ELS. . . . . . . . . . . . . . . . . . . . . . . . . . . 83
12.4.1.2 Detection of errors while polling with REC ELS . . . . . . . . . . . . . . . . . . . . 83
12.4.1.3 FCP_CMND IU recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
12.4.1.4 FCP_XFER_RDY IU recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
12.4.1.5 FCP_RSP IU recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
12.4.1.6 FCP_DATA IU recovery - write operations. . . . . . . . . . . . . . . . . . . . . . . . 85

---------------------- Page: 6 ----------------------
- 5 - ISO/IEC 14776-224:2019 © ISO/IEC 2019
12.4.1.7 FCP_DATA IU recovery - read operations. . . . . . . . . . . . . . . . . . . . . . . . 86
12.4.1.8 FCP_CONF IU recovery. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
12.4.2 Additional error recovery requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
12.4.2.1 Error indicated in ACK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
12.4.2.2 Missing ACK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
12.4.2.3 Distinguishing Exchange to be aborted . . . . . . . . . . . . . . . . . . . . . . . . . . 87
12.5 Second-level error recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
12.5.1 ABTS error recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
12.5.2 REC ELS request error recovery. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
12.5.3 SRR FCP_LS request error recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
12.6 Responses to FCP type frames before port login or process login . . . . . . . . . . . . . . . . . . 88
Annex A (normative) SAM-5 mapping to FCP-4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Annex B (informative) FCP examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
B.1 Examples of the use of FCP Information Units (IUs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
B.1.1 Overview of examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
B.1.2 Read command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
B.1.3 Write command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
B.1.4 Command with no data transfer or with check condition. . . . . . . . . . . . . . . . . . . . . 92
B.1.5 Read command with multiple FCP_DATA IUs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
B.1.6 Write command with FCP_XFER_RDY disabled . . . . . . . . . . . . . . . . . . . . . . . . . . 93
B.1.7 Bidirectional command with write before read. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
B.1.8 Bidirectional command with read before write. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
B.1.9 Bidirectional command with write first and write FCP_XFER_RDY disabled . . . . . 95
B.1.10 Bidirectional command with intermixed writes and reads . . . . . . . . . . . . . . . . . . . 96
B.1.11 Write command with confirmed completion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
B.1.12 Task management function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
B.1.13 Class 2 write command example, frame level. . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
B.1.14 Class 2 read command example, frame level . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Annex C (informative) Error detection and recovery examples . . . . . . . . . . . . . . . . . . . . . . . . 102
Annex D (informative) FCP device discovery procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
D.1 FCP Device Discovery Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
D.1.1 Initiator discovery of Fabric-attached target FCP_Ports . . . . . . . . . . . . . . . . . . . . 136
D.1.2 Initiator discovery of loop-attached target FCP_Ports. . . . . . . . . . . . . . . . . . . . . . 136
D.2 Fabric and device verification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
D.3 Logical unit verification. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Annex E (informative) FCP-4 examples of link service usage. . . . . . . . . . . . . . . . . . . . . . . . . . 138
E.1 Formats for recovery link services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
E.2 Abort Sequence (ABTS) request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
E.2.1 Abort Sequence (ABTS) request fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
E.2.2 Basic Accept (BA_ACC) frame to ABTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
E.2.3 Basic Reject (BA_RJT) frame to ABTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
E.3 Reinstate Recovery Qualifier (RRQ) ELS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140

---------------------- Page: 7 ----------------------
ISO/IEC 14776-224:2019 © ISO/IEC 2019 - 6 -
Tables
Table 1 - Numbering conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 2 - SCSI and Fibre Channel Protocol functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 3 - Discovery of FCP-4 capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 4 - Task management functions, SAM-5 to FCP-4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Table 5 - SCSI Service Response mapping for FCP_CMND delivered task management functions 31
Table 6 - SCSI Service Response mapping for ABORT TASK . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Table 7 - SCSI Service Response mapping for QUERY TASK . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Table 8 - Clearing effects of link related actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Table 9 - Clearing effects of initiator FCP_Port actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Table 10 - FCP frame header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Table 11 - PRLI ELS request FCP Service Parameter page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Table 12 - PRLI ELS accept FCP Service Parameter page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Table 13 - FCP TYPE 08h definition of FC-4 Feature bits . . . . .
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.