Return-Path: <owner-ips@ece.cmu.edu>
X-Sieve: cmu-sieve 2.0
Return-Path: <owner-ips@ece.cmu.edu>
Received: (from majordom@localhost)
	by ece.cmu.edu (8.11.0/8.10.2) id h39Gv2w04652
	for ips-outgoing; Wed, 9 Apr 2003 12:57:02 -0400 (EDT)
X-Authentication-Warning: ece.cmu.edu: majordom set sender to owner-ips@ece.cmu.edu using -f
Received: from msgbas1x.cos.agilent.com (msgbas1x.cos.agilent.com [192.25.240.36])
	by ece.cmu.edu (8.11.0/8.10.2) with ESMTP id h39Guw304647
	for <ips@ece.cmu.edu>; Wed, 9 Apr 2003 12:56:58 -0400 (EDT)
Received: from relcos1.cos.agilent.com (relcos1.cos.agilent.com [130.29.152.239])
	by msgbas1x.cos.agilent.com (Postfix) with ESMTP
	id CE437177A3; Wed,  9 Apr 2003 10:56:57 -0600 (MDT)
Received: from axcsbh1.cos.agilent.com (axcsbh1.cos.agilent.com [130.29.152.143])
	by relcos1.cos.agilent.com (Postfix) with SMTP
	id 85F6D678; Wed,  9 Apr 2003 10:56:57 -0600 (MDT)
Received: from 130.29.152.143 by axcsbh1.cos.agilent.com (InterScan E-Mail VirusWall NT); Wed, 09 Apr 2003 10:56:55 -0600
Received: by axcsbh1.cos.agilent.com with Internet Mail Service (5.5.2653.19)
	id <GRMZKP13>; Wed, 9 Apr 2003 10:56:54 -0600
Message-ID: <1BEBA5E8600DD4119A50009027AF54A00131C964@axcs04.cos.agilent.com>
From: pat_thaler@agilent.com
To: AClarke@attotech.com, wrstuden@wasabisystems.com
Cc: ips@ece.cmu.edu
Subject: RE: iSCSI SCSI command F bit questions
Date: Wed, 9 Apr 2003 10:56:53 -0600 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ips@ece.cmu.edu
Precedence: bulk

A goal of having the unsolicited data feature is that it allows data to flow (in the unsolicited data out PDUs) during the round trip delay for the first R2T. To achieve this, the Target must know how much unsolicited data will be sent when it receives the SCSI command PDU so it knows where to start the range of the R2T. The set of options you list allows that. When the target receives the command PDU, it can tell by examination of that PDU whether the initiator has chosen 1, 2, 3 or 4 below.
 1. no unsolicited data 
 2. unsolicited data = immediate data length
 3 and 4. unsolicited data = FirstBurstLength or all the data, which ever is less.

Note that your terminology below is a little off - unsolicited data includes immediate data. If you want to specifically talk about the unsolicited data sent in data out PDUs, you need to say non-immediate unsolicited data.

Pat

-----Original Message-----
From: AClarke@attotech.com [mailto:AClarke@attotech.com]
Sent: Wednesday, April 09, 2003 6:59 AM
To: wrstuden@wasabisystems.com
Cc: ips@ece.cmu.edu
Subject: Re: iSCSI SCSI command F bit questions
<clip>
So for each unidirectional write command (with InitialR2T=No,
ImmediateData=Yes), the initiator can choose between:
    1. no immediate data and no unsolicited data (data-outs)
    2. immediate data and no unsolicited, immediate < FirstBurstLength
    3. no immediate data and unsolicited, unsolicited = FirstBurstLength
    4. immediate data and unsolicited data, sum = FirstBurstLength
Is this correct?

Why can't the initiator send less than FirstBurstLength of unsolicited
using a data-out with F bit set?
If we are acting as if an R2T was sent, section 10.8 states "a target MAY
choose to Reject that PDU with "Protocol error" reason code."

