Return-Path: <owner-ips-outgoing@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips-outgoing@ece.cmu.edu>
Received: from hazard.ece.cmu.edu (HAZARD.ECE.CMU.EDU [128.2.129.24])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h574ji312831
	for <ipsml@ece.cmu.edu>; Sat, 7 Jun 2003 00:45:44 -0400 (EDT)
Received: by hazard.ece.cmu.edu (Postfix, from userid 953)
	id EF2BF8B; Sat,  7 Jun 2003 00:45:43 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by hazard.ece.cmu.edu (Postfix) with ESMTP
	id 01AEE86; Sat,  7 Jun 2003 00:45:40 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix)
	id 4483789D9; Sat,  7 Jun 2003 00:45:24 -0400 (EDT)
Received: from osgood.ece.cmu.edu (OSGOOD.ECE.CMU.EDU [128.2.129.25])
	by sos.ece.cmu.edu (Postfix) with ESMTP id 3435989D7
	for <ips-outgoing@sos.ece.cmu.edu>; Sat,  7 Jun 2003 00:45:24 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix)
	id 017C593; Sat,  7 Jun 2003 00:45:24 -0400 (EDT)
Received: by osgood.ece.cmu.edu (Postfix, from userid 953)
	id CD2929A; Sat,  7 Jun 2003 00:45:23 -0400 (EDT)
Received: from sos.ece.cmu.edu (SOS.ECE.CMU.EDU [128.2.129.27])
	by osgood.ece.cmu.edu (Postfix) with ESMTP id 7A2E493
	for <ips-outgoing@ece.cmu.edu>; Sat,  7 Jun 2003 00:45:20 -0400 (EDT)
Received: by sos.ece.cmu.edu (Postfix, from userid 363)
	id 49D5F89DC; Sat,  7 Jun 2003 00:45:20 -0400 (EDT)
X-Original-To: ips@sos.ece.cmu.edu
Received: from hazard.ece.cmu.edu (HAZARD.ECE.CMU.EDU [128.2.129.24])
	by sos.ece.cmu.edu (Postfix) with ESMTP id 74CD789D7
	for <ips@sos.ece.cmu.edu>; Sat,  7 Jun 2003 00:45:18 -0400 (EDT)
Received: by hazard.ece.cmu.edu (Postfix)
	id 0A9148B; Sat,  7 Jun 2003 00:45:18 -0400 (EDT)
Delivered-To: ips@ece.cmu.edu
Received: by hazard.ece.cmu.edu (Postfix, from userid 953)
	id DBDC786; Sat,  7 Jun 2003 00:45:17 -0400 (EDT)
Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11])
	by hazard.ece.cmu.edu (Postfix) with ESMTP id 482208B
	for <ips@ece.cmu.edu>; Sat,  7 Jun 2003 00:45:14 -0400 (EDT)
Received: from RLTEMPLE (vpn10-95-10-3.wrsec.fr [10.95.10.3])
	by mail.wrs.com (8.9.3/8.9.1) with SMTP id VAA12699;
	Fri, 6 Jun 2003 21:44:49 -0700 (PDT)
From: "Rod Harrison" <rod.harrison@windriver.com>
To: "Eddy Quicksall" <eddy_quicksall@ivivity.com>, <ips@ece.cmu.edu>
Subject: RE: iscsi: Data PDU in two Sequence multiplexing issue
Date: Fri, 6 Jun 2003 23:45:10 -0500
Message-ID: <NEBBKMMOEMCINPLCHKGMKEKGECAA.rod.harrison@windriver.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <AEC4671C8179D61194DE0002B328BDD272FDE3@ATLOPS>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
Sender: owner-ips@ece.cmu.edu
Precedence: bulk
X-Spam-Status: No, hits=-21.0 required=5.0
	tests=BAYES_10,IN_REP_TO,MSGID_GOOD_EXCHANGE,ORIGINAL_MESSAGE
	version=2.50
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp)


Agreed, if the R2Ts ask for all the data sent in both PDUs 1 & 2.
i.e. The amount of data solicited by the R2Ts is sent in two PDUs
1 and 2.

Do you agree the examples I gave where A1, B1, A2, B2 is valid
are correct given the conditions I specified?

- Rod

-----Original Message-----
From: owner-ips@ece.cmu.edu [mailto:owner-ips@ece.cmu.edu]On
Behalf Of
Eddy Quicksall
Sent: Friday, June 06, 2003 8:44 PM
To: Rod Harrison; ips@ece.cmu.edu
Subject: RE: iscsi: Data PDU in two Sequence multiplexing issue


I think the word "fulfilled" in 10.8 is the same as saying
"completed".

T->I R2T-A
T->I R2T-B

So PDU 1 of A  -> PDU 1 of B -> PDU2 of A -> PDU2 of B would be
illegal
because sequence A is not fulfilled before sequence B begins.

Do you agree with that?

Eddy


-----Original Message-----
From: Rod Harrison [mailto:rod.harrison@windriver.com]
Sent: Friday, June 06, 2003 8:52 PM
To: Sanjay Goyal; ips@ece.cmu.edu
Subject: RE: iscsi: Data PDU in two Sequence multiplexing issue


That depends on why the initiator is sending the data. If we are
talking solely about unsolicited data then you are correct, all
the unsolicited data for command N must be sent before any
unsolicited data for command N+1. In your example we must see A1,
A2, B1, B2.

However, your second sequence can be valid if there are solicited
data involved. There are at least two valid scenarios for A1, B1,
A2, B2:

First A1 and B1 are unsolicited data and are FirstBurstSize big.
The initiator would then have to see R2T-A2 and R2T-B2 in that
order. Where R2T-A2 means the R2T requesting PDU A2.

Alternatively all the data could be solicited and A1 and B1
satisfy R2T-A1 and R2T-B1 respectively.

What 3.2.4.1 is telling you is that the target can not assume the
PDU following a command PDU is the corresponding unsolicited
data. In fact pretty much any PDU can come next, the only thing
that is guaranteed is that the next unsolicited DATA-OUT PDU will
be for command in question.

- Rod

-----Original Message-----
From: owner-ips@ece.cmu.edu [mailto:owner-ips@ece.cmu.edu]On
Behalf Of
Sanjay Goyal
Sent: Friday, June 06, 2003 12:58 PM
To: ips@ece.cmu.edu
Subject: iscsi: Data PDU in two Sequence multiplexing issue


Hi,
Can somebody please comment,

This is what I am not very clear about, from the specification.
-----------------
10.8 says: Within a connection, outstanding R2Ts MUST be
fulfilled by the initiator in the order in which they were
received.

3.2.4.1 says: When unsolicited data is used, the order of the
unsolicited
data on each connection MUST match the order in which the
commands
on that connection are sent. Command and unsolicited data PDUs
may
be interleaved on a single connection as long as the ordering
requirements of each are maintained (e.g., command N+1 MAY be
sent
before the unsolicited Data-Out PDUs for command N, but the
unsolicited Data-Out PDUs for command N MUST precede the
unsolicited
Data-Out PDUs of command N+1).
------------------


if we have two Data-out sequences A and B of 2 pdus each, to be
sent on the
same connection.
this is how I think they will be sent
PDU 1 of A -> PDU2 of A  -> PDU1 of B -> PDU2 of B
  What I am trying to verify is that the below sequence is valid
or not.
PDU 1 of A  -> PDU 1 of B -> PDU2 of A -> PDU2 of B

Regards
Sanjay Goyal


