Reg: Bidirectional command format ?

Praveen Madhavan <[email protected]>
Newsgroups gmane.ietf.ips
Message-ID <[email protected]>
Hi Folks,
  
 Can any one point me the frame format of  bidirectional command in case of iSCSI & FCP ?.. I was trying to  route bidirectional command recv'd from iSCSI initiator to FC Target.. 
  
  Here is the iSCSI PDU format for bi-direct command recv from initiator
 ------------------------------------------------------------------------------------------------
  |         BHS(48bytes)                                                                     | 
  |        R & W bit set to  ONE,                                                         |
  |        Expected xfer len =  0x200                                                   |   
  |        Total AHS Length =  2(8bytes)                                              |
  |        SCSI CDB = Write(10)  Transfer length = 00 01 ( 512 bytes)  |  
   ------------------------------------------------------------------------------------------------|       
  |        AHS ( 8 bytes)                                                                        | 
  |        Expected Read data length =  0x200(512  bytes)                     |
  --------------------------------------------------------------------------------------------------
  
  Here is the FCP format for bi-direct command that i frame for sending it to target.
  
   ------------------------------------------------------------------------------------------------
  |        FC-Header  (24bytes)                                                           | 
    |------------------------------------------------------------------------------------------------
  |        FCP-Header(36  bytes)                                                         |
  |         R & W bit set to  ONE,                                                        |  
  |        Additional CDB length = 0                                                      |
    |        SCSI CDB = Write(10)  Transfer length = 00 01 ( 512 bytes)   |
  |        FCP_DL  = 0x200 ( 512  bytes)                                              |
  |        FCP_BIDIRECTIONAL_READ_DL =  0x200(512)                      |
   -------------------------------------------------------------------------------------------------|       
  
  Well, I am not quite sure about the CDB values in case Bidir commands..
  Will Bi directional cmds use Write CDB(10) or Read CDB (10) ? ..
  
  How can i control following bidi- operation in case of iSCSI & FCP ?
  1.bidirectional command with read before write operation
  2.bidirectional command with write before read operation
  
  -Praveen
  
 		
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

_______________________________________________
Ips mailing list
[email protected]
https://www1.ietf.org/mailman/listinfo/ips
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.