ISO/IEC 14776-223:2008
(Main)Information technology - Small computer system interface (SCSI) - Part 223: Fibre channel protocol, third version (FCP-3)
Information technology - Small computer system interface (SCSI) - Part 223: Fibre channel protocol, third version (FCP-3)
ISO/IEC 14776-223:2008(E) describes the protocol for transmitting SCSI commands, data and status using Fibre Channel FC-FS-2 Exchanges and Information Units. It defines how the Fibre Channel services and the defined information units are used to perform the services defined by the SCSI Architecture Model-3 (SAM-3).
General Information
Standards Content (Sample)
ISO/IEC 14776-223
Edition 1.0 2008-05
INTERNATIONAL
STANDARD
Information technology –
Small computer system interface (SCSI) –
Part 223: Fibre channel protocol, third version (FCP-3)
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
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: inmail@iec.ch
Web: www.iec.ch
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 corrigenda or an amendment might have been published.
ƒ Catalogue of IEC publications: www.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
ƒ IEC Just Published: www.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
ƒ Electropedia: www.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
ƒ Customer Service Centre: www.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
ISO/IEC 14776-223
Edition 1.0 2008-05
INTERNATIONAL
STANDARD
Information technology –
Small computer system interface (SCSI) –
Part 223: Fibre channel protocol, third version (FCP-3)
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XB
ICS 35.200 ISBN 2-8318-9817-X
FDIS 14776-223 © ISO/IEC:2008 - 3 -
14776-223 © ISO/IEC:2008(E) – 3 –
FOREWORD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2 Normative references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3 Definitions, abbreviations and conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.1 Terms and definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.2 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.4 Editorial conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
4 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.1 Structure and concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.2 FCP I/O operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.3 Bidirectional and unidirectional commands and FCP_RSP IU format . . . . . . . . . . . . . . 25
4.4 Precise delivery of SCSI commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
4.5 Confirmed completion of FCP I/O operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
4.6 Retransmission of unsuccessfully transmitted IUs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.7 Task retry identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.8 Discovery of FCP capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.9 Task management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.10 Clearing effects of task management, FCP, FC-FS-2, FC-LS, and FC-AL-2 actions . . 29
4.11 I_T nexus loss notification events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.12 Transport Reset notification events. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.13 Port Login/Logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.14 Process Login and Process Logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.15 Link management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.16 FCP addressing and Exchange identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.17 Use of World Wide Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5 FC-FS-2 frame header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.1 FC-FS-2 frame header overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.2 FC-FS-2 frame header fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.2.1 r_ctl field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.2.2 d_id field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.2.3 cs_ctl field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.2.4 s_id field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.2.5 type field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.2.6 f_ctl field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.7 seq_id field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.8 df_ctl field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.9 seq_cnt field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.10 ox_id field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.11 rx_id field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2.12 parameter field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
6 FCP link service definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6.1 Overview of link service requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6.2 Overview of Process Login and Process Logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
6.3 PRLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.3.1 Use of PRLI by the Fibre Channel Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.3.2 Process_Associator requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.3.3 New or repeated Process Login . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.3.4 PRLI request FCP Service Parameter page format . . . . . . . . . . . . . . . . . . . . . . . . 37
- 4 - FDIS 14776-223 © ISO/IEC:2008
– 4 – 14776-223 © ISO/IEC:2008(E)
6.3.5 PRLI accept FCP Service Parameter page format . . . . . . . . . . . . . . . . . . . . . . . . . 40
6.4 PRLO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.5 Read Exchange Concise (REC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
7 FC-4 specific Name Server registration and objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
7.1 Overview of FC-4 specific objects for the Fibre Channel Protocol . . . . . . . . . . . . . . . . . 42
7.2 FC-4 TYPEs object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
7.3 FC-4 Features object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
8 FC-4 Link Service definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.1 FC-4 Link Services for the Fibre Channel Protocol. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.2 Sequence Retransmission Request (SRR). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.3 FCP FC-4 Link Service Reject (FCP_RJT). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
9 FCP Information Unit (IU) usage and formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
9.1 FCP Information Unit (IU) usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
9.2 FCP_CMND IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
9.2.1 Overview and format of FCP_CMND IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
9.2.2 FCP_CMND IU field descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
9.2.2.1 fcp_lun field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
9.2.2.2 COMMAND REFERENCE NUMBER field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
9.2.2.3 priority field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
9.2.2.4 task attribute field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
9.2.2.5 TASK MANAGEMENT FLAGS FIELD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
9.2.2.6 additional fcp_cdb length field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
9.2.2.7 rddata and wrdata bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
9.2.2.8 fcp_cdb field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
9.2.2.9 additional_fcp_cdb field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
9.2.2.10 fcp_dl field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
9.2.2.11 fcp_bidirectional_read_dl field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
9.3 FCP_XFER_RDY IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
9.3.1 Overview and format of FCP_XFER_RDY IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
9.3.2 fcp_data_ro field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
9.3.3 fcp_burst_len field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.4 FCP_DATA IU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.4.1 FCP_DATA IU overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
9.4.2 FCP_DATA IUs for read and write operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.4.3 FCP_DATA IUs for bidirectional commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
9.4.4 FCP_DATA IU use of fill bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9.5 FCP_RSP IU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9.5.1 Overview and format of FCP_RSP IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
9.5.2 retry delay timer field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.5.3 fcp_bidi_rsp bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.5.4 fcp_bidi_read_resid_under bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.5.5 fcp_bidi_read_resid_over bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.5.6 FCP_CONF_REQ BIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.5.7 fcp_resid_under bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.5.8 fcp_resid_over bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
9.5.9 fcp_sns_len_valid bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.