1、ANSI INCITS 350-2003for Information Technology Fibre Channel Protocol for SCSI, Second Version (FCP-2)ANSIINCITS 350-2003Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Copyright
2、 American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-ANSIINCITS 350-2003American National Standardfor Information Technology Fibre Channel Protocol for SCSI,Second Version (FCP-2)SecretariatIn
3、formation Technology Industry CouncilApproved April 7, 2003American National Standards Institute, Inc.AbstractThis standard describes the frame format and protocol definitions required to transfer commands and databetween a SCSI (Small Computer System Interface) initiator and target using the Fibre
4、Channel family ofstandards. The second version adds optional retransmission, task ordering, and confirmation capabilities.Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-Approval
5、 of an American National Standard requires review by ANSI that therequirements for due process, consensus, and other criteria for approval havebeen met by the standards developer.Consensus is established when, in the judgement of the ANSI Board ofStandards Review, substantial agreement has been reac
6、hed by directly andmaterially affected interests. Substantial agreement means much more thana simple majority, but not necessarily unanimity. Consensus requires that allviews and objections be considered, and that a concerted effort be madetowards their resolution.The use of American National Standa
7、rds is completely voluntary; theirexistence does not in any respect preclude anyone, whether he has approvedthe standards or not, from manufacturing, marketing, purchasing, or usingproducts, processes, or procedures not conforming to the standards.The American National Standards Institute does not d
8、evelop standards andwill in no circumstances give an interpretation of any American NationalStandard. Moreover, no person shall have the right or authority to issue aninterpretation of an American National Standard in the name of the AmericanNational Standards Institute. Requests for interpretations
9、 should beaddressed to the secretariat or sponsor whose name appears on the titlepage of this standard.CAUTION NOTICE: This American National Standard may be revised orwithdrawn at any time. The procedures of the American National StandardsInstitute require that action be taken periodically to reaff
10、irm, revise, orwithdraw this standard. Purchasers of American National Standards mayreceive current information on all standards by calling or writing the AmericanNational Standards Institute.American National StandardPublished byAmerican National Standards Institute, Inc.25 West 43rd Street, New Yo
11、rk, NY 10036Copyright 2003 by Information Technology Industry Council (ITI)All rights reserved.No part of this publication may be reproduced in anyform, in an electronic retrieval system or otherwise,without prior written permission of ITI, 1250 Eye Street NW, Washington, DC 20005. Printed in the Un
12、ited States of AmericaCAUTION: The developers of this standard have requested that holders of patents that may be re-quired for the implementation of the standard disclose such patents to the publisher. However, nei-ther the developers nor the publisher have undertaken a patent search in order to id
13、entify which, ifany, patents may apply to this standard. As of the date of publication of this standard, followingcalls for the identification of patents that may be required for the implementation of the standard,notice of one or more such claims has been received. By publication of this standard,
14、no positionis taken with respect to the validity of this claim or of any rights in connection therewith. The knownpatent holder(s) has (have), however, filed a statement of willingness to grant a license underthese rights on reasonable and nondiscriminatory terms and conditions to applicants desirin
15、g to ob-tain such a license. Details may be obtained from the publisher. No further patent search is con-ducted by the developer or publisher in respect to any standard it processes. No representation ismade or implied that this is the only license that may be required to avoid infringement in the u
16、se ofthis standard.Copyright American National Standards Institute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-iContentsForeword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
17、 . . . . . . . . . . . . . . . . . . . . viIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix1 Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18、. . . . . . . . . . . . . . . . 12 Normative references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.1 Qualification and availability of references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.2 Publi
19、shed standard references . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.3 References under development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.4 Other references . . . . . . . . . . . . . . . . . . . . .
20、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Definitions, abbreviations and conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23.1 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21、. . . . . . . . . . . . . . . . . 23.2 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53.3 Keywords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22、 . . 63.4 Editorial conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.1 Structure and
23、concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94.2 Device management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104.3 Precise delivery of SCSI commands. . . . . . . . . . . .
24、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124.4 Confirmed completion of FCP I/O Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134.5 Retransmission of unsuccessfully transmitted data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144.6 Task retry
25、identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144.7 Discovery of FCP capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154.8 Task management . . . . . . . . . . . . . . . . . . .
26、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154.9 Clearing effects of task management, FCP, FC-FS, and FC-AL-2 actions. . . . . . . . . . . 164.10 I_T nexus loss notification events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184.11 Tran
27、sport Reset notification events. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194.12 Port login/logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194.13 Process login/logout . . . . . . . . . . . . . .
28、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194.14 Link management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 Fibre Channel protocol overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29、 . . . . . . . . . . . . . . . 215.1 FCP addressing and Exchange identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215.2 SCSI third-party device identifier for the Fibre Channel protocol . . . . . . . . . . . . . . . . . . 215.3 Use of World Wide Names . . . . . . . .
30、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215.4 FCP Information Units (IUs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225.5 Fibre Channel protocol standard formats . . . . . . . . . . . . . . . . . . . . . . . . .
31、. . . . . . . . . . . 235.6 FC-FS mappings to SCSI-3 functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245.6.1 FC-FS frame header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245.6.2 Frame header fields . . . . .
32、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245.6.2.1 R_CTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245.6.2.2 D_ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33、 . . . . . . . . . . . . . . . . . . 245.6.2.3 CS_CTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245.6.2.4 S_ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245.6.2.5 TYP
34、E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245.6.2.6 F_CTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255.6.2.7 SEQ_ID . . . . . . . . . . . . . . . . . . . . . . .
35、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255.6.2.8 DF_CTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255.6.2.9 SEQ_CNT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
36、. . . . 255.6.2.10 OX_ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255.6.2.11 RX_ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Copyright American National Standards In
37、stitute Provided by IHS under license with ANSINot for ResaleNo reproduction or networking permitted without license from IHS-,-,-ii6 FCP basic and extended link service definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276.1 Overview of link service requirements . . .
38、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276.2 Overview of Process Login/Logout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276.3 Process Login (PRLI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39、. . . . . . . . . . 286.3.1 Use of Process Login by the Fibre Channel protocol . . . . . . . . . . . . . . . . . . . . . . . 286.3.2 Process_Associator requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286.3.3 New or repeated PRLI . . . . . . . . . . . . . . . .
40、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286.3.4 Process Login request FCP Service Parameter page format . . . . . . . . . . . . . . . . 296.3.5 Process Login accept FCP Service Parameter page format . . . . . . . . . . . . . . . . . 326.4 Process Logout (PRLO) . . . . . . . . . .
41、 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336.5 Read Exchange Concise (REC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 FC-4 specific name server objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42、 . . . . . . . . . . . . 357.1 Overview of FC-4 specific objects for the Fibre Channel protocol . . . . . . . . . . . . . . . . . 357.2 FC-4 Features object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357.3 FC-4 Descriptor object . . . . . .
43、. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358 FC-4 Link Service definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378.1 FC-4 Link Services for the Fibre Channel protocol . . . . . . . . . . . .
44、. . . . . . . . . . . . . . . . . 378.2 Sequence Retransmission Request (SRR). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378.3 FCP FC-4 Link Service Reject . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399 FCP Information Unit (IU)
45、formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419.1 FCP_CMND IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419.1.1 FCP_CMND IU format . . . . . . . . . . . . . . . . . . . . . . .
46、 . . . . . . . . . . . . . . . . . . . . . . . 419.1.2 FCP_CMND IU Field descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419.1.2.1 FCP_LUN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419.1.2.2 COMMAN
47、D REFERENCE NUMBER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429.1.2.3 task attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429.1.2.4 TASK MANAGEMENT FLAGS . . . . . . . . . . . . . . . . . . . . . . . . . .
48、. . . . . . . . . . . . . . 429.1.3 Additional mechanisms for performing task management functions - ABORT TASK 469.2 FCP_XFER_RDY IU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469.2.1 Overview and format of FCP_XFER_RDY IU . . . . . . . .
49、 . . . . . . . . . . . . . . . . . . . . 469.2.2 fcp_data_ro . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479.2.3 fcp_burst_len . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479.3 FCP_DATA IU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 479.4 FCP_RSP IU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .