[Ips] iSER Data-in clarification

Arne Redlich <arne.redlich@googlemail.com> Mon, 22 June 2009 17:24 UTC

Return-Path: <arne.redlich@googlemail.com>
X-Original-To: ips@core3.amsl.com
Delivered-To: ips@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D6DF028C12E for <ips@core3.amsl.com>; Mon, 22 Jun 2009 10:24:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.98
X-Spam-Level:
X-Spam-Status: No, score=-1.98 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_SORBS_WEB=0.619]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vmRv3kX9TUDj for <ips@core3.amsl.com>; Mon, 22 Jun 2009 10:24:16 -0700 (PDT)
Received: from mail-ew0-f210.google.com (mail-ew0-f210.google.com [209.85.219.210]) by core3.amsl.com (Postfix) with ESMTP id BC0B63A69C4 for <ips@ietf.org>; Mon, 22 Jun 2009 10:24:15 -0700 (PDT)
Received: by ewy6 with SMTP id 6so4878327ewy.37 for <ips@ietf.org>; Mon, 22 Jun 2009 10:24:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=015EWMrts6qMfZ7kICoRJW0rMNGgpBNrSxsrwfbhj6E=; b=pULcDDmakgVlwRXhtlqyFqt06zLjlMKVDo542U/1/5DYARedqSZEzVSiYBuQcSkRJU ZXKmP0H70+TiSkdLxINT+IhQaQDUXaQYLxypPJenQ2oVRhDlqIt6pARAyqii2Zxy0knt dn5ugO8hTBGHc/dPwz98kgbmfOwXioW+RJAhk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=enjz1MaMg6aAYR0AtqJ6cgC12D2SpKPy26cqU/eEcOW/C6gwH5buAVcCCcT8bsCkUx tN9hPU3OZdTC++ypep7ZILTg60qvvBoav3VpRaOdjT58ieu6BbJfJ6aRFFXhEZ4HQH9S SschKLtixJSzORsFYKge+MZe6o0LMo6CK18Os=
Received: by 10.210.141.19 with SMTP id o19mr7687620ebd.54.1245691467808; Mon, 22 Jun 2009 10:24:27 -0700 (PDT)
Received: from ?192.168.11.2? (lo-0.caesar2.telehouse.ddkom.net [212.80.224.243]) by mx.google.com with ESMTPS id 26sm13501415ewy.83.2009.06.22.10.24.25 (version=SSLv3 cipher=RC4-MD5); Mon, 22 Jun 2009 10:24:27 -0700 (PDT)
From: Arne Redlich <arne.redlich@googlemail.com>
To: ips@ietf.org
Content-Type: text/plain
Date: Mon, 22 Jun 2009 19:24:18 +0200
Message-Id: <1245691458.4513.269.camel@blackadder>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1
Content-Transfer-Encoding: 7bit
Subject: [Ips] iSER Data-in clarification
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: arne.redlich@gmail.com
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ips>, <mailto:ips-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ips>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ips>, <mailto:ips-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 22 Jun 2009 18:34:43 -0000

Hi,

I'm unclear on the granularity with which an iSER target is supposed to
transfer Data-In via RDMA writes. Here's the pieces of information I'm
trying to tie together:

(1) The iSER spec replaces the initiator's MaxRecvDataSegmentLength with
InitiatorMaxRecvDSL, but this only applies to control type PDUs
(2) MaxBurstLength limits the size of Data-{In,Out} sequences, however,
the iSER spec is silent about Data-In sequences.
(3) RFC 5046, 7.3.5 (SCSI Data-In):
 "2. It MUST generate and send an RDMA Write Message containing the read
data to the initiator [...]
  c. It MUST use DataSegmentLength from the SCSI Data-in PDU to
determine the amount of data to be sent in the RDMA Write Message."

What is the iSCSI layer at the target supposed to use as
DataSegmentLength? MaxBurstLength? The full Data-In length?

Thanks in advance,
Arne