From mailnull@www1.ietf.org  Tue Oct  1 10:13:35 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA18789
	for <rddp-archive@odin.ietf.org>; Tue, 1 Oct 2002 10:13:35 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g91EF4001818
	for rddp-archive@odin.ietf.org; Tue, 1 Oct 2002 10:15:04 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91EF4v01807
	for <rddp-web-archive@optimus.ietf.org>; Tue, 1 Oct 2002 10:15:04 -0400
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA18770
	for <rddp-web-archive@ietf.org>; Tue, 1 Oct 2002 10:13:05 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91EE5v01535;
	Tue, 1 Oct 2002 10:14:05 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91EDcv01393
	for <rddp@optimus.ietf.org>; Tue, 1 Oct 2002 10:13:38 -0400
Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.133])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA18615
	for <rddp@ietf.org>; Tue, 1 Oct 2002 10:11:38 -0400 (EDT)
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e35.co.us.ibm.com (8.12.2/8.12.2) with ESMTP id g91ED39a019662
	for <rddp@ietf.org>; Tue, 1 Oct 2002 10:13:03 -0400
Received: from d03nm803.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g91EELiX089794
	for <rddp@ietf.org>; Tue, 1 Oct 2002 08:14:22 -0600
Subject: Re: [rddp] STag validation semantics
To: rddp@ietf.org
X-Mailer: Lotus Notes Release 5.0.7  March 21, 2001
Message-ID: <OF0F032B8F.B82D7592-ON86256C45.004DBFE4@boulder.ibm.com>
From: "Renato Recio" <recio@us.ibm.com>
Date: Tue, 1 Oct 2002 09:12:59 -0500
X-MIMETrack: Serialize by Router on D03NM803/03/M/IBM(Release 5.0.10 |March 22, 2002) at
 10/01/2002 08:13:02 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>


I agree with Caitlin and wanted to add another point.  In IB,  our view was
the ULP could associate the Protection Domain with a process.  For example,
the ULP could make the process id = the protection domain.  If the ULP does
that, then one process cannot access the resources owned by another
process,  because they are protected by the PD.

Thanks

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685



                                                                                                                        
                      Caitlin Bestler                                                                                   
                      <caitlinb@rp.asom        To:       rddp@ietf.org                                                  
                      i.net>                   cc:                                                                      
                      Sent by:                 Subject:  Re: [rddp] STag validation semantics                           
                      rddp-admin@ietf.o                                                                                 
                      rg                                                                                                
                                                                                                                        
                                                                                                                        
                      09/30/2002 08:05                                                                                  
                      PM                                                                                                
                                                                                                                        
                                                                                                                        



On 9/30/02, Mukund, Shridhar wrote:

>
>Caitlin,
>
>Isn't it true that a connection can be associated with
>multiple protection domains at the same time?
>
>Are you assuming otherwise? Why?
>


The Protection Domain model I was referring to comes from
InfiniBand. Each QP(connection) is associated with exactly
one Protection Domain. Each R-Key(STag) is also associated
with exactly one Protection Domain. An R-Key with the 'wrong
Protection Domain' for a QP is rejected.

This requires far less NIC-accessible table space, and fewer
cycles, to validate than a generalized validating lookup on
the QP/R-Key combination.


Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct  1 10:32:41 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA19751
	for <rddp-archive@odin.ietf.org>; Tue, 1 Oct 2002 10:32:41 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g91EYAL02944
	for rddp-archive@odin.ietf.org; Tue, 1 Oct 2002 10:34:10 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91EYAv02941
	for <rddp-web-archive@optimus.ietf.org>; Tue, 1 Oct 2002 10:34:10 -0400
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA19635
	for <rddp-web-archive@ietf.org>; Tue, 1 Oct 2002 10:32:10 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91EX5v02907;
	Tue, 1 Oct 2002 10:33:05 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91EWXv02863
	for <rddp@optimus.ietf.org>; Tue, 1 Oct 2002 10:32:33 -0400
Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.133])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA19506
	for <rddp@ietf.org>; Tue, 1 Oct 2002 10:30:33 -0400 (EDT)
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.194.23])
	by e35.co.us.ibm.com (8.12.2/8.12.2) with ESMTP id g91EW09a042554
	for <rddp@ietf.org>; Tue, 1 Oct 2002 10:32:00 -0400
Received: from d03nm803.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay02.boulder.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g91EVw9u187822
	for <rddp@ietf.org>; Tue, 1 Oct 2002 08:31:59 -0600
Subject: Re: FW: [rddp] STag validation semantics
To: rddp@ietf.org
X-Mailer: Lotus Notes Release 5.0.7  March 21, 2001
Message-ID: <OFEFF59DCA.4B5D335D-ON86256C45.004EA421@boulder.ibm.com>
From: "Renato Recio" <recio@us.ibm.com>
Date: Tue, 1 Oct 2002 09:31:56 -0500
X-MIMETrack: Serialize by Router on D03NM803/03/M/IBM(Release 5.0.10 |March 22, 2002) at
 10/01/2002 08:31:58 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>


In a previous e-mail I stated:   "the ULP could associate the Protection
Domain with a process.  For example, the ULP could make the process id =
the protection domain.  If the ULP does that, then one process cannot
access the resources owned by another process,  because they are protected
by the PD".

The ULP can also share a single Protection Domain across multiple
processes.  However, such sharing brings with it all the semantics of
sharing a single physical memory buffer between processes.  For example,
any process that is sharing the PD has access to the memory buffers that
are referenced by an STag that is associated with the shared PD.

In my view,  this sort of discussion doesn't belong in the RDMA Protocol
Specification.  It belongs in a verbs specification or something similar to
that.

However,  the RDMAP spec could state the following to clarify some of these
semantics:

 - A Protection Domain (PD) MUST be used to associate a RDMA Stream to an
STag.  Each RDMA Stream MUST be associated with one, and only one,
Protection Domain.  Each STag MUST be associated with one, and only one,
Protection Domain.  However, the same PD can be used on multiple RDMA
Streams and on multiple STags.

- If the PD associated with an STag does not match the PD associated with
the RDMA Stream, RDMAP MUST terminate the RDMAP Stream using the
termination mechanism in section 6.8.

Though I think the current RDMAP specification text is sufficient,  if
folks think the above would help,  it could be added to the RDMAP
specification.

Thanks

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685



                                                                                                                                
                      Bill Sommerfeld                                                                                           
                      <sommerfeld@orchard.arlin        To:       "Mukund, Shridhar" <Shridhar_Mukund@adaptec.com>               
                      gton.ma.us>                      cc:       rddp@ietf.org                                                  
                      Sent by:                         Subject:  Re: FW: [rddp] STag validation semantics                       
                      rddp-admin@ietf.org                                                                                       
                                                                                                                                
                                                                                                                                
                      09/30/2002 07:52 PM                                                                                       
                      Please respond to                                                                                         
                      sommerfeld                                                                                                
                                                                                                                                
                                                                                                                                



> Isn't it true that a connection can be associated with
> multiple protection domains at the same time?

Certainly unix allows multiple processes to have an open descriptor to
the same connection.

On the other hand, an rddp-enabled connection should not allow a
communicating peer to overwrite arbitrary data within a program's
address space.

Perhaps the right model here is akin to shared memory segments -- one
segment per connection.  If connections are shared between processes,
the segment could be, too..

                                                                         -
Bill
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct  1 11:26:38 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA22382
	for <rddp-archive@odin.ietf.org>; Tue, 1 Oct 2002 11:26:38 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g91FS8808034
	for rddp-archive@odin.ietf.org; Tue, 1 Oct 2002 11:28:08 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91FS8v08031
	for <rddp-web-archive@optimus.ietf.org>; Tue, 1 Oct 2002 11:28:08 -0400
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA22376
	for <rddp-web-archive@ietf.org>; Tue, 1 Oct 2002 11:26:07 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91FR3v07977;
	Tue, 1 Oct 2002 11:27:03 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91FQav07937
	for <rddp@optimus.ietf.org>; Tue, 1 Oct 2002 11:26:36 -0400
Received: from d12lmsgate-4.de.ibm.com (d12lmsgate-4.de.ibm.com [194.196.100.237])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA22345;
	Tue, 1 Oct 2002 11:24:34 -0400 (EDT)
Received: from d12relay02.de.ibm.com (d12relay02.de.ibm.com [9.165.215.23])
	by d12lmsgate-4.de.ibm.com (8.12.3/8.12.3) with ESMTP id g91FQ07I014066;
	Tue, 1 Oct 2002 17:26:01 +0200
Received: from d10hubm1.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay02.de.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g91FPvhc121236;
	Tue, 1 Oct 2002 17:25:57 +0200
To: "Renato Recio" <recio@us.ibm.com>
Cc: rddp@ietf.org, rddp-admin@ietf.org
MIME-Version: 1.0
Subject: RE: [rddp] STag validation semantics
X-Mailer: Lotus Notes Release 5.0.9  November 16, 2001
From: "Julian Satran" <Julian_Satran@il.ibm.com>
Message-ID: <OFD9BBEB87.B9DCE1F1-ONC2256C45.0058E04B@telaviv.ibm.com>
Date: Tue, 1 Oct 2002 18:25:55 +0300
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 01/10/2002 18:26:00,
	Serialize complete at 01/10/2002 18:26:00
Content-Type: multipart/alternative; boundary="=_alternative 005A6FE5C2256C45_="
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

This is a multipart message in MIME format.
--=_alternative 005A6FE5C2256C45_=
Content-Type: text/plain; charset="us-ascii"

The whole discussion is about scope not only exposure. The iSCSI ITT is 
limited to a single command.
Having an STag span connections will be hard to accept because the 
security enclosure has to be as wide as the scope.
One way to make it acceptable would be ask for a coordinated security/STag 
enclosure.

Julo





Renato Recio/Austin/IBM@IBMUS
Sent by: rddp-admin@ietf.org
30/09/02 21:30

 
        To:     rddp@ietf.org
        cc: 
        Subject:        RE: [rddp] STag validation semantics

 


Shridhar,

  In terms of security exposure, the STag has a similar exposure as the
iSCSI Initiator Task Tag.  If a ULP is concerned about a rogue endpoint
essentially hijacking a connection and injecting rogue segments into the
fabric (e.g. DDP Segments that target a valid DDP Stream), then the ULP
really needs to use a secure protocol under RDMA/DDP to close the hole.

  However, in some environments, the network used to interconnect the 
nodes
will be physically secure and will not be exposed to such network
break-ins.  In these cases, the ULP would not need to use the secure
protocol.

Thanks,

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685



  
                      "Mukund, Shridhar"   
                      <Shridhar_Mukund@a        To: 
"'Julian_Satran@il.ibm.com'" <Julian_Satran@il.ibm.com> 
                      daptec.com>               cc: "'rddp@ietf.org'" 
<rddp@ietf.org> 
                      Sent by:                  Subject:  RE: [rddp] STag 
validation semantics 
                      rddp-admin@ietf.or   
                      g  
  
  
                      09/30/2002 12:25   
                      PM  
  
  




>>STag scope (not only for invalidation) is a serious security concern.
>>The most conservative approach - STag scope is connection or a group
>>of connections - a session, or the even more restrictive iSCSI view -
STag

>>valid for a >>commad might be too restrictive for other applications but
extending
>>it will require carefull scrutiny and will involve some form of
authentication envelope.

>>Julo

From what I understand(about STag and PD), it seems like we should *not*
expose STags on the wire. If an iSCSI/RDMA session chooses IPSec 
protection
on all it's (TCP)connections, it's STag-set should not be visible from
other
unprotected connections even thru' guess work or accident.

Does it make sense to have a level of indirection as follows?
Define BPI(Buffer Parameter Index, kind of like SPI), such that the 
5-tuple
<Source IP Addr,Dest. IP Addr, Source Port, Dest. Port, BPI> points to a
valid
STag only if defined apriori for that connection.

-Shridhar Mukund





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



--=_alternative 005A6FE5C2256C45_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">The whole discussion is about scope not only exposure. The iSCSI ITT is limited to a single command.</font>
<br><font size=2 face="sans-serif">Having an STag span connections will be hard to accept because the security enclosure has to be as wide as the scope.</font>
<br><font size=2 face="sans-serif">One way to make it acceptable would be ask for a coordinated security/STag enclosure.</font>
<br>
<br><font size=2 face="sans-serif">Julo</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Renato Recio/Austin/IBM@IBMUS</b></font>
<br><font size=1 face="sans-serif">Sent by: rddp-admin@ietf.org</font>
<p><font size=1 face="sans-serif">30/09/02 21:30</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;rddp@ietf.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;RE: [rddp] STag validation semantics</font>
<br>
<br><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp;</font></table>
<br>
<br><font size=2 face="Courier New"><br>
Shridhar,<br>
<br>
 &nbsp;In terms of security exposure, the STag has a similar exposure as the<br>
iSCSI Initiator Task Tag. &nbsp;If a ULP is concerned about a rogue endpoint<br>
essentially hijacking a connection and injecting rogue segments into the<br>
fabric (e.g. DDP Segments that target a valid DDP Stream), then the ULP<br>
really needs to use a secure protocol under RDMA/DDP to close the hole.<br>
<br>
 &nbsp;However, in some environments, the network used to interconnect the nodes<br>
will be physically secure and will not be exposed to such network<br>
break-ins. &nbsp;In these cases, the ULP would not need to use the secure<br>
protocol.<br>
<br>
Thanks,<br>
<br>
Renato J Recio<br>
Distinguished Engineer<br>
IBM I/O Architecture and Technology<br>
Tel 512-838-3685, T/L 678-3685<br>
<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Mukund, Shridhar&quot; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;Shridhar_Mukund@a &nbsp; &nbsp; &nbsp; &nbsp;To: &nbsp; &nbsp; &nbsp; &quot;'Julian_Satran@il.ibm.com'&quot; &lt;Julian_Satran@il.ibm.com&gt; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;daptec.com&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &quot;'rddp@ietf.org'&quot; &lt;rddp@ietf.org&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Sent by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Subject: &nbsp;RE: [rddp] STag validation semantics &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;rddp-admin@ietf.or &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;g &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;09/30/2002 12:25 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
<br>
<br>
<br>
<br>
&gt;&gt;STag scope (not only for invalidation) is a serious security concern.<br>
&gt;&gt;The most conservative approach - STag scope is connection or a group<br>
&gt;&gt;of connections - a session, or the even more restrictive iSCSI view -<br>
STag<br>
<br>
&gt;&gt;valid for a &gt;&gt;commad might be too restrictive for other applications but<br>
extending<br>
&gt;&gt;it will require carefull scrutiny and will involve some form of<br>
authentication envelope.<br>
<br>
&gt;&gt;Julo<br>
<br>
From what I understand(about STag and PD), it seems like we should *not*<br>
expose STags on the wire. If an iSCSI/RDMA session chooses IPSec protection<br>
on all it's (TCP)connections, it's STag-set should not be visible from<br>
other<br>
unprotected connections even thru' guess work or accident.<br>
<br>
Does it make sense to have a level of indirection as follows?<br>
Define BPI(Buffer Parameter Index, kind of like SPI), such that the 5-tuple<br>
&lt;Source IP Addr,Dest. IP Addr, Source Port, Dest. Port, BPI&gt; points to a<br>
valid<br>
STag only if defined apriori for that connection.<br>
<br>
-Shridhar Mukund<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
rddp mailing list<br>
rddp@ietf.org<br>
https://www1.ietf.org/mailman/listinfo/rddp<br>
</font>
<br><font size=2 face="Courier New"><br>
<br>
<br>
<br>
_______________________________________________<br>
rddp mailing list<br>
rddp@ietf.org<br>
https://www1.ietf.org/mailman/listinfo/rddp<br>
</font>
<br>
<br>
--=_alternative 005A6FE5C2256C45_=--
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct  1 11:33:37 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA22624
	for <rddp-archive@odin.ietf.org>; Tue, 1 Oct 2002 11:33:37 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g91FZ7E10369
	for rddp-archive@odin.ietf.org; Tue, 1 Oct 2002 11:35:07 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91FZ7v10366
	for <rddp-web-archive@optimus.ietf.org>; Tue, 1 Oct 2002 11:35:07 -0400
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA22616
	for <rddp-web-archive@ietf.org>; Tue, 1 Oct 2002 11:33:07 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91FY4v10284;
	Tue, 1 Oct 2002 11:34:04 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91FWIv10206
	for <rddp@optimus.ietf.org>; Tue, 1 Oct 2002 11:32:18 -0400
Received: from petasus.ch.intel.com (petasus.ch.intel.com [143.182.124.5])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA22473
	for <rddp@ietf.org>; Tue, 1 Oct 2002 11:30:17 -0400 (EDT)
Received: from fmsmsxv040-1.fm.intel.com (fmsmsxvs040.fm.intel.com [132.233.42.124])
	by petasus.ch.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.46 2002/09/23 20:41:22 dmccart Exp $) with SMTP id g91FXNh28655
	for <rddp@ietf.org>; Tue, 1 Oct 2002 15:33:23 GMT
Received: from fmsmsx29.FM.INTEL.COM ([132.233.42.29])
 by fmsmsxv040-1.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002100108322006731
 ; Tue, 01 Oct 2002 08:32:20 -0700
Received: by fmsmsx29.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <S62PFZ0M>; Tue, 1 Oct 2002 08:31:42 -0700
Message-ID: <D9223EB959A5D511A98F00508B68C20C07ECB9D1@orsmsx108.jf.intel.com>
From: "Deleganes, Ellen M" <ellen.m.deleganes@intel.com>
To: "'Caitlin Bestler'" <caitlinb@rp.asomi.net>, rddp@ietf.org
Subject: RE: [rddp] STag validation semantics 
Date: Tue, 1 Oct 2002 08:31:39 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

More comments within, starting with <<

Ellen

-----Original Message-----
From: Caitlin Bestler [mailto:caitlinb@rp.asomi.net] 
Sent: Monday, September 30, 2002 7:51 PM
To: Deleganes, Ellen M; rddp@ietf.org
Subject: RE: [rddp] STag validation semantics 


On 9/30/02, Deleganes, Ellen M wrote:


>>-- Exactly one connection: an STag is valid on exactly one
>>connection. This prevents all accidental over-exposure of
>>STags on multiple connections, but does so by eliminating
>>legitimate uses as well. This presents awkward coding
>>requirements for ULPs that use multiple connections within
>>a single session, such as DAFS.
>
><Ellen: I'd propose that if you want to use the remote
>invalidate feature that the STag be valid on only a single
>connection. If you want an STag that is valid across
>multiple connections, then you need to use a different
>mechanism to invalidate the STag. It doesn't seem sensible
>to use the remote invalidate when multiple connections are
>potentially using the same STag since ordering is not
>guaranteed across multiple connections.>
>

I really don't see the remote invalidate as being a specific
problem in this context. Of course I don't like the remote
invalidate -- I'd rather attach the invalidate to the Data
Sink's Receive than the Data Source's Send. If the Data Sink
already has to trust the Data Source to know which
*transaction* to invalidate the STag on, it already knows
what *stream*. Once you introduce the idea that only *some*
Sends invalidate an STag, being selective across multiple
streams is not a problem.

Of course this is all *far* simpler if the invalidation is
moved from the Send to the Recv. It also simplifies the wire
protocol.

<<Your suggestion requires a high level of coordination between the sender
and the receiver that might not always be possible. The model that I think
people were thinking about was using RDMA Write or RDMA Read after the
transfers completed a status message is sent that includes the invalidate.
The sender is the entity that knows when the transfer is complete and the
STag can be invalidated, not the receiver. The problem is if the sender
sends a status update in the middle of the transfer (perhaps just to let the
receiver know that there is still more data coming), it would not want the
STag invalidated at that point. The receiver would have no way to know
apriori when it posted the receive request whether or not to invalidate the
STag. The sender already has to know the STag in order to be able to
transfer data via RDMA transfers. 

Attempting to implement some sort of counting or bit-masked
release of an STag (where it is not totally released until
*all* claims on it are released) makes me nervous. It is
particularly tricky with the Protection Domain approach.
So if we keep invalidation on the wire, I think it does have
to be kept to a flat "this invalidates this STag" unless we
mandate  the full any to any mapping, in which case the
Stream/STag pairing can be deleted very precisely. Of course
making these tables *dynamic* makes your objection to their
complexity (next item) even more telling.

<<I agree with your statement, that implementing counting or bit-masked
release of the STag is not desireable. I also prefer the flat "this
invalidated this STag". Just like an RNIC command to invalidate an STag
would invalidate it across all accesses asynchronously, I think this should
work the same way.

>>-- Explicit: the STag is valid only on those connections
>>that the ULP has specifically enabled it for. It may
>>enable it for any set of connections. This provides
>>complete ULP flexibility. It is also a very simple
>>specification.
>
><Ellen: I really don't like this from an implementation
>viewpoint, it requires the RNIC to maintain a table of the
>valid connections for each STag. This is additional
>context and complexity for the hardware and will have a
>performance impact on each access to the memory associated
>with that STag. The other models only require a QP or PD
>match, this entails a search by connection.>
>

As an application developer I of course want this
flexibility. As an ASIC designer I even more emphatically
agree with you. As an Architect I'd tell the application
developer to take her lumps and work around it. A Protection
Domain like limitation on the scope of STag validity is
essential to efficient hardware.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct  1 12:10:48 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA24613
	for <rddp-archive@odin.ietf.org>; Tue, 1 Oct 2002 12:10:48 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g91GCJv13689
	for rddp-archive@odin.ietf.org; Tue, 1 Oct 2002 12:12:19 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91GCJv13686
	for <rddp-web-archive@optimus.ietf.org>; Tue, 1 Oct 2002 12:12:19 -0400
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA24544
	for <rddp-web-archive@ietf.org>; Tue, 1 Oct 2002 12:10:18 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91GBAv13628;
	Tue, 1 Oct 2002 12:11:10 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91GAuv13609
	for <rddp@optimus.ietf.org>; Tue, 1 Oct 2002 12:10:56 -0400
Received: from rp.asomi.net (root@64-144-5-25.client.dsl.net [64.144.5.25])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA24452
	for <rddp@ietf.org>; Tue, 1 Oct 2002 12:08:54 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g91G9fc28489;
	Tue, 1 Oct 2002 11:09:41 -0500
Date: Tue,  1 Oct 2002 11:09:39 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: [rddp] STag validation semantics
To: Julian Satran <Julian_Satran@il.ibm.com>, rddp@ietf.org
X-Priority: 3
In-Reply-To: <OFD9BBEB87.B9DCE1F1-ONC2256C45.0058E04B@telaviv.ibm.com>
Message-ID: <r01050300-1015-30016A84D55811D6993D003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/1/02, Julian Satran wrote:

>The whole discussion is about scope not only exposure. The
>iSCSI ITT is limited to a single command. Having an STag
>span connections will be hard to accept because the
>security enclosure has to be as wide as the scope. One way
>to make it acceptable would be ask for a coordinated
>security/STag enclosure.
>
>Julo
>
The intent is to allow an STag to have the scope of a ULP
session. A ULP session would be defined as a set of one or
more DDP/RDMAP Streams that are meaningfully connected by
the ULP (i.e., it is not defined).

An example of a ULP Stream would be the set of
communications channels in a DAFS Session.

It is extremely desirable to allow an STag to be used on any
stream *within a session* without having to remember to use
a different value for each Stream.

With InfiniBand, that goal is met by allowing multiple
connections to be placed in a single Protection Domain.
R-Keys (IB's STag) are validated within a Protection Domain.

I believe that a Protection Domain concept: increases
compatability with IB, provides a meaningful scope /
security enclosure,  and can be implemented easily.


 

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct  1 12:30:55 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA25728
	for <rddp-archive@odin.ietf.org>; Tue, 1 Oct 2002 12:30:55 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g91GWQh14568
	for rddp-archive@odin.ietf.org; Tue, 1 Oct 2002 12:32:26 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91GWQv14565
	for <rddp-web-archive@optimus.ietf.org>; Tue, 1 Oct 2002 12:32:26 -0400
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA25714
	for <rddp-web-archive@ietf.org>; Tue, 1 Oct 2002 12:30:25 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91GVCv14483;
	Tue, 1 Oct 2002 12:31:12 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91GUfv14438
	for <rddp@optimus.ietf.org>; Tue, 1 Oct 2002 12:30:41 -0400
Received: from e4.ny.us.ibm.com (e4.ny.us.ibm.com [32.97.182.104])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA25655
	for <rddp@ietf.org>; Tue, 1 Oct 2002 12:28:37 -0400 (EDT)
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.56.224.150])
	by e4.ny.us.ibm.com (8.12.2/8.12.2) with ESMTP id g91GU3c9202554
	for <rddp@ietf.org>; Tue, 1 Oct 2002 12:30:03 -0400
Received: from d03nm803.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by northrelay02.pok.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g91GTvt7043730
	for <rddp@ietf.org>; Tue, 1 Oct 2002 12:29:58 -0400
Subject: RE: [rddp] STag validation semantics
To: rddp@ietf.org
X-Mailer: Lotus Notes Release 5.0.7  March 21, 2001
Message-ID: <OF9D36801F.D249E27B-ON87256C45.005A978B@boulder.ibm.com>
From: "Renato Recio" <recio@us.ibm.com>
Date: Tue, 1 Oct 2002 11:29:56 -0500
X-MIMETrack: Serialize by Router on D03NM803/03/M/IBM(Release 5.0.10 |March 22, 2002) at
 10/01/2002 10:29:59 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

No additional comments from me on this one.  I agree with Caitlin.

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685

----- Forwarded by Renato Recio/Austin/IBM on 10/01/2002 11:28 AM -----
                                                                                                                        
                      Caitlin Bestler                                                                                   
                      <caitlinb@rp.asom        To:       Julian Satran/Haifa/IBM@IBMIL, rddp@ietf.org                   
                      i.net>                   cc:                                                                      
                      Sent by:                 Subject:  RE: [rddp] STag validation semantics                           
                      rddp-admin@ietf.o                                                                                 
                      rg                                                                                                
                                                                                                                        
                                                                                                                        
                      10/01/2002 11:09                                                                                  
                      AM                                                                                                
                                                                                                                        
                                                                                                                        



On 10/1/02, Julian Satran wrote:

>The whole discussion is about scope not only exposure. The
>iSCSI ITT is limited to a single command. Having an STag
>span connections will be hard to accept because the
>security enclosure has to be as wide as the scope. One way
>to make it acceptable would be ask for a coordinated
>security/STag enclosure.
>
>Julo
>
The intent is to allow an STag to have the scope of a ULP
session. A ULP session would be defined as a set of one or
more DDP/RDMAP Streams that are meaningfully connected by
the ULP (i.e., it is not defined).

An example of a ULP Stream would be the set of
communications channels in a DAFS Session.

It is extremely desirable to allow an STag to be used on any
stream *within a session* without having to remember to use
a different value for each Stream.

With InfiniBand, that goal is met by allowing multiple
connections to be placed in a single Protection Domain.
R-Keys (IB's STag) are validated within a Protection Domain.

I believe that a Protection Domain concept: increases
compatability with IB, provides a meaningful scope /
security enclosure,  and can be implemented easily.




Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct  1 13:04:19 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA27003
	for <rddp-archive@odin.ietf.org>; Tue, 1 Oct 2002 13:04:19 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g91H5oA16272
	for rddp-archive@odin.ietf.org; Tue, 1 Oct 2002 13:05:50 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91H5ov16269
	for <rddp-web-archive@optimus.ietf.org>; Tue, 1 Oct 2002 13:05:50 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA26994
	for <rddp-web-archive@ietf.org>; Tue, 1 Oct 2002 13:03:48 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91H5Cv16252;
	Tue, 1 Oct 2002 13:05:12 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91H4nv16222
	for <rddp@optimus.ietf.org>; Tue, 1 Oct 2002 13:04:49 -0400
Received: from palrel13.hp.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA26962
	for <rddp@ietf.org>; Tue, 1 Oct 2002 13:02:45 -0400 (EDT)
Received: from psalpha0.cup.hp.com (psalpha0.cup.hp.com [15.13.189.230])
	by palrel13.hp.com (Postfix) with ESMTP id 3F27B40074C
	for <rddp@ietf.org>; Tue,  1 Oct 2002 10:04:42 -0700 (PDT)
Received: from mk731915.cup.hp.com (mk731915.cup.hp.com [15.8.80.111])
	by psalpha0.cup.hp.com (8.9.3/8.8.6) with ESMTP id KAA08142
	for <rddp@ietf.org>; Tue, 1 Oct 2002 10:04:41 -0700 (PDT)
Message-Id: <5.1.0.14.2.20021001100126.00ab1300@esalpha2.cup.hp.com>
X-Sender: krause@esalpha2.cup.hp.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 01 Oct 2002 10:01:42 -0700
To: rddp@ietf.org
From: Michael Krause <krause@cup.hp.com>
Subject: RE: [rddp] STag validation semantics
In-Reply-To: <r01050300-1015-30016A84D55811D6993D003065D48EE0@[192.168.0
 .2]>
References: <OFD9BBEB87.B9DCE1F1-ONC2256C45.0058E04B@telaviv.ibm.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

At 11:09 AM 10/1/2002 -0500, Caitlin Bestler wrote:

>The intent is to allow an STag to have the scope of a ULP
>session. A ULP session would be defined as a set of one or
>more DDP/RDMAP Streams that are meaningfully connected by
>the ULP (i.e., it is not defined).
>
>An example of a ULP Stream would be the set of
>communications channels in a DAFS Session.
>
>It is extremely desirable to allow an STag to be used on any
>stream *within a session* without having to remember to use
>a different value for each Stream.
>
>With InfiniBand, that goal is met by allowing multiple
>connections to be placed in a single Protection Domain.
>R-Keys (IB's STag) are validated within a Protection Domain.
>
>I believe that a Protection Domain concept: increases
>compatability with IB, provides a meaningful scope /
>security enclosure,  and can be implemented easily.

Agreed.

Mike

_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct  1 15:55:13 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA03350
	for <rddp-archive@odin.ietf.org>; Tue, 1 Oct 2002 15:55:13 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g91Juld25635
	for rddp-archive@odin.ietf.org; Tue, 1 Oct 2002 15:56:47 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91Julv25628
	for <rddp-web-archive@optimus.ietf.org>; Tue, 1 Oct 2002 15:56:47 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA03342
	for <rddp-web-archive@ietf.org>; Tue, 1 Oct 2002 15:54:42 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91JuHv25593;
	Tue, 1 Oct 2002 15:56:17 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91Jtgv25567
	for <rddp@optimus.ietf.org>; Tue, 1 Oct 2002 15:55:42 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA03303
	for <rddp@ietf.org>; Tue, 1 Oct 2002 15:53:37 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g91Jtbc29143;
	Tue, 1 Oct 2002 14:55:37 -0500
Date: Tue,  1 Oct 2002 14:55:33 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: [rddp] STag validation semantics 
To: "Deleganes, Ellen M" <ellen.m.deleganes@intel.com>, rddp@ietf.org
X-Priority: 3
In-Reply-To: <D9223EB959A5D511A98F00508B68C20C07ECB9D1@orsmsx108.jf.intel.com>
Message-ID: <r01050300-1015-BF82C896D57711D6993D003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/1/02, Deleganes, Ellen M wrote:

>More comments within, starting with <<
>
>Ellen
>
>-----Original Message-----
>From: Caitlin Bestler [mailto:caitlinb@rp.asomi.net] 
>Sent: Monday, September 30, 2002 7:51 PM
>To: Deleganes, Ellen M; rddp@ietf.org
>Subject: RE: [rddp] STag validation semantics 
>
>
>On 9/30/02, Deleganes, Ellen M wrote:
>
>
>
>>Of course this is all *far* simpler if the invalidation is
>>moved from the Send to the Recv. It also simplifies the
>>wire protocol.
>
><<Your suggestion requires a high level of coordination
>between the sender and the receiver that might not always
>be possible. The model that I think people were thinking
>about was using RDMA Write or RDMA Read after the
>transfers completed a status message is sent that includes
>the invalidate.
>
>The sender is the entity that knows when the transfer is
>complete and the STag can be invalidated, not the
>receiver. The problem is if the sender sends a status
>update in the middle of the transfer (perhaps just to let
>the receiver know that there is still more data coming),
>it would not want the STag invalidated at that point. The
>receiver would have no way to know apriori when it posted
>the receive request whether or not to invalidate the STag.
>The sender already has to know the STag in order to be
>able to transfer data via RDMA transfers. 
>

It's very simple co-ordination. It merely requires that the
Data Sink (typically the client) be in the state of
expecting a response to its request.

But as simple and logical as priming the Recv queue with
buffers to match the state of the protocol is, it is not the
only strategy. A ULP could indeed use a standard buffer size
for all untagged messages and have no expectation as to the
next message.

Personally, I think that such a strategy is a lot more
complicated and only justified for true peer-to-peer
applications. Even then I might be tempted to set up two
streams, each maintaining the tradtional client/server role
in each direction -- but whether or not I would use it, it
is indeed a valid strategy. And you are correct, for that
strategy the invalidate has to be attached to the Send
operation rather than the receive.


Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct  1 17:37:08 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA05971
	for <rddp-archive@odin.ietf.org>; Tue, 1 Oct 2002 17:37:08 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g91Lcf831399
	for rddp-archive@odin.ietf.org; Tue, 1 Oct 2002 17:38:41 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91Lcfv31396
	for <rddp-web-archive@optimus.ietf.org>; Tue, 1 Oct 2002 17:38:41 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA05936
	for <rddp-web-archive@ietf.org>; Tue, 1 Oct 2002 17:36:37 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91Lc7v31383;
	Tue, 1 Oct 2002 17:38:07 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g91LbZv31362
	for <rddp@optimus.ietf.org>; Tue, 1 Oct 2002 17:37:35 -0400
Received: from mailhub.lss.emc.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA05873
	for <rddp@ietf.org>; Tue, 1 Oct 2002 17:35:31 -0400 (EDT)
From: Black_David@emc.com
Received: from emc.com (emcmail.lss.emc.com [168.159.48.78])
	by mailhub.lss.emc.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g91LbOf21596;
	Tue, 1 Oct 2002 17:37:25 -0400 (EDT)
Received: from mxic1.isus.emc.com ([168.159.129.100])
	by emc.com (8.10.1/8.10.1) with ESMTP id g91LbO719813;
	Tue, 1 Oct 2002 17:37:24 -0400 (EDT)
Received: by MXIC1 with Internet Mail Service (5.5.2653.19)
	id <TTZ4PG36>; Tue, 1 Oct 2002 17:37:24 -0400
Message-ID: <277DD60FB639D511AC0400B0D068B71E0564C3AF@CORPMX14>
To: recio@us.ibm.com
Cc: rddp@ietf.org
Subject: RE: [rddp] STag validation semantics
Date: Tue, 1 Oct 2002 17:37:20 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

>   In IB terms,  the STag=R_Key.  The RDMAP must provide a mechanism
> for associating a STag to a RDMA Stream.  The association may be 1
> STag to 1, and only 1,  RDMA Stream  or  it may be 1 STag to Multiple
> RDMA Streams.  We've left that semantic up to the ULP.  The main
> reason being that specifying that semantic in more detail would have
> caused us, in my view, to describe PDs and QP Contexts.
>
>   However, I guess we could:
> - Add in the definition of a PD;
> - Describe how it must be associated with a RDMA Stream and a STag;
> - Describe how one STag can be used on more than one RDMA Stream
>   if the PDs are the same on both RDMA Streams.
>
>  In my view, it is not necessary to document the above three
> semantics in the RDMAP specification.  However, if most folks feel
> it is absolutely necessary for completeness/correctness,  I will not
> object.

With my WG chair hat on, I believe that this is necessary - if this
is not done, the result is to allow an implementation with a single
global PD across all connections in a multi-user environment,
which would open unacceptable security holes for both memory
access and remote STag Invalidates.  I believe the folks who
pointed out that iSCSI ITTs and IPsec SPIs are restricted to
individual connections/sessions whereas STags have no restrictions
as currently specified are supporting this point (thanks).

Anticipating the "... but, but ... this is a verbs issue" response,
I have a few more comments:
(1) If the RDMAP and DDP protocol specs can only be understood by
    also reading the verbs material, the verbs material needs to
    be submitted as an Internet-Draft ASAP.  Until this is done,
    further discussion of verbs is questionable here.
(2) If there are security properties of the protocols that are
    enforced by the verbs interface, the result will be a
    requirement that implementations MUST NOT provide access
    to the protocols through any interface that doesn't conform
    to the verbs.
I would prefer that the security properties of the protocols
and the restrictions/requirements on implementation behavior
necessary to achieve them be documented in the protocol specs
themselves, but am prepared to be convinced that the only reasonable
way to do this is to specify the verb interface and require its
use.

Thanks,
--David
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct  1 22:56:53 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA13464
	for <rddp-archive@odin.ietf.org>; Tue, 1 Oct 2002 22:56:53 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g922wSR13400
	for rddp-archive@odin.ietf.org; Tue, 1 Oct 2002 22:58:28 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g922wSv13397
	for <rddp-web-archive@optimus.ietf.org>; Tue, 1 Oct 2002 22:58:28 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA13452
	for <rddp-web-archive@ietf.org>; Tue, 1 Oct 2002 22:56:22 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g922w4v13386;
	Tue, 1 Oct 2002 22:58:04 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g922vYv13361
	for <rddp@optimus.ietf.org>; Tue, 1 Oct 2002 22:57:34 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA13429
	for <rddp@ietf.org>; Tue, 1 Oct 2002 22:55:28 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g922vQc30379;
	Tue, 1 Oct 2002 21:57:27 -0500
Date: Tue,  1 Oct 2002 21:57:22 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
To: Black_David@emc.com, rddp@ietf.org
X-Priority: 3
In-Reply-To: <277DD60FB639D511AC0400B0D068B71E0564C3AF@CORPMX14>
Message-ID: <r01050300-1015-AC0F49C8D5B211D6993D003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Subject: [rddp] Verbs?
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/1/02, Black_David@emc.com wrote:


>
>With my WG chair hat on, I believe that this is necessary
>- if this is not done, the result is to allow an
>implementation with a single global PD across all
>connections in a multi-user environment, which would open
>unacceptable security holes for both memory access and
>remote STag Invalidates.  I believe the folks who pointed
>out that iSCSI ITTs and IPsec SPIs are restricted to
>individual connections/sessions whereas STags have no
>restrictions as currently specified are supporting this
>point (thanks).
>
>Anticipating the "... but, but ... this is a verbs issue"
>response, I have a few more comments:
>(1) If the RDMAP and DDP protocol specs can only be
>understood by
> also reading the verbs material, the verbs material needs
> to be submitted as an Internet-Draft ASAP.  Until this is
> done, further discussion of verbs is questionable here.
>(2) If there are security properties of the protocols that
>are
> enforced by the verbs interface, the result will be a
> requirement that implementations MUST NOT provide access
> to the protocols through any interface that doesn't
> conform to the verbs.
>
>I would prefer that the security properties of the
>protocols and the restrictions/requirements on
>implementation behavior necessary to achieve them be
>documented in the protocol specs themselves, but am
>prepared to be convinced that the only reasonable way to
>do this is to specify the verb interface and require its
>use.
>

What is the extent to which verb specification is
permissable and/or desirable?

My assumption has been that the *capabilities* of the local
interface are fully in scope because they are needed to
establish semantics and clarify security issues. But
something that made assumptions about the local programming
model, even to the extent that InfiniBand verbs do, was
going to far.

How close to a correct guideline is that?

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Wed Oct  2 11:42:54 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA25396
	for <rddp-archive@odin.ietf.org>; Wed, 2 Oct 2002 11:42:54 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g92FiQs31756
	for rddp-archive@odin.ietf.org; Wed, 2 Oct 2002 11:44:26 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g92FiPv31753
	for <rddp-web-archive@optimus.ietf.org>; Wed, 2 Oct 2002 11:44:25 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA25368
	for <rddp-web-archive@ietf.org>; Wed, 2 Oct 2002 11:42:23 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g92Fh6v31692;
	Wed, 2 Oct 2002 11:43:06 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g92Fg5v31645
	for <rddp@optimus.ietf.org>; Wed, 2 Oct 2002 11:42:05 -0400
Received: from e5.ny.us.ibm.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA25255
	for <rddp@ietf.org>; Wed, 2 Oct 2002 11:40:02 -0400 (EDT)
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.56.224.150])
	by e5.ny.us.ibm.com (8.12.2/8.12.2) with ESMTP id g92FfphG026120;
	Wed, 2 Oct 2002 11:41:51 -0400
Received: from d03nm803.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by northrelay02.pok.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g92FfmiX110068;
	Wed, 2 Oct 2002 11:41:48 -0400
Subject: Re: [rddp] Verbs?
To: Caitlin Bestler <caitlinb@rp.asomi.net>
Cc: Black_David@emc.com, rddp@ietf.org, rddp-admin@ietf.org
X-Mailer: Lotus Notes Release 5.0.7  March 21, 2001
Message-ID: <OF9A636287.06D69D49-ON86256C46.0056171B@boulder.ibm.com>
From: "Renato Recio" <recio@us.ibm.com>
Date: Wed, 2 Oct 2002 10:41:46 -0500
X-MIMETrack: Serialize by Router on D03NM803/03/M/IBM(Release 5.0.10 |March 22, 2002) at
 10/02/2002 09:41:50 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>


Sounds like a good guideline to me.

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685



                                                                                                                        
                      Caitlin Bestler                                                                                   
                      <caitlinb@rp.asom        To:       Black_David@emc.com, rddp@ietf.org                             
                      i.net>                   cc:                                                                      
                      Sent by:                 Subject:  [rddp] Verbs?                                                  
                      rddp-admin@ietf.o                                                                                 
                      rg                                                                                                
                                                                                                                        
                                                                                                                        
                      10/01/2002 09:57                                                                                  
                      PM                                                                                                
                                                                                                                        
                                                                                                                        



On 10/1/02, Black_David@emc.com wrote:


>
>With my WG chair hat on, I believe that this is necessary
>- if this is not done, the result is to allow an
>implementation with a single global PD across all
>connections in a multi-user environment, which would open
>unacceptable security holes for both memory access and
>remote STag Invalidates.  I believe the folks who pointed
>out that iSCSI ITTs and IPsec SPIs are restricted to
>individual connections/sessions whereas STags have no
>restrictions as currently specified are supporting this
>point (thanks).
>
>Anticipating the "... but, but ... this is a verbs issue"
>response, I have a few more comments:
>(1) If the RDMAP and DDP protocol specs can only be
>understood by
> also reading the verbs material, the verbs material needs
> to be submitted as an Internet-Draft ASAP.  Until this is
> done, further discussion of verbs is questionable here.
>(2) If there are security properties of the protocols that
>are
> enforced by the verbs interface, the result will be a
> requirement that implementations MUST NOT provide access
> to the protocols through any interface that doesn't
> conform to the verbs.
>
>I would prefer that the security properties of the
>protocols and the restrictions/requirements on
>implementation behavior necessary to achieve them be
>documented in the protocol specs themselves, but am
>prepared to be convinced that the only reasonable way to
>do this is to specify the verb interface and require its
>use.
>

What is the extent to which verb specification is
permissable and/or desirable?

My assumption has been that the *capabilities* of the local
interface are fully in scope because they are needed to
establish semantics and clarify security issues. But
something that made assumptions about the local programming
model, even to the extent that InfiniBand verbs do, was
going to far.

How close to a correct guideline is that?

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Wed Oct  2 21:22:36 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA13643
	for <rddp-archive@odin.ietf.org>; Wed, 2 Oct 2002 21:22:36 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g931ODX02128
	for rddp-archive@odin.ietf.org; Wed, 2 Oct 2002 21:24:13 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g931ODv02125
	for <rddp-web-archive@optimus.ietf.org>; Wed, 2 Oct 2002 21:24:13 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA13638
	for <rddp-web-archive@ietf.org>; Wed, 2 Oct 2002 21:22:05 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g931O6v02115;
	Wed, 2 Oct 2002 21:24:06 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g931N7v02072
	for <rddp@optimus.ietf.org>; Wed, 2 Oct 2002 21:23:07 -0400
Received: from mailhub.lss.emc.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA13633
	for <rddp@ietf.org>; Wed, 2 Oct 2002 21:20:59 -0400 (EDT)
From: Black_David@emc.com
Received: from emc.com (emcmail.lss.emc.com [168.159.48.78])
	by mailhub.lss.emc.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g931Mt809085;
	Wed, 2 Oct 2002 21:22:55 -0400 (EDT)
Received: from mxic1.isus.emc.com ([168.159.129.100])
	by emc.com (8.10.1/8.10.1) with ESMTP id g931Ms707440;
	Wed, 2 Oct 2002 21:22:54 -0400 (EDT)
Received: by MXIC1 with Internet Mail Service (5.5.2653.19)
	id <TTZ4RF0M>; Wed, 2 Oct 2002 21:22:53 -0400
Message-ID: <277DD60FB639D511AC0400B0D068B71E0564C3BF@CORPMX14>
To: caitlinb@rp.asomi.net, rddp@ietf.org
Date: Wed, 2 Oct 2002 21:22:49 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: [rddp] RE: Verbs?
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

> What is the extent to which verb specification is
> permissable and/or desirable?
> 
> My assumption has been that the *capabilities* of the local
> interface are fully in scope because they are needed to
> establish semantics and clarify security issues. But
> something that made assumptions about the local programming
> model, even to the extent that InfiniBand verbs do, was
> going to far.
> 
> How close to a correct guideline is that?

I believe that's a good approach.  However, since a procedural
question was asked, the procedural answer is roughly the same
one that our AD gave in Yokohama about work on RDDP at the IP
layer:

Verbs are not currently in the rddp WG charter, so it would be
necessary to change the charter to allow work on them.  Anyone
interested in bringing about such a change is encouraged to
submit one or more Internet-Drafts as a basis for further
discussion.  FWIW, that's a long version of a frequent AD
response to questions of the form "Could work be done on <X>?",
namely "Send Draft!"

Thanks,
--David
---------------------------------------------------
David L. Black, Senior Technologist
EMC Corporation, 42 South St., Hopkinton, MA  01748
+1 (508) 249-6449            FAX: +1 (508) 497-8018
black_david@emc.com       Mobile: +1 (978) 394-7754
---------------------------------------------------
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct  3 07:17:25 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA02258
	for <rddp-archive@odin.ietf.org>; Thu, 3 Oct 2002 07:17:25 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g93BItY07110
	for rddp-archive@odin.ietf.org; Thu, 3 Oct 2002 07:18:55 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g93BIsv07107
	for <rddp-web-archive@optimus.ietf.org>; Thu, 3 Oct 2002 07:18:54 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA02246
	for <rddp-web-archive@ietf.org>; Thu, 3 Oct 2002 07:16:54 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g93BIlv07095;
	Thu, 3 Oct 2002 07:18:47 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g93BDRv06770
	for <rddp@optimus.ietf.org>; Thu, 3 Oct 2002 07:13:27 -0400
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA01874;
	Thu, 3 Oct 2002 07:11:26 -0400 (EDT)
Message-Id: <200210031111.HAA01874@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
CC: rddp@ietf.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Date: Thu, 03 Oct 2002 07:11:25 -0400
Subject: [rddp] I-D ACTION:draft-stewart-rddp-sctp-00.txt
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.


	Title		: Stream Control Transmission Protocol (SCTP) Remote 
                          Direct Memory Access (RDMA) Direct Data Placement 
                          (DDP) Adaption
	Author(s)	: R. Stewart
	Filename	: draft-stewart-rddp-sctp-00.txt
	Pages		: 11
	Date		: 2002-10-2
	
This document describes a method to adapt Direct Data Placment (DDP)
and Remote Direct Memory Access (RDMA) to Stream Control Transmission
Protocol (SCTP) RFC2960 [2] using a generic description found in
[RDMA-Draft] [4] and [DDP-Draft] [3] This adaption provides a method
for two peers to know that each side is performing DDP or RDMA thus
enabling hardware acceleration if available.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-stewart-rddp-sctp-00.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-stewart-rddp-sctp-00.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-stewart-rddp-sctp-00.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2002-10-2132823.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-stewart-rddp-sctp-00.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-stewart-rddp-sctp-00.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2002-10-2132823.I-D@ietf.org>

--OtherAccess--

--NextPart--


_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct  3 09:49:54 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA08924
	for <rddp-archive@odin.ietf.org>; Thu, 3 Oct 2002 09:49:54 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g93DpQu17980
	for rddp-archive@odin.ietf.org; Thu, 3 Oct 2002 09:51:26 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g93DpPv17977
	for <rddp-web-archive@optimus.ietf.org>; Thu, 3 Oct 2002 09:51:25 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA08883
	for <rddp-web-archive@ietf.org>; Thu, 3 Oct 2002 09:49:23 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g93DpGv17956;
	Thu, 3 Oct 2002 09:51:16 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g93Dn7v17711
	for <rddp@optimus.ietf.org>; Thu, 3 Oct 2002 09:49:07 -0400
Received: from e32.co.us.ibm.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA08722
	for <rddp@ietf.org>; Thu, 3 Oct 2002 09:47:04 -0400 (EDT)
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e32.co.us.ibm.com (8.12.2/8.12.2) with ESMTP id g93Dn2Em018410
	for <rddp@ietf.org>; Thu, 3 Oct 2002 09:49:03 -0400
Received: from d03nm803.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g93DoOpN085074
	for <rddp@ietf.org>; Thu, 3 Oct 2002 07:50:25 -0600
Subject: Re: [rddp] I-D ACTION:draft-stewart-rddp-sctp-00.txt 
To: rddp@ietf.org
X-Mailer: Lotus Notes Release 5.0.7  March 21, 2001
Message-ID: <OF2CF9D14C.94A4FB18-ON86256C47.004A48BE@boulder.ibm.com>
From: "Renato Recio" <recio@us.ibm.com>
Date: Thu, 3 Oct 2002 08:49:00 -0500
X-MIMETrack: Serialize by Router on D03NM803/03/M/IBM(Release 5.0.10 |March 22, 2002) at
 10/03/2002 07:49:01 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>


Randall,

My answer to your question #3 (If we do this do we even need DDP, just have
RDMA and then negotiate things from there?):
   As currently layered,  RDMA over SCTP does need DDP.  The DDP layer is
   responsible for placement.  For Tagged messages, the buffer tag (STag)
   is carried in the DDP layer.  Similarly, for Untagged messages, the
   message sequence number (MSN) is used to identify the untagged buffer at
   the data sink and the MSN is carried in the DDP header.  Some RDMA
   messages (e.g. RDMA Write) do not carry an additional header.

   Some key folks "strongly support the separation of DDP from RDMA" is
   that it allows ULPs to choose whether to support the full functionality
   of RDMA (e.g. RDMA Reads) or simply the direct data placement
   functionality of DDP (e.g. Tagged and Untagged Writes).

   In my view, given the direction set in the charter,  we should keep the
   two layers: DDP and RDMA. The implication is that SCTP would need to use
   both layers.

My answer to your question #2:
   I would prefer to see ULPs define the control message they use to
   initialize RDMA layer variable attributes (e.g. maximum number of
   outstanding RDMA Reads).  Some ULPs will already do this to work over
   other transports and it would be nice if the endpoints could provide a
   consistent semantic for these ULPs.

Thanks,

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685



                                                                                                                        
                      Internet-Drafts@i                                                                                 
                      etf.org                  To:       IETF-Announce: ;                                               
                      Sent by:                 cc:       rddp@ietf.org                                                  
                      rddp-admin@ietf.o        Subject:  [rddp] I-D ACTION:draft-stewart-rddp-sctp-00.txt               
                      rg                                                                                                
                                                                                                                        
                                                                                                                        
                      10/03/2002 06:11                                                                                  
                      AM                                                                                                
                      Please respond to                                                                                 
                      Internet-Drafts                                                                                   
                                                                                                                        
                                                                                                                        



A New Internet-Draft is available from the on-line Internet-Drafts
directories.


             Title                         : Stream Control Transmission
Protocol (SCTP) Remote
                          Direct Memory Access (RDMA) Direct Data Placement

                          (DDP) Adaption
             Author(s)         : R. Stewart
             Filename          : draft-stewart-rddp-sctp-00.txt
             Pages                         : 11
             Date                    : 2002-10-2

This document describes a method to adapt Direct Data Placment (DDP)
and Remote Direct Memory Access (RDMA) to Stream Control Transmission
Protocol (SCTP) RFC2960 [2] using a generic description found in
[RDMA-Draft] [4] and [DDP-Draft] [3] This adaption provides a method
for two peers to know that each side is performing DDP or RDMA thus
enabling hardware acceleration if available.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-stewart-rddp-sctp-00.txt

To remove yourself from the IETF Announcement list, send a message to
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the
username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
             "get draft-stewart-rddp-sctp-00.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
             mailserv@ietf.org.
In the body type:
             "FILE /internet-drafts/draft-stewart-rddp-sctp-00.txt".

NOTE:        The mail server at ietf.org can return the document in
             MIME-encoded form by using the "mpack" utility.  To use this
             feature, insert the command "ENCODING mime" before the "FILE"
             command.  To decode the response(s), you will need "munpack"
or
             a MIME-compliant mail reader.  Different MIME-compliant mail
readers
             exhibit different behavior, especially when dealing with
             "multipart" MIME messages (i.e. documents which have been
split
             up into multiple messages), so check your local documentation
on
             how to manipulate these messages.


Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.
ftp://anonymous@ftp.ietf.org/internet-drafts/draft-stewart-rddp-sctp-00.txt




_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct  3 11:36:05 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18676
	for <rddp-archive@odin.ietf.org>; Thu, 3 Oct 2002 11:36:04 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g93FbcV28398
	for rddp-archive@odin.ietf.org; Thu, 3 Oct 2002 11:37:38 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g93Fbcv28387
	for <rddp-web-archive@optimus.ietf.org>; Thu, 3 Oct 2002 11:37:38 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18600
	for <rddp-web-archive@ietf.org>; Thu, 3 Oct 2002 11:35:33 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g93FbAv28085;
	Thu, 3 Oct 2002 11:37:10 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g93Fanv27744
	for <rddp@optimus.ietf.org>; Thu, 3 Oct 2002 11:36:49 -0400
Received: from ztxmail04.ztx.compaq.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18552
	for <rddp@ietf.org>; Thu, 3 Oct 2002 11:34:45 -0400 (EDT)
Received: from cceexg13.americas.cpqcorp.net (cceexg13.americas.cpqcorp.net [16.110.250.119])
	by ztxmail04.ztx.compaq.com (Postfix) with ESMTP id EFB713443
	for <rddp@ietf.org>; Thu,  3 Oct 2002 10:36:44 -0500 (CDT)
Received: from cceexc16.americas.cpqcorp.net ([16.110.250.58]) by cceexg13.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966);
	 Thu, 3 Oct 2002 10:36:44 -0500
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Subject: [rddp] Comments on draft-stewart-rddp-sctp-00.txt
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Date: Thu, 3 Oct 2002 10:36:44 -0500
Message-ID: <07DEBFB3DCB18A49B06B6371993586740F9847@cceexc16.americas.cpqcorp.net>
Thread-Topic: [rddp] Comments on draft-stewart-rddp-sctp-00.txt
Thread-Index: AcJqzsIaiPXfKjHxTROCTT9mLNyJogAIBAlQ
From: "Hilland, Jeff" <Jeff.Hilland@hp.com>
To: <rddp@ietf.org>
X-OriginalArrivalTime: 03 Oct 2002 15:36:44.0697 (UTC) FILETIME=[AD99E890:01C26AF2]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by www1.ietf.org id g93Fanv27745
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit

First, a general observation:  RDMA does not work without DDP beneath
it.  One of the LLP requirements of RDMA is that DDP be the layer that
does the Direct Data Placement.  RDMA does not place the data, but it
does make cool features like RDMA Read and the STag invalidate
operations work.  Since the charter has declared a separation between
RDMA and DDP exist and RDMA requires DDP, we cannot do just RDMA.  Or,
more correctly, we will not.

So the Adaptation Indication of both RDMA and RDMA+DDP is inappropriate,
since RDMA cannot function without DDP.  There are some who would argue
the list should be DDP and DDP+RDMA.  I personally am not one of them. 

Comments on your questions:

>>1.  Do we need to have a control channel, stream 0 for instance?
To me, this is a ULP (Upper Layer Protocol) issue.  It is not required
by RDMA, by design.  RDMA is expected to run on a single stream.  We
will see examples of ULPs in the near future that may use multiple
streams, but an RDMA features/parameters are negotiated and set by the
ULP and not RDMA.  So neither RDMA nor DDP require control streams.

>>2.  Do we need to dictate control messages that can be sent back to
negotiate different aspects?
Again, this is something ULPs do.  RDMA is architected not to negotiate
anything.  ULPs are expected to pass back and forth STags, number of
outstanding RDMA resources, Flow Control of Untagged Buffers, etc.  So I
don't believe there is any need for this.

>>3.  If we do this do we even need DDP, just have RDMA and then
negotiate things from there?
I think I answered this one in the general observation.  

>>4.  Do we need to better describe how to use unordered data with the
TSN and the CUM-ACK out of the sockets-api?
DDP & RDMA get out of some of the unordered issues by requiring the
Stream be ordered.  And then go into how you might do it if the layers
got muddled.  They try to be transport independent, but it is obvious
that they are TCP oriented - or rather that implementing DDP & RDMA on
TCP have been well thought out.  
So I guess the answer to my question is yes, any informational text that
indicates how to handle ordering issues properly or any other LLP issue
would be welcome (informational?) text.

Regards,
Jeff


-----Original Message-----
From: Internet-Drafts@ietf.org [mailto:Internet-Drafts@ietf.org] 
Sent: Thursday, October 03, 2002 6:11 AM
Cc: rddp@ietf.org
Subject: [rddp] I-D ACTION:draft-stewart-rddp-sctp-00.txt


A New Internet-Draft is available from the on-line Internet-Drafts
directories.


	Title		: Stream Control Transmission Protocol (SCTP)
Remote 
                          Direct Memory Access (RDMA) Direct Data
Placement 
                          (DDP) Adaption
	Author(s)	: R. Stewart
	Filename	: draft-stewart-rddp-sctp-00.txt
	Pages		: 11
	Date		: 2002-10-2
	
This document describes a method to adapt Direct Data Placment (DDP) and
Remote Direct Memory Access (RDMA) to Stream Control Transmission
Protocol (SCTP) RFC2960 [2] using a generic description found in
[RDMA-Draft] [4] and [DDP-Draft] [3] This adaption provides a method for
two peers to know that each side is performing DDP or RDMA thus enabling
hardware acceleration if available.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-stewart-rddp-sctp-00.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the
message.

Internet-Drafts are also available by anonymous FTP. Login with the
username "anonymous" and a password of your e-mail address. After
logging in, type "cd internet-drafts" and then
	"get draft-stewart-rddp-sctp-00.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-stewart-rddp-sctp-00.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail
readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct  4 10:52:03 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA06577
	for <rddp-archive@odin.ietf.org>; Fri, 4 Oct 2002 10:52:03 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g94EraV12131
	for rddp-archive@odin.ietf.org; Fri, 4 Oct 2002 10:53:36 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94Erav12128
	for <rddp-web-archive@optimus.ietf.org>; Fri, 4 Oct 2002 10:53:36 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA06552
	for <rddp-web-archive@ietf.org>; Fri, 4 Oct 2002 10:51:31 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94ErQv12100;
	Fri, 4 Oct 2002 10:53:26 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94EqSv12043
	for <rddp@optimus.ietf.org>; Fri, 4 Oct 2002 10:52:28 -0400
Received: from d12lmsgate-2.de.ibm.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA06491
	for <rddp@ietf.org>; Fri, 4 Oct 2002 10:50:23 -0400 (EDT)
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate-2.de.ibm.com (8.12.3/8.12.3) with ESMTP id g94EqMDR037844
	for <rddp@ietf.org>; Fri, 4 Oct 2002 16:52:22 +0200
Received: from d10hubm1.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay01.de.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g94EqL63063080
	for <rddp@ietf.org>; Fri, 4 Oct 2002 16:52:22 +0200
To: rddp@ietf.org
MIME-Version: 1.0
Subject: Fw: [rddp] STag validation semantics
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: "Julian Satran" <Julian_Satran@il.ibm.com>
Message-ID: <OF6F796910.F9386004-ONC2256C48.0057779A-C2256C48.0057A3B3@telaviv.ibm.com>
Date: Fri, 4 Oct 2002 17:52:19 +0300
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 04/10/2002 17:52:21,
	Serialize complete at 04/10/2002 17:52:21
Content-Type: multipart/alternative; boundary="=_alternative 00579032C2256C48_="
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

This is a multipart message in MIME format.
--=_alternative 00579032C2256C48_=
Content-Type: text/plain; charset="US-ASCII"

 Renato,

Perhaps the context is not right. But the IB design point is different 
from IP.
And security is not protection. The type of attacks that have to be 
considered in an IP network
are beyond protection.  The whole STag concept is weak if you have to 
secure it and have no way to enforce it.

Perhaps the session is the answer but sharing the same type of security 
over all connections is not painless (even to specify).
But perhaps we should consider all other alternatives. 

If the ULP maintains a connection affinity (as iSCSI does) then limiting 
the scope of an STag to a connection is painless even in face of recovery.
If the ULP needs a wider scope - and the RDMAP has no effective means to 
police that - then it may want to give up the invalidation shortcut - but 
I am afraid that even this will be frowned upon in some quarters.

But I have real trouble understanding where limiting STag to a connection 
will cause pain. Many an implementer may find ways to express within the 
STag a "constant part" (the core-STag) and a "connection salt" and avoid 
the whole issue of securing a session. 

Regards,
Julo 




Renato Recio/Austin/IBM@IBMUS
Sent by: rddp-admin@ietf.org
01/10/02 16:12
 
        To:     rddp@ietf.org
        cc: 
        Subject:        Re: [rddp] STag validation semantics

 


I agree with Caitlin and wanted to add another point.  In IB,  our view 
was
the ULP could associate the Protection Domain with a process.  For 
example,
the ULP could make the process id = the protection domain.  If the ULP 
does
that, then one process cannot access the resources owned by another
process,  because they are protected by the PD.

Thanks

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685



  
                      Caitlin Bestler   
                      <caitlinb@rp.asom        To:       rddp@ietf.org     
 
                      i.net>                   cc:   
                      Sent by:                 Subject:  Re: [rddp] STag 
validation semantics 
                      rddp-admin@ietf.o   
                      rg  
  
  
                      09/30/2002 08:05   
                      PM  
  
  



On 9/30/02, Mukund, Shridhar wrote:

>
>Caitlin,
>
>Isn't it true that a connection can be associated with
>multiple protection domains at the same time?
>
>Are you assuming otherwise? Why?
>


The Protection Domain model I was referring to comes from
InfiniBand. Each QP(connection) is associated with exactly
one Protection Domain. Each R-Key(STag) is also associated
with exactly one Protection Domain. An R-Key with the 'wrong
Protection Domain' for a QP is rejected.

This requires far less NIC-accessible table space, and fewer
cycles, to validate than a generalized validating lookup on
the QP/R-Key combination.


Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp


--=_alternative 00579032C2256C48_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">&nbsp;</font>
<br><font size=2 face="sans-serif">Renato,</font>
<br>
<br><font size=2 face="sans-serif">Perhaps the context is not right. But
the IB design point is different from IP.</font>
<br><font size=2 face="sans-serif">And security is not protection. The
type of attacks that have to be considered in an IP network</font>
<br><font size=2 face="sans-serif">are beyond protection. &nbsp;The whole
STag concept is weak if you have to secure it and have no way to enforce
it.</font>
<br>
<br><font size=2 face="sans-serif">Perhaps the session is the answer but
sharing the same type of security over all connections is not painless
(even to specify).</font>
<br><font size=2 face="sans-serif">But perhaps we should consider all other
alternatives. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">If the ULP maintains a connection affinity
(as iSCSI does) then limiting the scope of an STag to a connection is painless
even in face of recovery.</font>
<br><font size=2 face="sans-serif">If the ULP needs a wider scope - and
the RDMAP has no effective means to police that - then it may want to give
up the invalidation shortcut - but I am afraid that even this will be frowned
upon in some quarters.</font>
<br>
<br><font size=2 face="sans-serif">But I have real trouble understanding
where limiting STag to a connection will cause pain. Many an implementer
may find ways to express within the STag a &quot;constant part&quot; (the
core-STag) and a &quot;connection salt&quot; and avoid the whole issue
of securing a session. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">Regards,</font>
<br><font size=2 face="sans-serif">Julo </font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Renato Recio/Austin/IBM@IBMUS</b></font>
<br><font size=1 face="sans-serif">Sent by: rddp-admin@ietf.org</font>
<p><font size=1 face="sans-serif">01/10/02 16:12</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;rddp@ietf.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;Re: [rddp] STag validation semantics</font>
<br>
<br><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp;</font></table>
<br>
<br><font size=2><tt><br>
I agree with Caitlin and wanted to add another point. &nbsp;In IB, &nbsp;our
view was<br>
the ULP could associate the Protection Domain with a process. &nbsp;For
example,<br>
the ULP could make the process id = the protection domain. &nbsp;If the
ULP does<br>
that, then one process cannot access the resources owned by another<br>
process, &nbsp;because they are protected by the PD.<br>
<br>
Thanks<br>
<br>
Renato J Recio<br>
Distinguished Engineer<br>
IBM I/O Architecture and Technology<br>
Tel 512-838-3685, T/L 678-3685<br>
<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;Caitlin Bestler &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;&lt;caitlinb@rp.asom &nbsp; &nbsp; &nbsp; &nbsp;To: &nbsp; &nbsp;
&nbsp; rddp@ietf.org &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;i.net&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;Sent by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Subject: &nbsp;Re: [rddp] STag validation semantics &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;rddp-admin@ietf.o &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;rg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;09/30/2002 08:05 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;PM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
<br>
<br>
<br>
On 9/30/02, Mukund, Shridhar wrote:<br>
<br>
&gt;<br>
&gt;Caitlin,<br>
&gt;<br>
&gt;Isn't it true that a connection can be associated with<br>
&gt;multiple protection domains at the same time?<br>
&gt;<br>
&gt;Are you assuming otherwise? Why?<br>
&gt;<br>
<br>
<br>
The Protection Domain model I was referring to comes from<br>
InfiniBand. Each QP(connection) is associated with exactly<br>
one Protection Domain. Each R-Key(STag) is also associated<br>
with exactly one Protection Domain. An R-Key with the 'wrong<br>
Protection Domain' for a QP is rejected.<br>
<br>
This requires far less NIC-accessible table space, and fewer<br>
cycles, to validate than a generalized validating lookup on<br>
the QP/R-Key combination.<br>
<br>
<br>
Caitlin Bestler<br>
http://asomi.com/CaitlinBestler/<br>
_______________________________________________<br>
rddp mailing list<br>
rddp@ietf.org<br>
https://www1.ietf.org/mailman/listinfo/rddp<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
rddp mailing list<br>
rddp@ietf.org<br>
https://www1.ietf.org/mailman/listinfo/rddp<br>
</tt></font>
<br>
--=_alternative 00579032C2256C48_=--
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct  4 10:52:05 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA06590
	for <rddp-archive@odin.ietf.org>; Fri, 4 Oct 2002 10:52:05 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g94Erca12146
	for rddp-archive@odin.ietf.org; Fri, 4 Oct 2002 10:53:38 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94Ercv12143
	for <rddp-web-archive@optimus.ietf.org>; Fri, 4 Oct 2002 10:53:38 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA06556
	for <rddp-web-archive@ietf.org>; Fri, 4 Oct 2002 10:51:33 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94ErRv12120;
	Fri, 4 Oct 2002 10:53:27 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94EqTv12051
	for <rddp@optimus.ietf.org>; Fri, 4 Oct 2002 10:52:29 -0400
Received: from d12lmsgate-2.de.ibm.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA06490;
	Fri, 4 Oct 2002 10:50:23 -0400 (EDT)
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate-2.de.ibm.com (8.12.3/8.12.3) with ESMTP id g94EqLDR052194;
	Fri, 4 Oct 2002 16:52:22 +0200
Received: from d10hubm1.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay01.de.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g94EqL62063080;
	Fri, 4 Oct 2002 16:52:21 +0200
In-Reply-To: <D9223EB959A5D511A98F00508B68C20C07ECB9D1@orsmsx108.jf.intel.com>
To: "Deleganes, Ellen M" <ellen.m.deleganes@intel.com>
Cc: "'Caitlin Bestler'" <caitlinb@rp.asomi.net>, rddp@ietf.org,
        rddp-admin@ietf.org
MIME-Version: 1.0
Subject: RE: [rddp] STag validation semantics
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: "Julian Satran" <Julian_Satran@il.ibm.com>
Message-ID: <OF5A73FC03.8EBAD2DF-ONC2256C48.00571FB3-C2256C48.0057A31E@telaviv.ibm.com>
Date: Fri, 4 Oct 2002 17:52:18 +0300
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 04/10/2002 17:52:20,
	Serialize complete at 04/10/2002 17:52:20
Content-Type: multipart/alternative; boundary="=_alternative 00575368C2256C48_="
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

This is a multipart message in MIME format.
--=_alternative 00575368C2256C48_=
Content-Type: text/plain; charset="US-ASCII"

Ellen,

I would like also to point out that protocols that allow STags and 
invalidation on several connections will have hard time avoid a myriad of 
race conditions.

Julo




"Deleganes, Ellen M" <ellen.m.deleganes@intel.com>
Sent by: rddp-admin@ietf.org
01/10/02 17:31
 
        To:     "'Caitlin Bestler'" <caitlinb@rp.asomi.net>, rddp@ietf.org
        cc: 
        Subject:        RE: [rddp] STag validation semantics

 

More comments within, starting with <<

Ellen

-----Original Message-----
From: Caitlin Bestler [mailto:caitlinb@rp.asomi.net] 
Sent: Monday, September 30, 2002 7:51 PM
To: Deleganes, Ellen M; rddp@ietf.org
Subject: RE: [rddp] STag validation semantics 


On 9/30/02, Deleganes, Ellen M wrote:


>>-- Exactly one connection: an STag is valid on exactly one
>>connection. This prevents all accidental over-exposure of
>>STags on multiple connections, but does so by eliminating
>>legitimate uses as well. This presents awkward coding
>>requirements for ULPs that use multiple connections within
>>a single session, such as DAFS.
>
><Ellen: I'd propose that if you want to use the remote
>invalidate feature that the STag be valid on only a single
>connection. If you want an STag that is valid across
>multiple connections, then you need to use a different
>mechanism to invalidate the STag. It doesn't seem sensible
>to use the remote invalidate when multiple connections are
>potentially using the same STag since ordering is not
>guaranteed across multiple connections.>
>

I really don't see the remote invalidate as being a specific
problem in this context. Of course I don't like the remote
invalidate -- I'd rather attach the invalidate to the Data
Sink's Receive than the Data Source's Send. If the Data Sink
already has to trust the Data Source to know which
*transaction* to invalidate the STag on, it already knows
what *stream*. Once you introduce the idea that only *some*
Sends invalidate an STag, being selective across multiple
streams is not a problem.

Of course this is all *far* simpler if the invalidation is
moved from the Send to the Recv. It also simplifies the wire
protocol.

<<Your suggestion requires a high level of coordination between the sender
and the receiver that might not always be possible. The model that I think
people were thinking about was using RDMA Write or RDMA Read after the
transfers completed a status message is sent that includes the invalidate.
The sender is the entity that knows when the transfer is complete and the
STag can be invalidated, not the receiver. The problem is if the sender
sends a status update in the middle of the transfer (perhaps just to let 
the
receiver know that there is still more data coming), it would not want the
STag invalidated at that point. The receiver would have no way to know
apriori when it posted the receive request whether or not to invalidate 
the
STag. The sender already has to know the STag in order to be able to
transfer data via RDMA transfers. 

Attempting to implement some sort of counting or bit-masked
release of an STag (where it is not totally released until
*all* claims on it are released) makes me nervous. It is
particularly tricky with the Protection Domain approach.
So if we keep invalidation on the wire, I think it does have
to be kept to a flat "this invalidates this STag" unless we
mandate  the full any to any mapping, in which case the
Stream/STag pairing can be deleted very precisely. Of course
making these tables *dynamic* makes your objection to their
complexity (next item) even more telling.

<<I agree with your statement, that implementing counting or bit-masked
release of the STag is not desireable. I also prefer the flat "this
invalidated this STag". Just like an RNIC command to invalidate an STag
would invalidate it across all accesses asynchronously, I think this 
should
work the same way.

>>-- Explicit: the STag is valid only on those connections
>>that the ULP has specifically enabled it for. It may
>>enable it for any set of connections. This provides
>>complete ULP flexibility. It is also a very simple
>>specification.
>
><Ellen: I really don't like this from an implementation
>viewpoint, it requires the RNIC to maintain a table of the
>valid connections for each STag. This is additional
>context and complexity for the hardware and will have a
>performance impact on each access to the memory associated
>with that STag. The other models only require a QP or PD
>match, this entails a search by connection.>
>

As an application developer I of course want this
flexibility. As an ASIC designer I even more emphatically
agree with you. As an Architect I'd tell the application
developer to take her lumps and work around it. A Protection
Domain like limitation on the scope of STag validity is
essential to efficient hardware.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp


--=_alternative 00575368C2256C48_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Ellen,</font>
<br>
<br><font size=2 face="sans-serif">I would like also to point out that
protocols that allow STags and invalidation on several connections will
have hard time avoid a myriad of race conditions.</font>
<br>
<br><font size=2 face="sans-serif">Julo</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>&quot;Deleganes, Ellen M&quot; &lt;ellen.m.deleganes@intel.com&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: rddp-admin@ietf.org</font>
<p><font size=1 face="sans-serif">01/10/02 17:31</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;&quot;'Caitlin Bestler'&quot; &lt;caitlinb@rp.asomi.net&gt;,
rddp@ietf.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;RE: [rddp] STag validation semantics</font>
<br>
<br><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp;</font></table>
<br>
<br><font size=2><tt>More comments within, starting with &lt;&lt;<br>
<br>
Ellen<br>
<br>
-----Original Message-----<br>
From: Caitlin Bestler [mailto:caitlinb@rp.asomi.net] <br>
Sent: Monday, September 30, 2002 7:51 PM<br>
To: Deleganes, Ellen M; rddp@ietf.org<br>
Subject: RE: [rddp] STag validation semantics <br>
<br>
<br>
On 9/30/02, Deleganes, Ellen M wrote:<br>
<br>
<br>
&gt;&gt;-- Exactly one connection: an STag is valid on exactly one<br>
&gt;&gt;connection. This prevents all accidental over-exposure of<br>
&gt;&gt;STags on multiple connections, but does so by eliminating<br>
&gt;&gt;legitimate uses as well. This presents awkward coding<br>
&gt;&gt;requirements for ULPs that use multiple connections within<br>
&gt;&gt;a single session, such as DAFS.<br>
&gt;<br>
&gt;&lt;Ellen: I'd propose that if you want to use the remote<br>
&gt;invalidate feature that the STag be valid on only a single<br>
&gt;connection. If you want an STag that is valid across<br>
&gt;multiple connections, then you need to use a different<br>
&gt;mechanism to invalidate the STag. It doesn't seem sensible<br>
&gt;to use the remote invalidate when multiple connections are<br>
&gt;potentially using the same STag since ordering is not<br>
&gt;guaranteed across multiple connections.&gt;<br>
&gt;<br>
<br>
I really don't see the remote invalidate as being a specific<br>
problem in this context. Of course I don't like the remote<br>
invalidate -- I'd rather attach the invalidate to the Data<br>
Sink's Receive than the Data Source's Send. If the Data Sink<br>
already has to trust the Data Source to know which<br>
*transaction* to invalidate the STag on, it already knows<br>
what *stream*. Once you introduce the idea that only *some*<br>
Sends invalidate an STag, being selective across multiple<br>
streams is not a problem.<br>
<br>
Of course this is all *far* simpler if the invalidation is<br>
moved from the Send to the Recv. It also simplifies the wire<br>
protocol.<br>
<br>
&lt;&lt;Your suggestion requires a high level of coordination between the
sender<br>
and the receiver that might not always be possible. The model that I think<br>
people were thinking about was using RDMA Write or RDMA Read after the<br>
transfers completed a status message is sent that includes the invalidate.<br>
The sender is the entity that knows when the transfer is complete and the<br>
STag can be invalidated, not the receiver. The problem is if the sender<br>
sends a status update in the middle of the transfer (perhaps just to let
the<br>
receiver know that there is still more data coming), it would not want
the<br>
STag invalidated at that point. The receiver would have no way to know<br>
apriori when it posted the receive request whether or not to invalidate
the<br>
STag. The sender already has to know the STag in order to be able to<br>
transfer data via RDMA transfers. <br>
<br>
Attempting to implement some sort of counting or bit-masked<br>
release of an STag (where it is not totally released until<br>
*all* claims on it are released) makes me nervous. It is<br>
particularly tricky with the Protection Domain approach.<br>
So if we keep invalidation on the wire, I think it does have<br>
to be kept to a flat &quot;this invalidates this STag&quot; unless we<br>
mandate &nbsp;the full any to any mapping, in which case the<br>
Stream/STag pairing can be deleted very precisely. Of course<br>
making these tables *dynamic* makes your objection to their<br>
complexity (next item) even more telling.<br>
<br>
&lt;&lt;I agree with your statement, that implementing counting or bit-masked<br>
release of the STag is not desireable. I also prefer the flat &quot;this<br>
invalidated this STag&quot;. Just like an RNIC command to invalidate an
STag<br>
would invalidate it across all accesses asynchronously, I think this should<br>
work the same way.<br>
<br>
&gt;&gt;-- Explicit: the STag is valid only on those connections<br>
&gt;&gt;that the ULP has specifically enabled it for. It may<br>
&gt;&gt;enable it for any set of connections. This provides<br>
&gt;&gt;complete ULP flexibility. It is also a very simple<br>
&gt;&gt;specification.<br>
&gt;<br>
&gt;&lt;Ellen: I really don't like this from an implementation<br>
&gt;viewpoint, it requires the RNIC to maintain a table of the<br>
&gt;valid connections for each STag. This is additional<br>
&gt;context and complexity for the hardware and will have a<br>
&gt;performance impact on each access to the memory associated<br>
&gt;with that STag. The other models only require a QP or PD<br>
&gt;match, this entails a search by connection.&gt;<br>
&gt;<br>
<br>
As an application developer I of course want this<br>
flexibility. As an ASIC designer I even more emphatically<br>
agree with you. As an Architect I'd tell the application<br>
developer to take her lumps and work around it. A Protection<br>
Domain like limitation on the scope of STag validity is<br>
essential to efficient hardware.<br>
<br>
Caitlin Bestler<br>
http://asomi.com/CaitlinBestler/<br>
_______________________________________________<br>
rddp mailing list<br>
rddp@ietf.org<br>
https://www1.ietf.org/mailman/listinfo/rddp<br>
</tt></font>
<br>
--=_alternative 00575368C2256C48_=--
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct  4 11:06:41 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA07231
	for <rddp-archive@odin.ietf.org>; Fri, 4 Oct 2002 11:06:41 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g94F8EV13354
	for rddp-archive@odin.ietf.org; Fri, 4 Oct 2002 11:08:14 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94F8Ev13351
	for <rddp-web-archive@optimus.ietf.org>; Fri, 4 Oct 2002 11:08:14 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA07170
	for <rddp-web-archive@ietf.org>; Fri, 4 Oct 2002 11:06:09 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94F82v13332;
	Fri, 4 Oct 2002 11:08:02 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94F7Cv13140
	for <rddp@optimus.ietf.org>; Fri, 4 Oct 2002 11:07:12 -0400
Received: from d12lmsgate-5.de.ibm.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA07125;
	Fri, 4 Oct 2002 11:05:06 -0400 (EDT)
Received: from d12relay02.de.ibm.com (d12relay02.de.ibm.com [9.165.215.23])
	by d12lmsgate-5.de.ibm.com (8.12.3/8.12.3) with ESMTP id g94F74ks025394;
	Fri, 4 Oct 2002 17:07:04 +0200
Received: from d10hubm1.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay02.de.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g94F74qj078070;
	Fri, 4 Oct 2002 17:07:04 +0200
In-Reply-To: <OF469E65F0.A9114043-ON86256C44.00595166@boulder.ibm.com>
To: "Renato Recio" <recio@us.ibm.com>
Cc: rddp@ietf.org, rddp-admin@ietf.org
MIME-Version: 1.0
Subject: RE: [rddp] Stream Inititation (8.1)
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: "Julian Satran" <Julian_Satran@il.ibm.com>
Message-ID: <OF6D158D66.36AB58BC-ONC2256C48.00585509-C2256C48.0058FC3F@telaviv.ibm.com>
Date: Fri, 4 Oct 2002 18:07:01 +0300
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 04/10/2002 18:07:04,
	Serialize complete at 04/10/2002 18:07:04
Content-Type: multipart/alternative; boundary="=_alternative 0058BE35C2256C48_="
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

This is a multipart message in MIME format.
--=_alternative 0058BE35C2256C48_=
Content-Type: text/plain; charset="US-ASCII"

As this will affect interoperability you have either:

provide a detailed sequence for any ULP
provide a template and let the ULP fill-in-the-blanks


I guess that 2 would be more beneficial to the community and might help 
insure that the generic hardware has the right level of support for the 
local exchanges.

Julo




Renato Recio/Austin/IBM@IBMUS
Sent by: rddp-admin@ietf.org
30/09/02 19:21
 
        To:     rddp@ietf.org
        cc: 
        Subject:        RE: [rddp] Stream Inititation (8.1)

 


Caitlin,

In my view, the first paragraph of section 8.1 of the RDMA specification 
is
sufficient.  Specifically the second and third sentences:  "The ULP is
responsible for transitioning the LLP Stream into RDMA enabled mode. Once
in RDMA enabled mode, an implementation MUST send only RDMA Messages 
across
the transport Stream until the RDMAP Stream is torn down."

In my view, the second sentence covers your point.  In other words, if the
passive side ULP wants to wait for the active side to send an RDMA Message
it can do so.  On the otherhand, if the active/passive side immediately
start off in RDMA mode, the passive side can immediately start sending 
RDMA
Messages.

BTW, I created a presentation during the development of the .95 draft that
outlines a set of connection establishment options that are possible for
RDMAP.  I tried posting it to this reflector, but the e-mail was too long.
If you are interested in it,  let me know and I'll be happy to send it to
you.

Thanks,

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685



  
                      Caitlin Bestler   
                      <caitlinb@rp.asom        To:       rddp@ietf.org     
 
                      i.net>                   cc:       Michael Krause 
<krause@cup.hp.com> 
                      Sent by:                 Subject:  RE: [rddp] Stream 
Inititation (8.1) 
                      rddp-admin@ietf.o   
                      rg  
  
  
                      09/30/2002 10:56   
                      AM  
  
  



On 9/30/02, Michael Krause wrote:


>
>I do not see any change proposed for the RDMA / DDP / MPA
>specs in the below exchange.  Given there are no wire
>protocol changes proposed, then aside from an
>implementation education for ULP, it appears this is a
>non-issue from a specification perspective.
>


You are correct that there is no required change to any of
the wire protocol.

However, both the ddp and rdma drafts place requirements on
the local interface: specifically that the ULP can enter
RDMA mode at any any time after the stream is connected
(especially immediately).

As pointed out in the prior posts, this local interface is
inadequate. It either requires the ULPs to engage in timing
to avoid race conditions, or to have a complex interface
between the RDMA stack and traditional stack.

Based upon Paul Culley's refinement of my suggestion, it is
clear that the *only* refinements to the local interface are
as follows:

1) The ULP may enable RDMA send and RDMA receive modes
seperately.

2) The ULP may *fence* the first RDMA send pending receipt
of the first RDMA message. (So that the passive side can be
assured that the active side has completed enabling RDMA).

That is the *only* specification change required, and it
only deals with the very minimal "verb" description in
section 8.1.

I would argue that this very minor increase in the
reuqirements for the local interface is preferable to ULP
negotiations that have inherent race conditions in them
and/or complex "delivery revocation" interfaces with
software L2-up stacks.

It is also necessary that these capabilities be specified in
the draft. Later ULPs cannot define their own application
specific peer-to-peer unless the local interface
capabilities they rely upon are documented in the base
standard. There is no need to specify an API, or even a
verb, just that this capability is available to the ULP.




Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp


--=_alternative 0058BE35C2256C48_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">As this will affect interoperability
you have either:</font>
<br>
<ol>
<li value=1><font size=2 face="sans-serif">provide a detailed sequence
for any ULP</font>
<li value=2><font size=2 face="sans-serif">provide a template and let the
ULP fill-in-the-blanks</font></ol>
<br>
<br><font size=2 face="sans-serif">I guess that 2 would be more beneficial
to the community and might help insure that the generic hardware has the
right level of support for the local exchanges.</font>
<br>
<br><font size=2 face="sans-serif">Julo</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Renato Recio/Austin/IBM@IBMUS</b></font>
<br><font size=1 face="sans-serif">Sent by: rddp-admin@ietf.org</font>
<p><font size=1 face="sans-serif">30/09/02 19:21</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;rddp@ietf.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;RE: [rddp] Stream Inititation (8.1)</font>
<br>
<br><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp;</font></table>
<br>
<br><font size=2><tt><br>
Caitlin,<br>
<br>
In my view, the first paragraph of section 8.1 of the RDMA specification
is<br>
sufficient. &nbsp;Specifically the second and third sentences: &nbsp;&quot;The
ULP is<br>
responsible for transitioning the LLP Stream into RDMA enabled mode. Once<br>
in RDMA enabled mode, an implementation MUST send only RDMA Messages across<br>
the transport Stream until the RDMAP Stream is torn down.&quot;<br>
<br>
In my view, the second sentence covers your point. &nbsp;In other words,
if the<br>
passive side ULP wants to wait for the active side to send an RDMA Message<br>
it can do so. &nbsp;On the otherhand, if the active/passive side immediately<br>
start off in RDMA mode, the passive side can immediately start sending
RDMA<br>
Messages.<br>
<br>
BTW, I created a presentation during the development of the .95 draft that<br>
outlines a set of connection establishment options that are possible for<br>
RDMAP. &nbsp;I tried posting it to this reflector, but the e-mail was too
long.<br>
If you are interested in it, &nbsp;let me know and I'll be happy to send
it to<br>
you.<br>
<br>
Thanks,<br>
<br>
Renato J Recio<br>
Distinguished Engineer<br>
IBM I/O Architecture and Technology<br>
Tel 512-838-3685, T/L 678-3685<br>
<br>
<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;Caitlin Bestler &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;&lt;caitlinb@rp.asom &nbsp; &nbsp; &nbsp; &nbsp;To: &nbsp; &nbsp;
&nbsp; rddp@ietf.org &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;i.net&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; cc: &nbsp; &nbsp; &nbsp; Michael Krause &lt;krause@cup.hp.com&gt;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; <br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;Sent by: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Subject: &nbsp;RE: [rddp] Stream Inititation (8.1) &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;rddp-admin@ietf.o &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;rg &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;09/30/2002 10:56 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;AM &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>
<br>
<br>
<br>
On 9/30/02, Michael Krause wrote:<br>
<br>
<br>
&gt;<br>
&gt;I do not see any change proposed for the RDMA / DDP / MPA<br>
&gt;specs in the below exchange. &nbsp;Given there are no wire<br>
&gt;protocol changes proposed, then aside from an<br>
&gt;implementation education for ULP, it appears this is a<br>
&gt;non-issue from a specification perspective.<br>
&gt;<br>
<br>
<br>
You are correct that there is no required change to any of<br>
the wire protocol.<br>
<br>
However, both the ddp and rdma drafts place requirements on<br>
the local interface: specifically that the ULP can enter<br>
RDMA mode at any any time after the stream is connected<br>
(especially immediately).<br>
<br>
As pointed out in the prior posts, this local interface is<br>
inadequate. It either requires the ULPs to engage in timing<br>
to avoid race conditions, or to have a complex interface<br>
between the RDMA stack and traditional stack.<br>
<br>
Based upon Paul Culley's refinement of my suggestion, it is<br>
clear that the *only* refinements to the local interface are<br>
as follows:<br>
<br>
1) The ULP may enable RDMA send and RDMA receive modes<br>
seperately.<br>
<br>
2) The ULP may *fence* the first RDMA send pending receipt<br>
of the first RDMA message. (So that the passive side can be<br>
assured that the active side has completed enabling RDMA).<br>
<br>
That is the *only* specification change required, and it<br>
only deals with the very minimal &quot;verb&quot; description in<br>
section 8.1.<br>
<br>
I would argue that this very minor increase in the<br>
reuqirements for the local interface is preferable to ULP<br>
negotiations that have inherent race conditions in them<br>
and/or complex &quot;delivery revocation&quot; interfaces with<br>
software L2-up stacks.<br>
<br>
It is also necessary that these capabilities be specified in<br>
the draft. Later ULPs cannot define their own application<br>
specific peer-to-peer unless the local interface<br>
capabilities they rely upon are documented in the base<br>
standard. There is no need to specify an API, or even a<br>
verb, just that this capability is available to the ULP.<br>
<br>
<br>
<br>
<br>
Caitlin Bestler<br>
http://asomi.com/CaitlinBestler/<br>
_______________________________________________<br>
rddp mailing list<br>
rddp@ietf.org<br>
https://www1.ietf.org/mailman/listinfo/rddp<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
rddp mailing list<br>
rddp@ietf.org<br>
https://www1.ietf.org/mailman/listinfo/rddp<br>
</tt></font>
<br>
--=_alternative 0058BE35C2256C48_=--
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct  4 11:31:37 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08024
	for <rddp-archive@odin.ietf.org>; Fri, 4 Oct 2002 11:31:37 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g94FXAi14106
	for rddp-archive@odin.ietf.org; Fri, 4 Oct 2002 11:33:10 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94FXAv14103
	for <rddp-web-archive@optimus.ietf.org>; Fri, 4 Oct 2002 11:33:10 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA07997
	for <rddp-web-archive@ietf.org>; Fri, 4 Oct 2002 11:31:06 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94FX3v14093;
	Fri, 4 Oct 2002 11:33:03 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94FWev14073
	for <rddp@optimus.ietf.org>; Fri, 4 Oct 2002 11:32:40 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA07978
	for <rddp@ietf.org>; Fri, 4 Oct 2002 11:30:35 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g94FWlc07385;
	Fri, 4 Oct 2002 10:32:47 -0500
Date: Fri,  4 Oct 2002 10:32:35 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: [rddp] Stream Inititation (8.1)
To: rddp@ietf.org
cc: Julian Satran <Julian_Satran@il.ibm.com>
X-Priority: 3
In-Reply-To: <OF6D158D66.36AB58BC-ONC2256C48.00585509-C2256C48.0058FC3F@telaviv.ibm.com>
Message-ID: <r01050300-1015-81D472FDD7AE11D6BA1D003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/4/02, Julian Satran wrote:

>As this will affect interoperability you have either:
>
>provide a detailed sequence for any ULP
>provide a template and let the ULP fill-in-the-blanks
>
>
>I guess that 2 would be more beneficial to the community
>and might help insure that the generic hardware has the
>right level of support for the local exchanges.
>
>Julo
>
>
>
>
Or we could *suggest* a template that each ULP could
fill-in, but not require any ULP to use it, or for any NIC
vendor to provide support for in in hardware.

The shift on stream initiation from earlier drafts was to
move it into a pure-ULP issue. I actually agree with this
shift. Minimalist specifications are good. My contention was
that the local interface capabilities had to be more
specifically enumerated to deal properly with delayed
initiation.

Trying to fully standardize end-to-end stream inititation
ultimately requires standardizing session authentication.
That's a can of worms best avoided, or at least to be opened
in a different working group.
 

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct  4 11:41:21 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08542
	for <rddp-archive@odin.ietf.org>; Fri, 4 Oct 2002 11:41:21 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g94Fgr515290
	for rddp-archive@odin.ietf.org; Fri, 4 Oct 2002 11:42:53 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94Fgrv15287
	for <rddp-web-archive@optimus.ietf.org>; Fri, 4 Oct 2002 11:42:53 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08496
	for <rddp-web-archive@ietf.org>; Fri, 4 Oct 2002 11:40:49 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94Fgjv15272;
	Fri, 4 Oct 2002 11:42:45 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94Ffcv15118
	for <rddp@optimus.ietf.org>; Fri, 4 Oct 2002 11:41:38 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08436
	for <rddp@ietf.org>; Fri, 4 Oct 2002 11:39:33 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g94Ffic07398;
	Fri, 4 Oct 2002 10:41:44 -0500
Date: Fri,  4 Oct 2002 10:41:33 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: [rddp] STag validation semantics
To: rddp@ietf.org
cc: Julian Satran <Julian_Satran@il.ibm.com>
X-Priority: 3
In-Reply-To: <OF5A73FC03.8EBAD2DF-ONC2256C48.00571FB3-C2256C48.0057A31E@telaviv.ibm.com>
Message-ID: <r01050300-1015-C23C9C42D7AF11D6BA1D003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/4/02, Julian Satran wrote:

>Ellen,
>
>I would like also to point out that protocols that allow
>STags and invalidation on several connections will have
>hard time avoid a myriad of race conditions.
>
Invalidation would be requested at the completion of a
transaction or transaction set. Even if there are multiple
connections in a session, each will tyically serve a
purpose. Therefore knowing when to invalidate and on which
connection will not typically be a problem for most ULPs.

For example: DAFS allows multiple connections. Even if this
feature was used (it actually would not be needed with
RDMAP) the only SENDs that invalidated as STag would be sent
by the client on the primary connection after all transfers
on the RDMA Read channel had completed.

My initial inclination was to keep STag invalidation purely
local. Ellen pointed out the scenario where the next SEND
might be an exception rather than a response. In that case
it would truly be up to the sender to indicate which message
was the response.

There are two ways the problems of multiple paths to
invalidation could be solved:

- Do not allow it. Remote invalidation is only defined
  for STags in use on a single connection. One step down
  from there, allow it but add a great big UNDEFINED
  warning and state the ULPs SHOULD NOT do this, but
  that NICs are not responsible for stopping them.
  
- Define an 'exception' message queue, such that the
  message that will arrive on the main untagged queue
  can be made predictable once again. It's a nice feature,
  but I do not think its worth the complexity.
  
If an application finds automatic invalidation to be
problematic, it can simply revert to local ULP invalidation.
That option will always be there.



Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct  4 11:47:37 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08757
	for <rddp-archive@odin.ietf.org>; Fri, 4 Oct 2002 11:47:37 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g94FnBE15617
	for rddp-archive@odin.ietf.org; Fri, 4 Oct 2002 11:49:11 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94FnBv15614
	for <rddp-web-archive@optimus.ietf.org>; Fri, 4 Oct 2002 11:49:11 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08724
	for <rddp-web-archive@ietf.org>; Fri, 4 Oct 2002 11:47:07 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94Fn2v15601;
	Fri, 4 Oct 2002 11:49:02 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94FmWv15573
	for <rddp@optimus.ietf.org>; Fri, 4 Oct 2002 11:48:32 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08699
	for <rddp@ietf.org>; Fri, 4 Oct 2002 11:46:27 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g94Fmcc07440;
	Fri, 4 Oct 2002 10:48:39 -0500
Date: Fri,  4 Oct 2002 10:48:27 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: Re: Fw: [rddp] STag validation semantics
To: rddp@ietf.org
cc: Julian Satran <Julian_Satran@il.ibm.com>
X-Priority: 3
In-Reply-To: <OF6F796910.F9386004-ONC2256C48.0057779A-C2256C48.0057A3B3@telaviv.ibm.com>
Message-ID: <r01050300-1015-B912B5FBD7B011D6BA1D003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/4/02, Julian Satran wrote:

> Renato,
>
>Perhaps the context is not right. But the IB design point
>is different from IP. And security is not protection. The
>type of attacks that have to be considered in an IP
>network are beyond protection.  The whole STag concept is
>weak if you have to secure it and have no way to enforce
>it.
>
>Perhaps the session is the answer but sharing the same
>type of security over all connections is not painless
>(even to specify). But perhaps we should consider all
>other alternatives. 
>
>If the ULP maintains a connection affinity (as iSCSI does)
>then limiting the scope of an STag to a connection is
>painless even in face of recovery. If the ULP needs a
>wider scope - and the RDMAP has no effective means to
>police that - then it may want to give up the invalidation
>shortcut - but I am afraid that even this will be frowned
>upon in some quarters.
>

What is wrong with a protection domain affinity? It can be
as finely tailored as the local ULP desires: process,
session or connection. The STag is valid *only* on the
set of connections that the ULP desires.

If some partners in a multi-party session are only trusted
to use certain connections, the ULP can set of the
protection domains on that more limited scope. The ULP is
fully in control. The ULP can even use transport layer
security if they want complete protection.

>But I have real trouble understanding where limiting STag
>to a connection will cause pain. Many an implementer may
>find ways to express within the STag a "constant part"
>(the core-STag) and a "connection salt" and avoid the
>whole issue of securing a session. 
>

Having to place a "connection salt" in the STag doesn't
solve the problem that a different STag is needed for each
connection.

This can lead to complexities such as having to use a
different buffer descriptor for reading and writing the
exact same buffer. This is not a very natural concept to an
application developer. Further, it is not something they
would have to do under IB. The combination would almost
certainly be that requiring the correct STag value for each
connection within a session would result in many errors.



Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct  4 12:08:41 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA09954
	for <rddp-archive@odin.ietf.org>; Fri, 4 Oct 2002 12:08:41 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g94GAFl17523
	for rddp-archive@odin.ietf.org; Fri, 4 Oct 2002 12:10:15 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94GAFv17520
	for <rddp-web-archive@optimus.ietf.org>; Fri, 4 Oct 2002 12:10:15 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA09918
	for <rddp-web-archive@ietf.org>; Fri, 4 Oct 2002 12:08:09 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94GA4v17504;
	Fri, 4 Oct 2002 12:10:04 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94G8kv17371
	for <rddp@optimus.ietf.org>; Fri, 4 Oct 2002 12:08:46 -0400
Received: from e31.co.us.ibm.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA09841
	for <rddp@ietf.org>; Fri, 4 Oct 2002 12:06:39 -0400 (EDT)
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e31.co.us.ibm.com (8.12.2/8.12.2) with ESMTP id g94G8dOF068112
	for <rddp@ietf.org>; Fri, 4 Oct 2002 12:08:39 -0400
Received: from d03nm803.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g94GA2jd115482
	for <rddp@ietf.org>; Fri, 4 Oct 2002 10:10:03 -0600
Subject: RE: [rddp] Stream Inititation (8.1)
To: rddp@ietf.org
X-Mailer: Lotus Notes Release 5.0.7  March 21, 2001
Message-ID: <OF5CD1A400.ABB7E902-ON86256C48.00587BBC@boulder.ibm.com>
From: "Renato Recio" <recio@us.ibm.com>
Date: Fri, 4 Oct 2002 11:08:35 -0500
X-MIMETrack: Serialize by Router on D03NM803/03/M/IBM(Release 5.0.10 |March 22, 2002) at
 10/04/2002 10:08:37 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>


Julian,
   Option #2 seems like good informative text to place in an appendix.

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685



                                                                                                                        
                      "Julian Satran"                                                                                   
                      <Julian_Satran@il        To:       Renato Recio/Austin/IBM@IBMUS                                  
                      .ibm.com>                cc:       rddp@ietf.org, rddp-admin@ietf.org                             
                      Sent by:                 Subject:  RE: [rddp] Stream Inititation (8.1)                            
                      rddp-admin@ietf.o                                                                                 
                      rg                                                                                                
                                                                                                                        
                                                                                                                        
                      10/04/2002 10:07                                                                                  
                      AM                                                                                                
                                                                                                                        
                                                                                                                        




As this will affect interoperability you have either:
   1. provide a detailed sequence for any ULP
   2. provide a template and let the ULP fill-in-the-blanks


I guess that 2 would be more beneficial to the community and might help
insure that the generic hardware has the right level of support for the
local exchanges.

Julo

                                                                           
    Renato Recio/Austin/IBM@IBMUS                                          
    Sent by: rddp-admin@ietf.org            To:        rddp@ietf.org       
                                            cc:                            
                                            Subject:        RE: [rddp]     
    30/09/02 19:21                  Stream Inititation (8.1)               
                                                                           
                                                                           
                                                                           





Caitlin,

In my view, the first paragraph of section 8.1 of the RDMA specification is
sufficient.  Specifically the second and third sentences:  "The ULP is
responsible for transitioning the LLP Stream into RDMA enabled mode. Once
in RDMA enabled mode, an implementation MUST send only RDMA Messages across
the transport Stream until the RDMAP Stream is torn down."

In my view, the second sentence covers your point.  In other words, if the
passive side ULP wants to wait for the active side to send an RDMA Message
it can do so.  On the otherhand, if the active/passive side immediately
start off in RDMA mode, the passive side can immediately start sending RDMA
Messages.

BTW, I created a presentation during the development of the .95 draft that
outlines a set of connection establishment options that are possible for
RDMAP.  I tried posting it to this reflector, but the e-mail was too long.
If you are interested in it,  let me know and I'll be happy to send it to
you.

Thanks,

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685




                     Caitlin Bestler

                     <caitlinb@rp.asom        To:       rddp@ietf.org

                     i.net>                   cc:       Michael Krause
<krause@cup.hp.com>
                     Sent by:                 Subject:  RE: [rddp] Stream
Inititation (8.1)
                     rddp-admin@ietf.o

                     rg



                     09/30/2002 10:56

                     AM






On 9/30/02, Michael Krause wrote:


>
>I do not see any change proposed for the RDMA / DDP / MPA
>specs in the below exchange.  Given there are no wire
>protocol changes proposed, then aside from an
>implementation education for ULP, it appears this is a
>non-issue from a specification perspective.
>


You are correct that there is no required change to any of
the wire protocol.

However, both the ddp and rdma drafts place requirements on
the local interface: specifically that the ULP can enter
RDMA mode at any any time after the stream is connected
(especially immediately).

As pointed out in the prior posts, this local interface is
inadequate. It either requires the ULPs to engage in timing
to avoid race conditions, or to have a complex interface
between the RDMA stack and traditional stack.

Based upon Paul Culley's refinement of my suggestion, it is
clear that the *only* refinements to the local interface are
as follows:

1) The ULP may enable RDMA send and RDMA receive modes
seperately.

2) The ULP may *fence* the first RDMA send pending receipt
of the first RDMA message. (So that the passive side can be
assured that the active side has completed enabling RDMA).

That is the *only* specification change required, and it
only deals with the very minimal "verb" description in
section 8.1.

I would argue that this very minor increase in the
reuqirements for the local interface is preferable to ULP
negotiations that have inherent race conditions in them
and/or complex "delivery revocation" interfaces with
software L2-up stacks.

It is also necessary that these capabilities be specified in
the draft. Later ULPs cannot define their own application
specific peer-to-peer unless the local interface
capabilities they rely upon are documented in the base
standard. There is no need to specify an API, or even a
verb, just that this capability is available to the ULP.




Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct  4 12:39:39 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA12485
	for <rddp-archive@odin.ietf.org>; Fri, 4 Oct 2002 12:39:39 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g94GfEf19572
	for rddp-archive@odin.ietf.org; Fri, 4 Oct 2002 12:41:14 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94GfEv19568
	for <rddp-web-archive@optimus.ietf.org>; Fri, 4 Oct 2002 12:41:14 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA12427
	for <rddp-web-archive@ietf.org>; Fri, 4 Oct 2002 12:39:08 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94Gf2v19556;
	Fri, 4 Oct 2002 12:41:02 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g94GeFv19508
	for <rddp@optimus.ietf.org>; Fri, 4 Oct 2002 12:40:15 -0400
Received: from e6.ny.us.ibm.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA12409
	for <rddp@ietf.org>; Fri, 4 Oct 2002 12:38:08 -0400 (EDT)
Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.56.224.150])
	by e6.ny.us.ibm.com (8.12.2/8.12.2) with ESMTP id g94Ge9Dn158160
	for <rddp@ietf.org>; Fri, 4 Oct 2002 12:40:09 -0400
Received: from d03nm803.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by northrelay02.pok.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g94Ge6ab066480
	for <rddp@ietf.org>; Fri, 4 Oct 2002 12:40:06 -0400
Subject: Re: Fw: [rddp] STag validation semantics
To: rddp@ietf.org
X-Mailer: Lotus Notes Release 5.0.7  March 21, 2001
Message-ID: <OFB9AAEBC0.DF33678D-ON86256C48.00596E71@boulder.ibm.com>
From: "Renato Recio" <recio@us.ibm.com>
Date: Fri, 4 Oct 2002 11:40:05 -0500
X-MIMETrack: Serialize by Router on D03NM803/03/M/IBM(Release 5.0.10 |March 22, 2002) at
 10/04/2002 10:40:07 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>


Julian,

Regarding protection:

   Protecting an STag from being used on a connection which is not allowed
to use it is a problem that was solved even before IB.  The solution
consists of providing a *protection* mechanism for associating an STag with
a connection.  Lets call that mechanism a Protection Domain (PD).  The
semantics for the PD are:

 - A Protection Domain (PD) MUST be used to associate a RDMA Stream to an
STag.  Each RDMA Stream MUST be associated with one, and only one,
Protection Domain.  Each STag MUST be associated with one, and only one,
Protection Domain.  However, the same PD can be used on multiple RDMA
Streams and on multiple STags.

- If the PD associated with an STag does not match the PD associated with
the RDMA Stream, RDMAP MUST terminate the RDMAP Stream using the
termination mechanism in section 6.8.

Under this approach the RNIC (RDMA enable NIC) resource used to perform the
memory protection and translation process, based on the incoming STag and
TO,  only has to create one resource for *all* RDMA Streams that fall under
the same PD.  A ULP can then expose different portions of a single buffer
(that is referenced by a single STag) on multiple RDMA Streams and only the
RDMA Streams which share the same PD will have access to the buffer.  RDMA
Streams that do not share the same PD cannot access the buffer.

An inferior approach would be to have:  An STag *MUST* only be valid on
one, and only one, RDMA Stream.  Why is this approach inferior?  Because it
either requires:
1.  The RNIC to have multiple memory protection and translation entries for
each buffer which a ULP wants to share across multiple RDMA Streams.
2.  The RNIC entry used to hold the memory protection and translation for
the buffer would need one additional chunk of state ("connection salt" as
you called it) for each RDMA Stream that the ULP wants to access the shared
buffer.

So in my opinion,  the PD approach I described above is "sweeter" :{).

BTW,  under the above approach,  a ULP *could* choose to make the STag
associated with a single RDMA Stream.

BTW,  You may ask,  what ULPs would want to share buffers?  Here is a list
of some of the top:
- Web servers that send the same content to many, many clients.
- File servers that provide many clients with read access to the same
files.
- Databases in a cluster or multi-tier server environment.


Regarding security:

Obviously if a rogue endpoint can inject RDMA/DDP/Transport Segments into
the fabric,  all kinds of damage would result.  I believe iSCSI faces the
same problem.

Thanks,

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685



                                                                                                                        
                      "Julian Satran"                                                                                   
                      <Julian_Satran@il        To:       rddp@ietf.org                                                  
                      .ibm.com>                cc:                                                                      
                      Sent by:                 Subject:  Fw: [rddp] STag validation semantics                           
                      rddp-admin@ietf.o                                                                                 
                      rg                                                                                                
                                                                                                                        
                                                                                                                        
                      10/04/2002 09:52                                                                                  
                      AM                                                                                                
                                                                                                                        
                                                                                                                        





Renato,

Perhaps the context is not right. But the IB design point is different from
IP.
And security is not protection. The type of attacks that have to be
considered in an IP network
are beyond protection.  The whole STag concept is weak if you have to
secure it and have no way to enforce it.

Perhaps the session is the answer but sharing the same type of security
over all connections is not painless (even to specify).
But perhaps we should consider all other alternatives.

If the ULP maintains a connection affinity (as iSCSI does) then limiting
the scope of an STag to a connection is painless even in face of recovery.
If the ULP needs a wider scope - and the RDMAP has no effective means to
police that - then it may want to give up the invalidation shortcut - but I
am afraid that even this will be frowned upon in some quarters.

But I have real trouble understanding where limiting STag to a connection
will cause pain. Many an implementer may find ways to express within the
STag a "constant part" (the core-STag) and a "connection salt" and avoid
the whole issue of securing a session.

Regards,
Julo

                                                                           
    Renato Recio/Austin/IBM@IBMUS                                          
    Sent by: rddp-admin@ietf.org           To:        rddp@ietf.org        
                                           cc:                             
                                           Subject:        Re: [rddp] STag 
    01/10/02 16:12                 validation semantics                    
                                                                           
                                                                           
                                                                           





I agree with Caitlin and wanted to add another point.  In IB,  our view was
the ULP could associate the Protection Domain with a process.  For example,
the ULP could make the process id = the protection domain.  If the ULP does
that, then one process cannot access the resources owned by another
process,  because they are protected by the PD.

Thanks

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685




                     Caitlin Bestler

                     <caitlinb@rp.asom        To:       rddp@ietf.org

                     i.net>                   cc:

                     Sent by:                 Subject:  Re: [rddp] STag
validation semantics
                     rddp-admin@ietf.o

                     rg



                     09/30/2002 08:05

                     PM






On 9/30/02, Mukund, Shridhar wrote:

>
>Caitlin,
>
>Isn't it true that a connection can be associated with
>multiple protection domains at the same time?
>
>Are you assuming otherwise? Why?
>


The Protection Domain model I was referring to comes from
InfiniBand. Each QP(connection) is associated with exactly
one Protection Domain. Each R-Key(STag) is also associated
with exactly one Protection Domain. An R-Key with the 'wrong
Protection Domain' for a QP is rejected.

This requires far less NIC-accessible table space, and fewer
cycles, to validate than a generalized validating lookup on
the QP/R-Key combination.


Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct  8 21:48:39 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA06720
	for <rddp-archive@odin.ietf.org>; Tue, 8 Oct 2002 21:48:39 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g991oM912233
	for rddp-archive@odin.ietf.org; Tue, 8 Oct 2002 21:50:22 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g991oMv12230
	for <rddp-web-archive@optimus.ietf.org>; Tue, 8 Oct 2002 21:50:22 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA06716
	for <rddp-web-archive@ietf.org>; Tue, 8 Oct 2002 21:48:08 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g991o9v12207;
	Tue, 8 Oct 2002 21:50:09 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g991n7v12155
	for <rddp@optimus.ietf.org>; Tue, 8 Oct 2002 21:49:07 -0400
Received: from magic.adaptec.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA06704
	for <rddp@ietf.org>; Tue, 8 Oct 2002 21:46:52 -0400 (EDT)
Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11] (may be forged))
	by magic.adaptec.com (8.10.2+Sun/8.10.2) with ESMTP id g991mvw10094;
	Tue, 8 Oct 2002 18:48:57 -0700 (PDT)
Received: from aimexc02.adaptec.com (aimexc02.corp.adaptec.com [162.62.62.40])
	by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id SAA03989;
	Tue, 8 Oct 2002 18:48:57 -0700 (PDT)
Received: by aimexc02.corp.adaptec.com with Internet Mail Service (5.5.2653.19)
	id <TT6BDQGV>; Tue, 8 Oct 2002 18:48:57 -0700
Message-ID: <AD1F046251DCD311BA6F0020484037670446A3EA@aimexc02.corp.adaptec.com>
From: "Mukund, Shridhar" <Shridhar_Mukund@adaptec.com>
To: "'Caitlin Bestler'" <caitlinb@rp.asomi.net>, rddp@ietf.org
Subject: RE: [rddp] STag validation semantics 
Date: Tue, 8 Oct 2002 18:48:53 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>


Caitlin,

[ response to Caitlin's mail dtd Monday, September 30 ]

I am a newB to IB. However, I do not think that the Protection 
Domain model from Infiniband addresses the security issue 
surrounding STag scope here(I am refering to the DDP context)

PD is only *one of the* elements that along with other
protection elements addresses the said security issue in
the context of IB.

Other elements include:
  1. Memory Windows - allows the application to dynamically
     grant access to different remote agents and limit
     that access to only the memory needed by those remote
     agents : Different access control domains within the same PD.
  2. P_Key - Partitions allow setting up of access bounds.
  3. Q_Key - identifies remote QP; prevents improper access.
  4. M_Keys, B_Keys, CFM_Keys, RDD ... ? 

There are two distinct types of R-Keys. One associated with 
memory regions obtained through the expensive process of
memory registration, typically obtained once on start-up by
the application: Region-R-Key. The other type that *IB recommends*
for remote access is associated with Memory Windows and is 
obtained through a simple process of memory binding: Window-R-Key.
Memory Window inherits the PD of it's parent Memory Region
but *has it's own access control*.

DDP STag needs to represent both types of R-Keys. Each R-Key,
(hence STag) may represent an independent access domain(say AD). 

Before data placament, merely checking if the DDP stream and STag 
belong to the same PD is not good enough. Multiple ADs(R-Keys) may
be associated with every DDP stream. In order to close the security 
gap, we need to *explicitly allow* STags on DDP Streams. 

I am not sure, but DAFS may want to explicitly allow the 
same STag on two DDP streams. There may however be an
efficiency issue with explicitly allowing an STag on
all DDP streams, but then ...

-Shridhar Mukund



> -----Original Message-----
> From: Caitlin Bestler [mailto:caitlinb@rp.asomi.net]
> Sent: Monday, September 30, 2002 6:06 PM
> To: rddp@ietf.org
> Subject: Re: [rddp] STag validation semantics 
> 
> 
> On 9/30/02, Mukund, Shridhar wrote:
> 
> >
> >Caitlin,
> >
> >Isn't it true that a connection can be associated with 
> >multiple protection domains at the same time? 
> >
> >Are you assuming otherwise? Why?
> >
> 
> 
> The Protection Domain model I was referring to comes from
> InfiniBand. Each QP(connection) is associated with exactly
> one Protection Domain. Each R-Key(STag) is also associated
> with exactly one Protection Domain. An R-Key with the 'wrong
> Protection Domain' for a QP is rejected.
> 
> This requires far less NIC-accessible table space, and fewer
> cycles, to validate than a generalized validating lookup on
> the QP/R-Key combination.
> 
> 
> Caitlin Bestler
> http://asomi.com/CaitlinBestler/
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
> 
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Wed Oct  9 02:01:33 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA13197
	for <rddp-archive@odin.ietf.org>; Wed, 9 Oct 2002 02:01:33 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9963I822809
	for rddp-archive@odin.ietf.org; Wed, 9 Oct 2002 02:03:18 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9963Hv22806
	for <rddp-web-archive@optimus.ietf.org>; Wed, 9 Oct 2002 02:03:17 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA12491
	for <rddp-web-archive@ietf.org>; Wed, 9 Oct 2002 02:01:01 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g99635v22762;
	Wed, 9 Oct 2002 02:03:05 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9962ov22699
	for <rddp@optimus.ietf.org>; Wed, 9 Oct 2002 02:02:50 -0400
Received: from d12lmsgate-4.de.ibm.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA11873;
	Wed, 9 Oct 2002 02:00:33 -0400 (EDT)
Received: from d12relay01.de.ibm.com (d12relay01.de.ibm.com [9.165.215.22])
	by d12lmsgate-4.de.ibm.com (8.12.3/8.12.3) with ESMTP id g9962c7g012232;
	Wed, 9 Oct 2002 08:02:38 +0200
Received: from d10hubm1.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay01.de.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g9962XI1013340;
	Wed, 9 Oct 2002 08:02:37 +0200
In-Reply-To: <OFB9AAEBC0.DF33678D-ON86256C48.00596E71@boulder.ibm.com>
Subject: Re: Fw: [rddp] STag validation semantics
To: "Renato Recio" <recio@us.ibm.com>
Cc: rddp@ietf.org, rddp-admin@ietf.org
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OF4F10A2D3.22839E91-ONC2256C4C.008088AF-C2256C4C.00818AC8@telaviv.ibm.com>
From: "Julian Satran" <Julian_Satran@il.ibm.com>
Date: Wed, 9 Oct 2002 01:34:56 +0200
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 09/10/2002 08:02:36
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>


Renato,

I am sorry but I have to reiterate - protection is not security.
The PD mechanism you describe is a good approximation of the PD model found
in any undergraduate OS textbook.

Applied to communicating parties it needs a "security envelope" insuring
that connections are protected in similar ways
and whatever has to be communicated about PDs is done properly (there must
be some knowledge about PDs that traverses the network).

I am not claiming that this can't be done - only that none of the current
texts talks about it.

Julo


                                                                                                                                                 
                      Renato                                                                                                                     
                      Recio/Austin/IBM@        To:       rddp@ietf.org                                                                           
                      IBMUS                    cc:                                                                                               
                      Sent by:                 Subject:  Re: Fw: [rddp] STag validation semantics                                                
                      rddp-admin@ietf.o                                                                                                          
                      rg                                                                                                                         
                                                                                                                                                 
                                                                                                                                                 
                      04/10/02 19:40                                                                                                             
                                                                                                                                                 




Julian,

Regarding protection:

   Protecting an STag from being used on a connection which is not allowed
to use it is a problem that was solved even before IB.  The solution
consists of providing a *protection* mechanism for associating an STag with
a connection.  Lets call that mechanism a Protection Domain (PD).  The
semantics for the PD are:

 - A Protection Domain (PD) MUST be used to associate a RDMA Stream to an
STag.  Each RDMA Stream MUST be associated with one, and only one,
Protection Domain.  Each STag MUST be associated with one, and only one,
Protection Domain.  However, the same PD can be used on multiple RDMA
Streams and on multiple STags.

- If the PD associated with an STag does not match the PD associated with
the RDMA Stream, RDMAP MUST terminate the RDMAP Stream using the
termination mechanism in section 6.8.

Under this approach the RNIC (RDMA enable NIC) resource used to perform the
memory protection and translation process, based on the incoming STag and
TO,  only has to create one resource for *all* RDMA Streams that fall under
the same PD.  A ULP can then expose different portions of a single buffer
(that is referenced by a single STag) on multiple RDMA Streams and only the
RDMA Streams which share the same PD will have access to the buffer.  RDMA
Streams that do not share the same PD cannot access the buffer.

An inferior approach would be to have:  An STag *MUST* only be valid on
one, and only one, RDMA Stream.  Why is this approach inferior?  Because it
either requires:
1.  The RNIC to have multiple memory protection and translation entries for
each buffer which a ULP wants to share across multiple RDMA Streams.
2.  The RNIC entry used to hold the memory protection and translation for
the buffer would need one additional chunk of state ("connection salt" as
you called it) for each RDMA Stream that the ULP wants to access the shared
buffer.

So in my opinion,  the PD approach I described above is "sweeter" :{).

BTW,  under the above approach,  a ULP *could* choose to make the STag
associated with a single RDMA Stream.

BTW,  You may ask,  what ULPs would want to share buffers?  Here is a list
of some of the top:
- Web servers that send the same content to many, many clients.
- File servers that provide many clients with read access to the same
files.
- Databases in a cluster or multi-tier server environment.


Regarding security:

Obviously if a rogue endpoint can inject RDMA/DDP/Transport Segments into
the fabric,  all kinds of damage would result.  I believe iSCSI faces the
same problem.

Thanks,

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685




                      "Julian Satran"

                      <Julian_Satran@il        To:       rddp@ietf.org

                      .ibm.com>                cc:

                      Sent by:                 Subject:  Fw: [rddp] STag
validation semantics
                      rddp-admin@ietf.o

                      rg



                      10/04/2002 09:52

                      AM








Renato,

Perhaps the context is not right. But the IB design point is different from
IP.
And security is not protection. The type of attacks that have to be
considered in an IP network
are beyond protection.  The whole STag concept is weak if you have to
secure it and have no way to enforce it.

Perhaps the session is the answer but sharing the same type of security
over all connections is not painless (even to specify).
But perhaps we should consider all other alternatives.

If the ULP maintains a connection affinity (as iSCSI does) then limiting
the scope of an STag to a connection is painless even in face of recovery.
If the ULP needs a wider scope - and the RDMAP has no effective means to
police that - then it may want to give up the invalidation shortcut - but I
am afraid that even this will be frowned upon in some quarters.

But I have real trouble understanding where limiting STag to a connection
will cause pain. Many an implementer may find ways to express within the
STag a "constant part" (the core-STag) and a "connection salt" and avoid
the whole issue of securing a session.

Regards,
Julo


    Renato Recio/Austin/IBM@IBMUS
    Sent by: rddp-admin@ietf.org           To:        rddp@ietf.org
                                           cc:
                                           Subject:        Re: [rddp] STag
    01/10/02 16:12                 validation semantics








I agree with Caitlin and wanted to add another point.  In IB,  our view was
the ULP could associate the Protection Domain with a process.  For example,
the ULP could make the process id = the protection domain.  If the ULP does
that, then one process cannot access the resources owned by another
process,  because they are protected by the PD.

Thanks

Renato J Recio
Distinguished Engineer
IBM I/O Architecture and Technology
Tel 512-838-3685, T/L 678-3685




                     Caitlin Bestler

                     <caitlinb@rp.asom        To:       rddp@ietf.org

                     i.net>                   cc:

                     Sent by:                 Subject:  Re: [rddp] STag
validation semantics
                     rddp-admin@ietf.o

                     rg



                     09/30/2002 08:05

                     PM






On 9/30/02, Mukund, Shridhar wrote:

>
>Caitlin,
>
>Isn't it true that a connection can be associated with
>multiple protection domains at the same time?
>
>Are you assuming otherwise? Why?
>


The Protection Domain model I was referring to comes from
InfiniBand. Each QP(connection) is associated with exactly
one Protection Domain. Each R-Key(STag) is also associated
with exactly one Protection Domain. An R-Key with the 'wrong
Protection Domain' for a QP is rejected.

This requires far less NIC-accessible table space, and fewer
cycles, to validate than a generalized validating lookup on
the QP/R-Key combination.


Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp





_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Wed Oct  9 09:13:40 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA14695
	for <rddp-archive@odin.ietf.org>; Wed, 9 Oct 2002 09:13:40 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g99DFIP20728
	for rddp-archive@odin.ietf.org; Wed, 9 Oct 2002 09:15:18 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g99DFIv20725
	for <rddp-web-archive@optimus.ietf.org>; Wed, 9 Oct 2002 09:15:18 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA14666
	for <rddp-web-archive@ietf.org>; Wed, 9 Oct 2002 09:13:09 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g99DF6v20710;
	Wed, 9 Oct 2002 09:15:06 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g99DEsv20665
	for <rddp@optimus.ietf.org>; Wed, 9 Oct 2002 09:14:54 -0400
Received: from vieo.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA14657
	for <rddp@ietf.org>; Wed, 9 Oct 2002 09:12:43 -0400 (EDT)
Received: (from root@localhost)
	by vieo.com (8.11.2/8.11.2) id g99DEmN93200
	for rddp@ietf.org; Wed, 9 Oct 2002 08:14:48 -0500 (CDT)
	(envelope-from ahartmann@vieo.com)
Received: from calendar.vieo.com (calendar.vieo.com [10.1.0.4])
	by vieo.com (8.11.2/8.11.2) with ESMTP id g99DEkZ92970;
	Wed, 9 Oct 2002 08:14:46 -0500 (CDT)
	(envelope-from ahartmann@vieo.com)
Received: by calendar.vieo.com with Internet Mail Service (5.5.2653.19)
	id <TXNZ87F9>; Wed, 9 Oct 2002 08:14:46 -0500
Message-ID: <D0F93AA5352BD61188C300C04F794F54E21BBD@calendar.vieo.com>
From: Al Hartmann <ahartmann@vieo.com>
To: "'Julian Satran'" <Julian_Satran@il.ibm.com>,
        "'Renato Recio'"
	 <recio@us.ibm.com>
Cc: "'rddp@ietf.org'" <rddp@ietf.org>,
        "'rddp-admin@ietf.org'"
	 <rddp-admin@ietf.org>
Subject: RE: Fw: [rddp] STag validation semantics
Date: Wed, 9 Oct 2002 08:14:43 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
X-scanner: scanned by Inflex 1.0.10 - (http://pldaniels.com/inflex/)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

Julian,  Continuing this textbook discussion, security is based upon a trust
model, and trust relationships are determined at the ULP and/or application
levels.  So whatever "security envelope" mechanisms are potentially provided
by RDMAP would be controlled by ULP and/or application security policy.  Is
that accurate?

Alfred Hartmann, Ph.D. <mailto:ahartmann@vieo.com> 
VIEO, Inc. <http://www.vieo.com/>  
12401 Research Blvd.
Building 1, Suite 350
Austin, TX 78759
+1.512.257.3031, x267
VIEO:  The Adaptive Application Infrastructure Management (AAIM) Company
 


>  -----Original Message-----
>  From: Julian Satran [mailto:Julian_Satran@il.ibm.com]
>  Sent: Tuesday, October 08, 2002 6:35 PM
>  To: Renato Recio
>  Cc: rddp@ietf.org; rddp-admin@ietf.org
>  Subject: Re: Fw: [rddp] STag validation semantics
>  
>  
>  
>  Renato,
>  
>  I am sorry but I have to reiterate - protection is not security.
>  The PD mechanism you describe is a good approximation of the 
>  PD model found
>  in any undergraduate OS textbook.
>  
>  Applied to communicating parties it needs a "security 
>  envelope" insuring
>  that connections are protected in similar ways
>  and whatever has to be communicated about PDs is done 
>  properly (there must
>  be some knowledge about PDs that traverses the network).
>  
>  I am not claiming that this can't be done - only that none 
>  of the current
>  texts talks about it.
>  
>  Julo
>  
>  
>                                                               
>                                                               
>                         
>                        Renato                                 
>                                                               
>                         
>                        Recio/Austin/IBM@        To:       
>  rddp@ietf.org                                                
>                             
>                        IBMUS                    cc:           
>                                                               
>                         
>                        Sent by:                 Subject:  Re: 
>  Fw: [rddp] STag validation semantics                         
>                         
>                        rddp-admin@ietf.o                      
>                                                               
>                         
>                        rg                                     
>                                                               
>                         
>                                                               
>                                                               
>                         
>                                                               
>                                                               
>                         
>                        04/10/02 19:40                         
>                                                               
>                         
>                                                               
>                                                               
>                         
>  
>  
>  
>  
>  Julian,
>  
>  Regarding protection:
>  
>     Protecting an STag from being used on a connection which 
>  is not allowed
>  to use it is a problem that was solved even before IB.  The solution
>  consists of providing a *protection* mechanism for 
>  associating an STag with
>  a connection.  Lets call that mechanism a Protection Domain 
>  (PD).  The
>  semantics for the PD are:
>  
>   - A Protection Domain (PD) MUST be used to associate a RDMA 
>  Stream to an
>  STag.  Each RDMA Stream MUST be associated with one, and only one,
>  Protection Domain.  Each STag MUST be associated with one, 
>  and only one,
>  Protection Domain.  However, the same PD can be used on multiple RDMA
>  Streams and on multiple STags.
>  
>  - If the PD associated with an STag does not match the PD 
>  associated with
>  the RDMA Stream, RDMAP MUST terminate the RDMAP Stream using the
>  termination mechanism in section 6.8.
>  
>  Under this approach the RNIC (RDMA enable NIC) resource used 
>  to perform the
>  memory protection and translation process, based on the 
>  incoming STag and
>  TO,  only has to create one resource for *all* RDMA Streams 
>  that fall under
>  the same PD.  A ULP can then expose different portions of a 
>  single buffer
>  (that is referenced by a single STag) on multiple RDMA 
>  Streams and only the
>  RDMA Streams which share the same PD will have access to the 
>  buffer.  RDMA
>  Streams that do not share the same PD cannot access the buffer.
>  
>  An inferior approach would be to have:  An STag *MUST* only 
>  be valid on
>  one, and only one, RDMA Stream.  Why is this approach 
>  inferior?  Because it
>  either requires:
>  1.  The RNIC to have multiple memory protection and 
>  translation entries for
>  each buffer which a ULP wants to share across multiple RDMA Streams.
>  2.  The RNIC entry used to hold the memory protection and 
>  translation for
>  the buffer would need one additional chunk of state 
>  ("connection salt" as
>  you called it) for each RDMA Stream that the ULP wants to 
>  access the shared
>  buffer.
>  
>  So in my opinion,  the PD approach I described above is 
>  "sweeter" :{).
>  
>  BTW,  under the above approach,  a ULP *could* choose to 
>  make the STag
>  associated with a single RDMA Stream.
>  
>  BTW,  You may ask,  what ULPs would want to share buffers?  
>  Here is a list
>  of some of the top:
>  - Web servers that send the same content to many, many clients.
>  - File servers that provide many clients with read access to the same
>  files.
>  - Databases in a cluster or multi-tier server environment.
>  
>  
>  Regarding security:
>  
>  Obviously if a rogue endpoint can inject RDMA/DDP/Transport 
>  Segments into
>  the fabric,  all kinds of damage would result.  I believe 
>  iSCSI faces the
>  same problem.
>  
>  Thanks,
>  
>  Renato J Recio
>  Distinguished Engineer
>  IBM I/O Architecture and Technology
>  Tel 512-838-3685, T/L 678-3685
>  
>  
>  
>  
>                        "Julian Satran"
>  
>                        <Julian_Satran@il        To:       
>  rddp@ietf.org
>  
>                        .ibm.com>                cc:
>  
>                        Sent by:                 Subject:  Fw: 
>  [rddp] STag
>  validation semantics
>                        rddp-admin@ietf.o
>  
>                        rg
>  
>  
>  
>                        10/04/2002 09:52
>  
>                        AM
>  
>  
>  
>  
>  
>  
>  
>  
>  Renato,
>  
>  Perhaps the context is not right. But the IB design point is 
>  different from
>  IP.
>  And security is not protection. The type of attacks that have to be
>  considered in an IP network
>  are beyond protection.  The whole STag concept is weak if you have to
>  secure it and have no way to enforce it.
>  
>  Perhaps the session is the answer but sharing the same type 
>  of security
>  over all connections is not painless (even to specify).
>  But perhaps we should consider all other alternatives.
>  
>  If the ULP maintains a connection affinity (as iSCSI does) 
>  then limiting
>  the scope of an STag to a connection is painless even in 
>  face of recovery.
>  If the ULP needs a wider scope - and the RDMAP has no 
>  effective means to
>  police that - then it may want to give up the invalidation 
>  shortcut - but I
>  am afraid that even this will be frowned upon in some quarters.
>  
>  But I have real trouble understanding where limiting STag to 
>  a connection
>  will cause pain. Many an implementer may find ways to 
>  express within the
>  STag a "constant part" (the core-STag) and a "connection 
>  salt" and avoid
>  the whole issue of securing a session.
>  
>  Regards,
>  Julo
>  
>  
>      Renato Recio/Austin/IBM@IBMUS
>      Sent by: rddp-admin@ietf.org           To:        rddp@ietf.org
>                                             cc:
>                                             Subject:        
>  Re: [rddp] STag
>      01/10/02 16:12                 validation semantics
>  
>  
>  
>  
>  
>  
>  
>  
>  I agree with Caitlin and wanted to add another point.  In 
>  IB,  our view was
>  the ULP could associate the Protection Domain with a 
>  process.  For example,
>  the ULP could make the process id = the protection domain.  
>  If the ULP does
>  that, then one process cannot access the resources owned by another
>  process,  because they are protected by the PD.
>  
>  Thanks
>  
>  Renato J Recio
>  Distinguished Engineer
>  IBM I/O Architecture and Technology
>  Tel 512-838-3685, T/L 678-3685
>  
>  
>  
>  
>                       Caitlin Bestler
>  
>                       <caitlinb@rp.asom        To:       rddp@ietf.org
>  
>                       i.net>                   cc:
>  
>                       Sent by:                 Subject:  Re: 
>  [rddp] STag
>  validation semantics
>                       rddp-admin@ietf.o
>  
>                       rg
>  
>  
>  
>                       09/30/2002 08:05
>  
>                       PM
>  
>  
>  
>  
>  
>  
>  On 9/30/02, Mukund, Shridhar wrote:
>  
>  >
>  >Caitlin,
>  >
>  >Isn't it true that a connection can be associated with
>  >multiple protection domains at the same time?
>  >
>  >Are you assuming otherwise? Why?
>  >
>  
>  
>  The Protection Domain model I was referring to comes from
>  InfiniBand. Each QP(connection) is associated with exactly
>  one Protection Domain. Each R-Key(STag) is also associated
>  with exactly one Protection Domain. An R-Key with the 'wrong
>  Protection Domain' for a QP is rejected.
>  
>  This requires far less NIC-accessible table space, and fewer
>  cycles, to validate than a generalized validating lookup on
>  the QP/R-Key combination.
>  
>  
>  Caitlin Bestler
>  http://asomi.com/CaitlinBestler/
>  _______________________________________________
>  rddp mailing list
>  rddp@ietf.org
>  https://www1.ietf.org/mailman/listinfo/rddp
>  
>  
>  
>  
>  
>  _______________________________________________
>  rddp mailing list
>  rddp@ietf.org
>  https://www1.ietf.org/mailman/listinfo/rddp
>  
>  
>  
>  
>  
>  _______________________________________________
>  rddp mailing list
>  rddp@ietf.org
>  https://www1.ietf.org/mailman/listinfo/rddp
>  
>  
>  
>  _______________________________________________
>  rddp mailing list
>  rddp@ietf.org
>  https://www1.ietf.org/mailman/listinfo/rddp
>  
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Wed Oct  9 23:38:38 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA12349
	for <rddp-archive@odin.ietf.org>; Wed, 9 Oct 2002 23:38:38 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9A3eMu04984
	for rddp-archive@odin.ietf.org; Wed, 9 Oct 2002 23:40:22 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9A3eMv04981
	for <rddp-web-archive@optimus.ietf.org>; Wed, 9 Oct 2002 23:40:22 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA12346
	for <rddp-web-archive@ietf.org>; Wed, 9 Oct 2002 23:38:07 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9A3eAv04971;
	Wed, 9 Oct 2002 23:40:10 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9A3e0v04924
	for <rddp@optimus.ietf.org>; Wed, 9 Oct 2002 23:40:00 -0400
Received: from thebe.your-site.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA12343
	for <rddp@ietf.org>; Wed, 9 Oct 2002 23:37:45 -0400 (EDT)
Received: from 192.168.0.210 (208-41-143-203.client.dsl.net [208.41.143.203])
	by thebe.your-site.com (Postfix) with ESMTP
	id 74A3F2D826; Wed,  9 Oct 2002 23:39:49 -0400 (EDT)
Date: Wed,  9 Oct 2002 22:39:50 -0500
From: Caitlin Bestler <cait@asomi.com>
Subject: Re: Fw: [rddp] STag validation semantics
To: rddp@ietf.org
Cc: Julian Satran <Julian_Satran@il.ibm.com>
X-Priority: 3
In-Reply-To: <OF4F10A2D3.22839E91-ONC2256C4C.008088AF-C2256C4C.00818AC8@telaviv.ibm.com>
Message-ID: <r01050300-1015-EE9F082BDC0111D69A53000393814604@[192.168.0.210]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

> 
> Renato,
> 
> I am sorry but I have to reiterate - protection is not security. The
> PD mechanism you describe is a good approximation of the PD model
> found in any undergraduate OS textbook.
> 
> Applied to communicating parties it needs a "security envelope"
> insuring that connections are protected in similar ways and whatever
> has to be communicated about PDs is done properly (there must be some
> knowledge about PDs that traverses the network).
> 
> I am not claiming that this can't be done - only that none of the
> current texts talks about it.
> 

Is there anything other than documentation that you feel needs to be
added regarding Protection Domains? If so, I'm not sure what you
are requesting be added.

STags are delivered as part of ULP buffer advertisements. The scope
of their validity must be part of that advertising. Since buffer
advertisement is a ULP issue, there is no need to coummicate
anything about Protection Domains between ULP peers. The only
requirement is that the advertiser exercise its local interface
in a mannner that is consistent with what it advertised.

What the local interface must offer is the ability to create a 
set of connections (where we are calling that set a Protection
Domain), create and delete STags that are valid for that set
(Protection Domain), and to add or drop connections to the set.

To simplify implementation, it is further proposed that any STag
belongs to at most one Protection Domain, and that each connection
belong to exactly one Proection Domain.

The Protection Domain concept is a local interface concept which
guarantees the ability of a ULP to specifry multi-stream sessions
and allow simple session-wide buffer advertisements. As opposed
to simpler language of allowing STags to be made valid for "any"
set of streams, it can be implemented with very simple RNIC
data structures.

The current draft is, in my reading, ambiguous. It can be read
to be compatible with an STag that MUST have the scope of one
connection, with the Protection Domain approach, or that the
ULP MUST be able to associate any STag with any stream. Do
you have a different preference for resolving this other than
the Protection Domain model?

 
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Wed Oct  9 23:39:33 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA12371
	for <rddp-archive@odin.ietf.org>; Wed, 9 Oct 2002 23:39:33 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9A3fHP05034
	for rddp-archive@odin.ietf.org; Wed, 9 Oct 2002 23:41:17 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9A3fGv05031
	for <rddp-web-archive@optimus.ietf.org>; Wed, 9 Oct 2002 23:41:16 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA12366
	for <rddp-web-archive@ietf.org>; Wed, 9 Oct 2002 23:39:02 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9A3f1v05020;
	Wed, 9 Oct 2002 23:41:01 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9A3ewv05006
	for <rddp@optimus.ietf.org>; Wed, 9 Oct 2002 23:40:58 -0400
Received: from thebe.your-site.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA12363
	for <rddp@ietf.org>; Wed, 9 Oct 2002 23:38:43 -0400 (EDT)
Received: from 192.168.0.210 (208-41-143-203.client.dsl.net [208.41.143.203])
	by thebe.your-site.com (Postfix) with ESMTP
	id C849C2D981; Wed,  9 Oct 2002 23:40:46 -0400 (EDT)
Date: Wed,  9 Oct 2002 22:40:48 -0500
From: Caitlin Bestler <cait@asomi.com>
Subject: RE: [rddp] STag validation semantics 
To: rddp@ietf.org
Cc: "Mukund, Shridhar" <Shridhar_Mukund@adaptec.com>
X-Priority: 3
In-Reply-To: <AD1F046251DCD311BA6F0020484037670446A3EA@aimexc02.corp.adaptec.com>
Message-ID: <r01050300-1015-10CF9A51DC0211D69A53000393814604@[192.168.0.210]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Shridhar_Mukund@adaptec.com wrote:

> 
> PD is only *one of the* elements that along with other
> protection elements addresses the said security issue in
> the context of IB.
> 
> Other elements include:
>   1. Memory Windows - allows the application to dynamically
>      grant access to different remote agents and limit
>      that access to only the memory needed by those remote
>      agents : Different access control domains within the same PD.
>   2. P_Key - Partitions allow setting up of access bounds.
>   3. Q_Key - identifies remote QP; prevents improper access.
>   4. M_Keys, B_Keys, CFM_Keys, RDD ... ? 
> 

These are all relevant, and likely to have their equivalents on
any reliable transport that DDP/RDMAP is caried over. The goal
is to define the absolute *minimum* that must be guaranteed
to ensure interoperability.

Hence *most* STags will indeed be something *very* equivalent
to InfiniBand R-Keys. However they could be as minimal as a token
that invoked a bounds check on the virtual address, with no
further mapping of the "virtual" address implied.

A buffer advertisement consists of an STag, base address and size.
Other than the fact that this buffer actually has 'size' distinct bytes
and can be accessed using the STag / address combinations that fall
within it, there is nothing that the remote peer needs or is entitled
to know.

What is proposed is that additionally, we know that through some 
otherwise unspecified local interface that the ULP can control
exactly what local memory is to be exposed by this STag, and it
may control what set of streams it can be used upon.

Howver, it is not *any* set of streams. It is a set of streams
that belong to a ULP session, and hence assigned a common Protection
Domain. Typically, each Protection Domain would represent one
local OS 'process', but it could be more tightly drawn, such
as one user session being handled by that process or even a
single data stream. The scope is under ULP control.

P_Keys and M_Keys, or their equivalents, are part of configuring RNICs.
If they exist for this transport they are pure LLP issues. Hence, if
there is VLAN enforcement, that is handled by the LLP and/or L2 layers.
It is not visible to the RDMA/DDP layers. The ULP may choose to be
aware of it should it so choose. Generally the point of VLAN / P-Key
and similar schemes is for the applications *not* to be aware of it,
however. The goal is to create a virtual interface with a more limited
scope.

> There are two distinct types of R-Keys. One associated with 
> memory regions obtained through the expensive process of
> memory registration, typically obtained once on start-up by
> the application: Region-R-Key. The other type that *IB recommends*
> for remote access is associated with Memory Windows and is 
> obtained through a simple process of memory binding: Window-R-Key.
> Memory Window inherits the PD of it's parent Memory Region
> but *has it's own access control*.
> 

Those are two methods of providing meaning to an STag. It would
not surprise me if this exact interface is selected by many
implementations. But those are local interface details that do
not have to be specified to ensure interoperability.

Application portability is a valid concern, but I do not believe
it is a goal of this working group. There are also excellent
solutions for RDMA applications to have portable APIs via the
Direct Access Transport Collaboratie (http://www.datcollaborative.org)
and the Open Group. Those groups are attempting to define a common
user level API. DAT already has APIs published. Nothing proposed
in the current drafts is incompatible with those APIs, although
automatic tag invalidation would be a new feature not yet
supported in the APIs.

> DDP STag needs to represent both types of R-Keys. Each R-Key,
> (hence STag) may represent an independent access domain(say AD). 
> 
> Before data placament, merely checking if the DDP stream and STag 
> belong to the same PD is not good enough. Multiple ADs(R-Keys) may
> be associated with every DDP stream. In order to close the security 
> gap, we need to *explicitly allow* STags on DDP Streams. 
> 
The data structures to support explicit STag/stream pairing would be
far more extensive that comparing each to a Protection Domain.

These data structures must be accessible to the RNIC, or more likely
stored upon it. Making large amounts of data accessible to the RNIC
for calculation at wire speed is not a trivial matter. That is why
anyone designing an RNIC will prefer the Protection Domain option
to an any-to-any mapping.

Further the Protection Domain solution allows a group of streams to
representing a single session to share their STags. But it does not
require any wider exposure.

The wider any-to-any mapping makes for simpler language, but more
complex implementations. I cannot think of any ULP scenario that
would truly require this capability.

Allowing the same STags to be used over multiple streams in the
same ULP sessin, by contrast, is clearly desirable. It avoids
complex error-prone coding at the application layer.

It also minimizes the risk that redundant mapping resources will
be declared to support the same window for each stream (although
that *could* be solved seperately).

> I am not sure, but DAFS may want to explicitly allow the 
> same STag on two DDP streams. There may however be an
> efficiency issue with explicitly allowing an STag on
> all DDP streams, but then ...
> 
I could see including language that placing all STags in
the same Protection Domain by default SHOULD NOT be the 
default.

However, there are limited resource embedded environments
where such an engineering tradeoff would be valid. The
farthest we should go is mandating that the ULP MUST have
the ability to create multiple Protection Domains. How
many is "enough" is a question best left to the market.
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 10 15:34:52 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA21028
	for <rddp-archive@odin.ietf.org>; Thu, 10 Oct 2002 15:34:52 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9AJaX231521
	for rddp-archive@odin.ietf.org; Thu, 10 Oct 2002 15:36:33 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AJaXv31518
	for <rddp-web-archive@optimus.ietf.org>; Thu, 10 Oct 2002 15:36:33 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA21014
	for <rddp-web-archive@ietf.org>; Thu, 10 Oct 2002 15:34:21 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AJaDv31500;
	Thu, 10 Oct 2002 15:36:13 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AJZwv31461
	for <rddp@optimus.ietf.org>; Thu, 10 Oct 2002 15:35:58 -0400
Received: from petasus.ch.intel.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA20989
	for <rddp@ietf.org>; Thu, 10 Oct 2002 15:33:46 -0400 (EDT)
Received: from fmsmsxvs043.fm.intel.com (fmsmsxvs043.fm.intel.com [132.233.42.129])
	by petasus.ch.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.46 2002/09/23 20:41:22 dmccart Exp $) with SMTP id g9AJbQ308589
	for <rddp@ietf.org>; Thu, 10 Oct 2002 19:37:26 GMT
Received: from fmsmsx26.fm.intel.com ([132.233.42.26])
 by fmsmsxvs043.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002101012341200161
 for <rddp@ietf.org>; Thu, 10 Oct 2002 12:34:12 -0700
Received: by fmsmsx26.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <S62K6SBB>; Thu, 10 Oct 2002 12:35:52 -0700
Message-ID: <D9223EB959A5D511A98F00508B68C20C06BC51B0@orsmsx108.jf.intel.com>
From: "Larsen, Roy K" <roy.k.larsen@intel.com>
To: "'rddp@ietf.org'" <rddp@ietf.org>
Subject: [rddp]  Clarification on DDP segmentation
Date: Thu, 10 Oct 2002 12:35:47 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

The draft is ambiguous as to whether the DDP layer may send DDP message
segments out of order to the LLP.  The draft does explicitly deal with OOO
segments on receive but only as it applies to a "rototilled" implementation
with the implication being that reordering has been done by the fabric.
However, in describing the Last Flag bit in section 6.1, the sentence:

"The DDP Segment with the L bit set to 1 MUST be posted to the LLP after all
other DDP Segments...."

This implies that DDP may send segments OOO to the LLP.  In any case, I
would like to see one of the following statements added to section 7.2:

"The Data Source MUST deliver segments of a DDP message to the LLP in
order."

or

"The Data Source MAY deliver segments of a DDP message to the LLP in any
order with the exception of the DDP segment with the L bit set which MUST be
the last segment sent to the LLP."

Non-rototilled implementations (particularly hybrid RNIC solutions) can take
advantage of an in-order DDP segment semantic so it is important that the
draft be clear on this subject.

Roy
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 10 17:24:36 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA24570
	for <rddp-archive@odin.ietf.org>; Thu, 10 Oct 2002 17:24:36 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9ALQJI05985
	for rddp-archive@odin.ietf.org; Thu, 10 Oct 2002 17:26:19 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ALQJv05982
	for <rddp-web-archive@optimus.ietf.org>; Thu, 10 Oct 2002 17:26:19 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA24559
	for <rddp-web-archive@ietf.org>; Thu, 10 Oct 2002 17:24:05 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ALQ3v05974;
	Thu, 10 Oct 2002 17:26:03 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ALPtv05959
	for <rddp@optimus.ietf.org>; Thu, 10 Oct 2002 17:25:55 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA24532
	for <rddp@ietf.org>; Thu, 10 Oct 2002 17:23:41 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9ALQLc29069;
	Thu, 10 Oct 2002 16:26:21 -0500
Date: Thu, 10 Oct 2002 16:25:47 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: Re: [rddp]  Clarification on DDP segmentation
To: rddp@ietf.org
cc: "Larsen, Roy K" <roy.k.larsen@intel.com>
X-Priority: 3
In-Reply-To: <D9223EB959A5D511A98F00508B68C20C06BC51B0@orsmsx108.jf.intel.com>
Message-ID: <r01050300-1015-D7F0FC20DC9611D6BC79003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/10/02, Larsen, Roy K wrote:

>The draft is ambiguous as to whether the DDP layer may
>send DDP message segments out of order to the LLP.  The
>draft does explicitly deal with OOO segments on receive
>but only as it applies to a "rototilled" implementation
>with the implication being that reordering has been done
>by the fabric. However, in describing the Last Flag bit in
>section 6.1, the sentence:
>
>"The DDP Segment with the L bit set to 1 MUST be posted to
>the LLP after all other DDP Segments...."
>
>This implies that DDP may send segments OOO to the LLP. 
>In any case, I would like to see one of the following
>statements added to section 7.2:
>
>"The Data Source MUST deliver segments of a DDP message to
>the LLP in order."
>
>or
>
>"The Data Source MAY deliver segments of a DDP message to
>the LLP in any order with the exception of the DDP segment
>with the L bit set which MUST be the last segment sent to
>the LLP."
>
>Non-rototilled implementations (particularly hybrid RNIC
>solutions) can take advantage of an in-order DDP segment
>semantic so it is important that the draft be clear on
>this subject.
>
>Roy

The phrase "in order" here begs the question. Normally, 
DDP segment ordering is *defined* by the order in which
they were presented to the LLP.

If you want to specify the first option, it would probably
make more sense to require that the Message Offsets (MO)
must increase with each segment.

The draft already requires that the entire message be
delivered. About the only other possible requirement
would be to mandate that each byte of the message be
placed in *exactly* one DDP segment (as opposed to
at least one).

It shouldn't make a difference to the Data Sink anyway.
If its checking the offsets on successive messages then
its wasting cycles. There is a valid reason why the highest
offset must be in the last segment, it makes calculation
of the message size very simple.

The only benefit I can think of for mandating the others 
to be in sort ascending order is to make things easier
for packet sniffers.

But I agree, it might be nice to highlight that warning
so that nobody builds an RNIC that rejects out-of-order
segments that were otherwise valid. Requiring that they
be sent in order is also equally valid. Unlike tagged
messages, there is no need to generate untagged message
segments out of order.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 10 18:32:34 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA25993
	for <rddp-archive@odin.ietf.org>; Thu, 10 Oct 2002 18:32:34 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9AMYGO09142
	for rddp-archive@odin.ietf.org; Thu, 10 Oct 2002 18:34:16 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AMYFv09139
	for <rddp-web-archive@optimus.ietf.org>; Thu, 10 Oct 2002 18:34:15 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA25982
	for <rddp-web-archive@ietf.org>; Thu, 10 Oct 2002 18:32:03 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AMY3v09130;
	Thu, 10 Oct 2002 18:34:03 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AMXcv09114
	for <rddp@optimus.ietf.org>; Thu, 10 Oct 2002 18:33:38 -0400
Received: from caduceus.fm.intel.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA25979
	for <rddp@ietf.org>; Thu, 10 Oct 2002 18:31:25 -0400 (EDT)
Received: from petasus.fm.intel.com (petasus.fm.intel.com [10.1.192.37])
	by caduceus.fm.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id g9AMTjG07300
	for <rddp@ietf.org>; Thu, 10 Oct 2002 22:29:45 GMT
Received: from fmsmsxvs041.fm.intel.com (fmsmsxvs041.fm.intel.com [132.233.42.126])
	by petasus.fm.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.26 2002/10/10 20:36:29 dmccart Exp $) with SMTP id g9AMTni20053
	for <rddp@ietf.org>; Thu, 10 Oct 2002 22:29:49 GMT
Received: from FMSMSX017.fm.intel.com ([132.233.42.196])
 by fmsmsxvs041.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002101015321615526
 ; Thu, 10 Oct 2002 15:32:16 -0700
Received: by fmsmsx017.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <TB2R07Q0>; Thu, 10 Oct 2002 15:33:30 -0700
Message-ID: <D9223EB959A5D511A98F00508B68C20C06BC51B1@orsmsx108.jf.intel.com>
From: "Larsen, Roy K" <roy.k.larsen@intel.com>
To: "'Caitlin Bestler'" <caitlinb@rp.asomi.net>, rddp@ietf.org
Cc: "Larsen, Roy K" <roy.k.larsen@intel.com>
Subject: RE: [rddp]  Clarification on DDP segmentation
Date: Thu, 10 Oct 2002 15:32:59 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

See embedded comments...

> -----Original Message-----
> From: Caitlin Bestler [mailto:caitlinb@rp.asomi.net]
> Sent: Thursday, October 10, 2002 2:26 PM
> To: rddp@ietf.org
> Cc: Larsen, Roy K
> Subject: Re: [rddp] Clarification on DDP segmentation
> 
> 
> On 10/10/02, Larsen, Roy K wrote:
> 
> >The draft is ambiguous as to whether the DDP layer may
> >send DDP message segments out of order to the LLP.  The
> >draft does explicitly deal with OOO segments on receive
> >but only as it applies to a "rototilled" implementation
> >with the implication being that reordering has been done
> >by the fabric. However, in describing the Last Flag bit in
> >section 6.1, the sentence:
> >
> >"The DDP Segment with the L bit set to 1 MUST be posted to
> >the LLP after all other DDP Segments...."
> >
> >This implies that DDP may send segments OOO to the LLP. 
> >In any case, I would like to see one of the following
> >statements added to section 7.2:
> >
> >"The Data Source MUST deliver segments of a DDP message to
> >the LLP in order."
> >
> >or
> >
> >"The Data Source MAY deliver segments of a DDP message to
> >the LLP in any order with the exception of the DDP segment
> >with the L bit set which MUST be the last segment sent to
> >the LLP."
> >
> >Non-rototilled implementations (particularly hybrid RNIC
> >solutions) can take advantage of an in-order DDP segment
> >semantic so it is important that the draft be clear on
> >this subject.
> >
> >Roy
> 
> The phrase "in order" here begs the question. Normally, 
> DDP segment ordering is *defined* by the order in which
> they were presented to the LLP.
> 
> If you want to specify the first option, it would probably
> make more sense to require that the Message Offsets (MO)
> must increase with each segment.
> 
> The draft already requires that the entire message be
> delivered. About the only other possible requirement
> would be to mandate that each byte of the message be
> placed in *exactly* one DDP segment (as opposed to
> at least one).
> 

Wow, I hadn't even considered that it could be valid to send overlapping DDP
segments from a single ULP message.

> It shouldn't make a difference to the Data Sink anyway.
> If its checking the offsets on successive messages then
> its wasting cycles. There is a valid reason why the highest
> offset must be in the last segment, it makes calculation
> of the message size very simple.
> 

You lost me there.  If DDP segments of an ULP message can be sent in
non-assending MO order, the Data Sink MUST be checking the offsets of
successive messages to know where to place them.  And it shouldn't matter
when the last segment is sent because it is indicated with the L bit.  Why
would it matter if you knew the length before you received all the segments?
In a rototilled implementation, it could still be processed OOO regardless
of when it was sent by the Data Source to the LLP.

> The only benefit I can think of for mandating the others 
> to be in sort ascending order is to make things easier
> for packet sniffers.
> 

There are RNIC environments that will do DDP/MPA processing employing an
in-order TCP service (non-rototilled).  If the DDP protocol constrained the
Data Source to sending non-overlapping, ascending-only message offset DDP
segments to the LLP, MPA header/marker and DDP header processing can be
simplified.

> But I agree, it might be nice to highlight that warning
> so that nobody builds an RNIC that rejects out-of-order
> segments that were otherwise valid. Requiring that they
> be sent in order is also equally valid. Unlike tagged
> messages, there is no need to generate untagged message
> segments out of order.

Although I lean toward an "in-order" send constraint to the LLP (only
because it is how I presume virtually all DDP/RDMA layer will implement it
anyway), it is not a strong conviction.  I do believe, however, that the
draft MUST be explicit on what is and is not allowable with respect to DDP
segmentation.  It is these sorts of subtle ambiguities that cause erroneous
assumptions resulting in interoperability problems.

Roy

> 
> Caitlin Bestler
> http://asomi.com/CaitlinBestler/
> 
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 10 18:59:28 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA26499
	for <rddp-archive@odin.ietf.org>; Thu, 10 Oct 2002 18:59:28 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9AN1Ar10503
	for rddp-archive@odin.ietf.org; Thu, 10 Oct 2002 19:01:10 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AN1Av10500
	for <rddp-web-archive@optimus.ietf.org>; Thu, 10 Oct 2002 19:01:10 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA26494
	for <rddp-web-archive@ietf.org>; Thu, 10 Oct 2002 18:58:57 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AN11v10489;
	Thu, 10 Oct 2002 19:01:01 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AN0Tv10459
	for <rddp@optimus.ietf.org>; Thu, 10 Oct 2002 19:00:29 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA26476
	for <rddp@ietf.org>; Thu, 10 Oct 2002 18:58:15 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9AN0rc29366;
	Thu, 10 Oct 2002 18:00:53 -0500
Date: Thu, 10 Oct 2002 18:00:19 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: [rddp]  Clarification on DDP segmentation
To: rddp@ietf.org
cc: "Larsen, Roy K" <roy.k.larsen@intel.com>
X-Priority: 3
In-Reply-To: <D9223EB959A5D511A98F00508B68C20C06BC51B1@orsmsx108.jf.intel.com>
Message-ID: <r01050300-1015-0CAA2836DCA411D6BC79003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/10/02, Larsen, Roy K wrote:

>See embedded comments...
>

>> 
>> The phrase "in order" here begs the question. Normally,
>> DDP segment ordering is *defined* by the order in which
>> they were presented to the LLP.
>> 
>> If you want to specify the first option, it would
>> probably make more sense to require that the Message
>> Offsets (MO) must increase with each segment.
>> 
>> The draft already requires that the entire message be
>> delivered. About the only other possible requirement
>> would be to mandate that each byte of the message be
>> placed in *exactly* one DDP segment (as opposed to
>> at least one).
>> 
>
>Wow, I hadn't even considered that it could be valid to
>send overlapping DDP segments from a single ULP message.
>

The one scenario I can think of would actually involve
redundant transmissions. It is far more likely with tagged
transfers, but concievably could happen with untagged as
well as that some protocols allow for both RDMA and
'in-line' delivery of data.

Basically, in an embedded device level environment, the
ULP may have a custom local interface to 'send' not from
RAM but directly from some form of persistent storage.
In such an environment it might decide that it needed
to retry a read after shipping the first segments.

I did work on a project that interfaced ATA drives
directly to a switch fabric in a single FPGA. Even
in *that* minimal environment the entire sector was
read, and validated, before the cells were sent.
But we *could* have sent the first cell earlier.
So it is a possible scenario.

Obscure, yes. It's more likely that it would be a test
specifically designed to emberrass a competitor's RNIC.



>> It shouldn't make a difference to the Data Sink anyway.
>> If its checking the offsets on successive messages then
>> its wasting cycles. There is a valid reason why the
>> highest offset must be in the last segment, it makes
>> calculation of the message size very simple.
>> 
>
>You lost me there.  If DDP segments of an ULP message can
>be sent in non-assending MO order, the Data Sink MUST be
>checking the offsets of successive messages to know where
>to place them.  And it shouldn't matter when the last
>segment is sent because it is indicated with the L bit. 
>Why would it matter if you knew the length before you
>received all the segments? In a rototilled implementation,
>it could still be processed OOO regardless of when it was
>sent by the Data Source to the LLP.
>
Each Message Offset must be used in placing the packet.
However there is no need for the RNIC to remember what has
been placed previously. The sender *must* send the entire
message, therefore there can be no gaps. The sender *must*
place the highest MO in the final segment, therefore the
receiver can determine the size of the entire message from
the last segment alone.

There is no need to checkerboard or otherwise validate the
incoming segments, other than the previously mentioned
analyzing sniffer.

>> The only benefit I can think of for mandating the others 
>> to be in sort ascending order is to make things easier
>> for packet sniffers.
>> 
>
>There are RNIC environments that will do DDP/MPA
>processing employing an in-order TCP service
>(non-rototilled).  If the DDP protocol constrained the
>Data Source to sending non-overlapping, ascending-only
>message offset DDP segments to the LLP, MPA header/marker
>and DDP header processing can be simplified.
>

Each message received from the TCP layer can still be
processed, no matter what order the Message Offsets are in.
The receiver should not be using the MOs as some sort of
additional validity/sequencing check on the framing. That
layer is supposed to be part of the LLP.

>> But I agree, it might be nice to highlight that warning
>> so that nobody builds an RNIC that rejects out-of-order
>> segments that were otherwise valid. Requiring that they
>> be sent in order is also equally valid. Unlike tagged
>> messages, there is no need to generate untagged message
>> segments out of order.
>
>Although I lean toward an "in-order" send constraint to
>the LLP (only because it is how I presume virtually all
>DDP/RDMA layer will implement it anyway), it is not a
>strong conviction.  I do believe, however, that the draft
>MUST be explicit on what is and is not allowable with
>respect to DDP segmentation.  It is these sorts of subtle
>ambiguities that cause erroneous assumptions resulting in
>interoperability problems.
>

Philosophically I prefer absolute minimums in specs. However
this is a no-lose option. Whether it is permissable to send
them out of order or not, sending segments in Message Offset
order is the easiest most natural implementation anyway. And
the simplest most natural implementation of the receiver
won't care what the message offset of  any segment is in
other than the last one. It will simply place the message
at that offset (validating only that it fits within the
bounds of the target buffer).

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 10 19:03:27 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA26572
	for <rddp-archive@odin.ietf.org>; Thu, 10 Oct 2002 19:03:27 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9AN59g10644
	for rddp-archive@odin.ietf.org; Thu, 10 Oct 2002 19:05:09 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AN59v10641
	for <rddp-web-archive@optimus.ietf.org>; Thu, 10 Oct 2002 19:05:09 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA26568
	for <rddp-web-archive@ietf.org>; Thu, 10 Oct 2002 19:02:56 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AN51v10632;
	Thu, 10 Oct 2002 19:05:01 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9AN4Pv10601
	for <rddp@optimus.ietf.org>; Thu, 10 Oct 2002 19:04:25 -0400
Received: from mx01-a.netapp.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA26537
	for <rddp@ietf.org>; Thu, 10 Oct 2002 19:02:12 -0400 (EDT)
Received: from frejya.corp.netapp.com (frejya [10.10.20.91])
	by mx01-a.netapp.com (8.12.3/8.12.3/NTAP-1.4) with ESMTP id g9AN4Hl7024115
	for <rddp@ietf.org>; Thu, 10 Oct 2002 16:04:17 -0700 (PDT)
Received: from tmt.netapp.com ([10.58.48.129])
	by frejya.corp.netapp.com (8.12.5/8.12.2/NTAP-1.4) with ESMTP id g9AN4EGf004024
	for <rddp@ietf.org>; Thu, 10 Oct 2002 16:04:16 -0700 (PDT)
Message-Id: <5.1.1.6.2.20021010154002.025a4968@red.nane.netapp.com>
Date: Thu, 10 Oct 2002 15:47:21 -0700
To: rddp@ietf.org
From: "Talpey, Thomas" <Thomas.Talpey@netapp.com>
Subject: Re: [rddp]  Clarification on DDP segmentation
In-Reply-To: <D9223EB959A5D511A98F00508B68C20C06BC51B0@orsmsx108.jf.inte
 l.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

The draft is unambiguous on the issue that counts - that the L bit is
set only on the final segment, where final is defined by the transport's
ordering. DDP implicitly depends on this ordering to "deliver" its
messages to RDMAP - it has no ordering of its own. So, it requires
that the L bit is injected last, but it actually doesn't matter what order
the other segments have. TCP semantics will guarantee that all their
payloads reach remote memory before the L bit causes signalling.

Certainly, most implementations will choose to inject segments
in a monotonically increasing sequence. This is an implementation
decision though, not required by the protocol.

Tom.

At 12:35 PM 10/10/2002, Larsen, Roy K wrote:
>The draft is ambiguous as to whether the DDP layer may send DDP message
>segments out of order to the LLP.  The draft does explicitly deal with OOO
>segments on receive but only as it applies to a "rototilled" implementation
>with the implication being that reordering has been done by the fabric.
>However, in describing the Last Flag bit in section 6.1, the sentence:
>
>"The DDP Segment with the L bit set to 1 MUST be posted to the LLP after all
>other DDP Segments...."
>
>This implies that DDP may send segments OOO to the LLP.  In any case, I
>would like to see one of the following statements added to section 7.2:
>
>"The Data Source MUST deliver segments of a DDP message to the LLP in
>order."
>
>or
>
>"The Data Source MAY deliver segments of a DDP message to the LLP in any
>order with the exception of the DDP segment with the L bit set which MUST be
>the last segment sent to the LLP."
>
>Non-rototilled implementations (particularly hybrid RNIC solutions) can take
>advantage of an in-order DDP segment semantic so it is important that the
>draft be clear on this subject.
>
>Roy
>_______________________________________________
>rddp mailing list
>rddp@ietf.org
>https://www1.ietf.org/mailman/listinfo/rddp

_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 11 08:16:26 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA18412
	for <rddp-archive@odin.ietf.org>; Fri, 11 Oct 2002 08:16:25 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9BCI4522321
	for rddp-archive@odin.ietf.org; Fri, 11 Oct 2002 08:18:04 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9BCI4v22318
	for <rddp-web-archive@optimus.ietf.org>; Fri, 11 Oct 2002 08:18:04 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA18397
	for <rddp-web-archive@ietf.org>; Fri, 11 Oct 2002 08:15:54 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9BCG7v22181;
	Fri, 11 Oct 2002 08:16:07 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9BCFGv22145
	for <rddp@optimus.ietf.org>; Fri, 11 Oct 2002 08:15:16 -0400
Received: from d12lmsgate-2.de.ibm.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA18268;
	Fri, 11 Oct 2002 08:13:05 -0400 (EDT)
Received: from d12relay02.de.ibm.com (d12relay02.de.ibm.com [9.165.215.23])
	by d12lmsgate-2.de.ibm.com (8.12.3/8.12.3) with ESMTP id g9BCFAlR023082;
	Fri, 11 Oct 2002 14:15:10 +0200
Received: from d10hubm1.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay02.de.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g9BCF6hW082830;
	Fri, 11 Oct 2002 14:15:07 +0200
In-Reply-To: <r01050300-1015-0CAA2836DCA411D6BC79003065D48EE0@[192.168.0.2]>
To: Caitlin Bestler <caitlinb@rp.asomi.net>
Cc: rddp@ietf.org, rddp-admin@ietf.org,
        "Larsen, Roy K" <roy.k.larsen@intel.com>
MIME-Version: 1.0
Subject: RE: [rddp]  Clarification on DDP segmentation
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: "Julian Satran" <Julian_Satran@il.ibm.com>
Message-ID: <OFD31CB781.8ECE9B35-ONC2256C4F.004252F7-C2256C4F.00434C5B@telaviv.ibm.com>
Date: Fri, 11 Oct 2002 14:15:03 +0200
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 11/10/2002 14:15:07,
	Serialize complete at 11/10/2002 14:15:07
Content-Type: multipart/alternative; boundary="=_alternative 0043052EC2256C4F_="
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

This is a multipart message in MIME format.
--=_alternative 0043052EC2256C4F_=
Content-Type: text/plain; charset="US-ASCII"

You won't have to check addresses and you must rely on the sender (data 
source) to have all the data (no scoreborading needed). But you will have 
to check carefully all the offsets and lengths to make sure that they are 
within the bounds of the memory associated with the data sink STag.

The results in case of overlapping may be somewhat unpredictable is the 
data changes.

Julo




Caitlin Bestler <caitlinb@rp.asomi.net>
Sent by: rddp-admin@ietf.org
11/10/02 01:00
 
        To:     rddp@ietf.org
        cc:     "Larsen, Roy K" <roy.k.larsen@intel.com>
        Subject:        RE: [rddp]  Clarification on DDP segmentation

 

On 10/10/02, Larsen, Roy K wrote:

>See embedded comments...
>

>> 
>> The phrase "in order" here begs the question. Normally,
>> DDP segment ordering is *defined* by the order in which
>> they were presented to the LLP.
>> 
>> If you want to specify the first option, it would
>> probably make more sense to require that the Message
>> Offsets (MO) must increase with each segment.
>> 
>> The draft already requires that the entire message be
>> delivered. About the only other possible requirement
>> would be to mandate that each byte of the message be
>> placed in *exactly* one DDP segment (as opposed to
>> at least one).
>> 
>
>Wow, I hadn't even considered that it could be valid to
>send overlapping DDP segments from a single ULP message.
>

The one scenario I can think of would actually involve
redundant transmissions. It is far more likely with tagged
transfers, but concievably could happen with untagged as
well as that some protocols allow for both RDMA and
'in-line' delivery of data.

Basically, in an embedded device level environment, the
ULP may have a custom local interface to 'send' not from
RAM but directly from some form of persistent storage.
In such an environment it might decide that it needed
to retry a read after shipping the first segments.

I did work on a project that interfaced ATA drives
directly to a switch fabric in a single FPGA. Even
in *that* minimal environment the entire sector was
read, and validated, before the cells were sent.
But we *could* have sent the first cell earlier.
So it is a possible scenario.

Obscure, yes. It's more likely that it would be a test
specifically designed to emberrass a competitor's RNIC.



>> It shouldn't make a difference to the Data Sink anyway.
>> If its checking the offsets on successive messages then
>> its wasting cycles. There is a valid reason why the
>> highest offset must be in the last segment, it makes
>> calculation of the message size very simple.
>> 
>
>You lost me there.  If DDP segments of an ULP message can
>be sent in non-assending MO order, the Data Sink MUST be
>checking the offsets of successive messages to know where
>to place them.  And it shouldn't matter when the last
>segment is sent because it is indicated with the L bit. 
>Why would it matter if you knew the length before you
>received all the segments? In a rototilled implementation,
>it could still be processed OOO regardless of when it was
>sent by the Data Source to the LLP.
>
Each Message Offset must be used in placing the packet.
However there is no need for the RNIC to remember what has
been placed previously. The sender *must* send the entire
message, therefore there can be no gaps. The sender *must*
place the highest MO in the final segment, therefore the
receiver can determine the size of the entire message from
the last segment alone.

There is no need to checkerboard or otherwise validate the
incoming segments, other than the previously mentioned
analyzing sniffer.

>> The only benefit I can think of for mandating the others 
>> to be in sort ascending order is to make things easier
>> for packet sniffers.
>> 
>
>There are RNIC environments that will do DDP/MPA
>processing employing an in-order TCP service
>(non-rototilled).  If the DDP protocol constrained the
>Data Source to sending non-overlapping, ascending-only
>message offset DDP segments to the LLP, MPA header/marker
>and DDP header processing can be simplified.
>

Each message received from the TCP layer can still be
processed, no matter what order the Message Offsets are in.
The receiver should not be using the MOs as some sort of
additional validity/sequencing check on the framing. That
layer is supposed to be part of the LLP.

>> But I agree, it might be nice to highlight that warning
>> so that nobody builds an RNIC that rejects out-of-order
>> segments that were otherwise valid. Requiring that they
>> be sent in order is also equally valid. Unlike tagged
>> messages, there is no need to generate untagged message
>> segments out of order.
>
>Although I lean toward an "in-order" send constraint to
>the LLP (only because it is how I presume virtually all
>DDP/RDMA layer will implement it anyway), it is not a
>strong conviction.  I do believe, however, that the draft
>MUST be explicit on what is and is not allowable with
>respect to DDP segmentation.  It is these sorts of subtle
>ambiguities that cause erroneous assumptions resulting in
>interoperability problems.
>

Philosophically I prefer absolute minimums in specs. However
this is a no-lose option. Whether it is permissable to send
them out of order or not, sending segments in Message Offset
order is the easiest most natural implementation anyway. And
the simplest most natural implementation of the receiver
won't care what the message offset of  any segment is in
other than the last one. It will simply place the message
at that offset (validating only that it fits within the
bounds of the target buffer).

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp


--=_alternative 0043052EC2256C4F_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">You won't have to check addresses and
you must rely on the sender (data source) to have all the data (no scoreborading
needed). But you will have to check carefully all the offsets and lengths
to make sure that they are within the bounds of the memory associated with
the data sink STag.</font>
<br>
<br><font size=2 face="sans-serif">The results in case of overlapping may
be somewhat unpredictable is the data changes.</font>
<br>
<br><font size=2 face="sans-serif">Julo</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Caitlin Bestler &lt;caitlinb@rp.asomi.net&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: rddp-admin@ietf.org</font>
<p><font size=1 face="sans-serif">11/10/02 01:00</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;rddp@ietf.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;&quot;Larsen, Roy K&quot; &lt;roy.k.larsen@intel.com&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;RE: [rddp] &nbsp;Clarification on DDP
segmentation</font>
<br>
<br><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp;</font></table>
<br>
<br><font size=2><tt>On 10/10/02, Larsen, Roy K wrote:<br>
<br>
&gt;See embedded comments...<br>
&gt;<br>
<br>
&gt;&gt; <br>
&gt;&gt; The phrase &quot;in order&quot; here begs the question. Normally,<br>
&gt;&gt; DDP segment ordering is *defined* by the order in which<br>
&gt;&gt; they were presented to the LLP.<br>
&gt;&gt; <br>
&gt;&gt; If you want to specify the first option, it would<br>
&gt;&gt; probably make more sense to require that the Message<br>
&gt;&gt; Offsets (MO) must increase with each segment.<br>
&gt;&gt; <br>
&gt;&gt; The draft already requires that the entire message be<br>
&gt;&gt; delivered. About the only other possible requirement<br>
&gt;&gt; would be to mandate that each byte of the message be<br>
&gt;&gt; placed in *exactly* one DDP segment (as opposed to<br>
&gt;&gt; at least one).<br>
&gt;&gt; <br>
&gt;<br>
&gt;Wow, I hadn't even considered that it could be valid to<br>
&gt;send overlapping DDP segments from a single ULP message.<br>
&gt;<br>
<br>
The one scenario I can think of would actually involve<br>
redundant transmissions. It is far more likely with tagged<br>
transfers, but concievably could happen with untagged as<br>
well as that some protocols allow for both RDMA and<br>
'in-line' delivery of data.<br>
<br>
Basically, in an embedded device level environment, the<br>
ULP may have a custom local interface to 'send' not from<br>
RAM but directly from some form of persistent storage.<br>
In such an environment it might decide that it needed<br>
to retry a read after shipping the first segments.<br>
<br>
I did work on a project that interfaced ATA drives<br>
directly to a switch fabric in a single FPGA. Even<br>
in *that* minimal environment the entire sector was<br>
read, and validated, before the cells were sent.<br>
But we *could* have sent the first cell earlier.<br>
So it is a possible scenario.<br>
<br>
Obscure, yes. It's more likely that it would be a test<br>
specifically designed to emberrass a competitor's RNIC.<br>
<br>
<br>
<br>
&gt;&gt; It shouldn't make a difference to the Data Sink anyway.<br>
&gt;&gt; If its checking the offsets on successive messages then<br>
&gt;&gt; its wasting cycles. There is a valid reason why the<br>
&gt;&gt; highest offset must be in the last segment, it makes<br>
&gt;&gt; calculation of the message size very simple.<br>
&gt;&gt; <br>
&gt;<br>
&gt;You lost me there. &nbsp;If DDP segments of an ULP message can<br>
&gt;be sent in non-assending MO order, the Data Sink MUST be<br>
&gt;checking the offsets of successive messages to know where<br>
&gt;to place them. &nbsp;And it shouldn't matter when the last<br>
&gt;segment is sent because it is indicated with the L bit. <br>
&gt;Why would it matter if you knew the length before you<br>
&gt;received all the segments? In a rototilled implementation,<br>
&gt;it could still be processed OOO regardless of when it was<br>
&gt;sent by the Data Source to the LLP.<br>
&gt;<br>
Each Message Offset must be used in placing the packet.<br>
However there is no need for the RNIC to remember what has<br>
been placed previously. The sender *must* send the entire<br>
message, therefore there can be no gaps. The sender *must*<br>
place the highest MO in the final segment, therefore the<br>
receiver can determine the size of the entire message from<br>
the last segment alone.<br>
<br>
There is no need to checkerboard or otherwise validate the<br>
incoming segments, other than the previously mentioned<br>
analyzing sniffer.<br>
<br>
&gt;&gt; The only benefit I can think of for mandating the others <br>
&gt;&gt; to be in sort ascending order is to make things easier<br>
&gt;&gt; for packet sniffers.<br>
&gt;&gt; <br>
&gt;<br>
&gt;There are RNIC environments that will do DDP/MPA<br>
&gt;processing employing an in-order TCP service<br>
&gt;(non-rototilled). &nbsp;If the DDP protocol constrained the<br>
&gt;Data Source to sending non-overlapping, ascending-only<br>
&gt;message offset DDP segments to the LLP, MPA header/marker<br>
&gt;and DDP header processing can be simplified.<br>
&gt;<br>
<br>
Each message received from the TCP layer can still be<br>
processed, no matter what order the Message Offsets are in.<br>
The receiver should not be using the MOs as some sort of<br>
additional validity/sequencing check on the framing. That<br>
layer is supposed to be part of the LLP.<br>
<br>
&gt;&gt; But I agree, it might be nice to highlight that warning<br>
&gt;&gt; so that nobody builds an RNIC that rejects out-of-order<br>
&gt;&gt; segments that were otherwise valid. Requiring that they<br>
&gt;&gt; be sent in order is also equally valid. Unlike tagged<br>
&gt;&gt; messages, there is no need to generate untagged message<br>
&gt;&gt; segments out of order.<br>
&gt;<br>
&gt;Although I lean toward an &quot;in-order&quot; send constraint to<br>
&gt;the LLP (only because it is how I presume virtually all<br>
&gt;DDP/RDMA layer will implement it anyway), it is not a<br>
&gt;strong conviction. &nbsp;I do believe, however, that the draft<br>
&gt;MUST be explicit on what is and is not allowable with<br>
&gt;respect to DDP segmentation. &nbsp;It is these sorts of subtle<br>
&gt;ambiguities that cause erroneous assumptions resulting in<br>
&gt;interoperability problems.<br>
&gt;<br>
<br>
Philosophically I prefer absolute minimums in specs. However<br>
this is a no-lose option. Whether it is permissable to send<br>
them out of order or not, sending segments in Message Offset<br>
order is the easiest most natural implementation anyway. And<br>
the simplest most natural implementation of the receiver<br>
won't care what the message offset of &nbsp;any segment is in<br>
other than the last one. It will simply place the message<br>
at that offset (validating only that it fits within the<br>
bounds of the target buffer).<br>
<br>
Caitlin Bestler<br>
http://asomi.com/CaitlinBestler/<br>
_______________________________________________<br>
rddp mailing list<br>
rddp@ietf.org<br>
https://www1.ietf.org/mailman/listinfo/rddp<br>
</tt></font>
<br>
--=_alternative 0043052EC2256C4F_=--
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 11 10:52:35 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA24354
	for <rddp-archive@odin.ietf.org>; Fri, 11 Oct 2002 10:52:35 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9BEsFk30309
	for rddp-archive@odin.ietf.org; Fri, 11 Oct 2002 10:54:15 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9BEsFv30306
	for <rddp-web-archive@optimus.ietf.org>; Fri, 11 Oct 2002 10:54:15 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA24326
	for <rddp-web-archive@ietf.org>; Fri, 11 Oct 2002 10:52:04 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9BEs6v30293;
	Fri, 11 Oct 2002 10:54:06 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9BErkv30256
	for <rddp@optimus.ietf.org>; Fri, 11 Oct 2002 10:53:46 -0400
Received: from thebe.your-site.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA24317
	for <rddp@ietf.org>; Fri, 11 Oct 2002 10:51:34 -0400 (EDT)
Received: from sjb (208-41-143-203.client.dsl.net [208.41.143.203])
	by thebe.your-site.com (Postfix) with ESMTP
	id ABDD22D8B6; Fri, 11 Oct 2002 10:53:41 -0400 (EDT)
Message-ID: <000801c27136$3c3e8c60$cb00a8c0@asomi.net>
From: "Caitlin Bestler" <cait@asomi.com>
To: <rddp@ietf.org>
Cc: "Julian Satran" <Julian_Satran@il.ibm.com>,
        "Larsen, Roy K" <roy.k.larsen@intel.com>
References: <OFD31CB781.8ECE9B35-ONC2256C4F.004252F7-C2256C4F.00434C5B@telaviv.ibm.com>
Subject: Re: [rddp]  Clarification on DDP segmentation
Date: Fri, 11 Oct 2002 09:55:25 -0500
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


----- Original Message -----
From: Julian Satran
To: Caitlin Bestler
Cc: rddp@ietf.org ; rddp-admin@ietf.org ; Larsen, Roy K
Sent: Friday, October 11, 2002 7:15 AM
Subject: RE: [rddp] Clarification on DDP segmentation



You won't have to check addresses and you must rely on the sender (data
source) to have all the data (no scoreborading needed). But you will have to
check carefully all the offsets and lengths to make sure that they are
within the bounds of the memory associated with the data sink STag.

The results in case of overlapping may be somewhat unpredictable is the data
changes.

-----------------------------------

Correct, redundant placements within an unfenced sequence will be
non-deterministic
as to which value will end up in the target memory. (And of course there is
no way to
fence within a single untagged message). The Data Source SHOULD NOT send
contradictory data, and it MUST NOT rely on the latter data superceding the
data it had sent earlier.

Which, now that I think about it more, means that there is absolutely no
valid reason
for sending the same data twice. The "corrected" data placement cannot be
relied
upon to be placed later than the original placement. Therefore, there would
be no
harm in elevating "should not" send contradictory redundant placements to
"must not".
In either case, the receiver does not need to be doing score-boarding, but
since it
would merely be wasting its own CPU cycles there is no need to include even
a
"should not" about it.


_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 17 17:53:14 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA27253
	for <rddp-archive@odin.ietf.org>; Thu, 17 Oct 2002 17:53:14 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9HLt2923576
	for rddp-archive@odin.ietf.org; Thu, 17 Oct 2002 17:55:02 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9HLt2v23573
	for <rddp-web-archive@optimus.ietf.org>; Thu, 17 Oct 2002 17:55:02 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA27224
	for <rddp-web-archive@ietf.org>; Thu, 17 Oct 2002 17:52:42 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9HLsMv23558;
	Thu, 17 Oct 2002 17:54:22 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9HLrAv23504
	for <rddp@optimus.ietf.org>; Thu, 17 Oct 2002 17:53:10 -0400
Received: from magic.adaptec.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA27114
	for <rddp@ietf.org>; Thu, 17 Oct 2002 17:50:50 -0400 (EDT)
Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11] (may be forged))
	by magic.adaptec.com (8.10.2+Sun/8.10.2) with ESMTP id g9HLr2526201;
	Thu, 17 Oct 2002 14:53:02 -0700 (PDT)
Received: from aimexc02.adaptec.com (aimexc02.corp.adaptec.com [162.62.62.40])
	by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id OAA09464;
	Thu, 17 Oct 2002 14:53:02 -0700 (PDT)
Received: by aimexc02.corp.adaptec.com with Internet Mail Service (5.5.2653.19)
	id <TT6BD9KK>; Thu, 17 Oct 2002 14:53:02 -0700
Message-ID: <AD1F046251DCD311BA6F0020484037670446A406@aimexc02.corp.adaptec.com>
From: "Mukund, Shridhar" <Shridhar_Mukund@adaptec.com>
To: "'Renato Recio'" <recio@us.ibm.com>, rddp@ietf.org
Subject: RE: Fw: [rddp] STag validation semantics
Date: Thu, 17 Oct 2002 14:52:51 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>


Renato,

Some thoughts on the DDP draft:

1. DDP (RDDP?) draft needs to stand on it's own without depending on 
   either RDMAP draft or the MPA draft. For instance a ULP like 
   iSCSI *may* want to ride on DDP without requiring RDMAP. For that 
   matter it should be valid to implement a DNIC(DDP NIC) instead of 
   a RNIC. I hope we agree there.

2. Please introduce the notion of DDP-STag vs. ULP-STag(RDMAP-STag). 
   This seems to be the source for much confusion. Further more, the 
   two layers DDP and RDMAC(or another ULP of DDP) associate different 
   meanings to them.

   * DDP-STag = RDMAP-STag is just an artifact of RDMAP implementation.
     Only when the ULP consumer wants to sink remote data, it needs to
     bring DDP-STag into existence. 
     For iSCSI over DDP, may be DDP-STag = ITT or TTT.

   * It is the DDP-STag that needs to be scrutinized rigorously 
     against IP-related attacks.(Granted, ULP-STag will be subject to 
     other attacks outside the scope of IPSec)

   * You cited applications such as file/web servers that need to give 
     read access to the world. Those ULP-STags will not map down to 
     DDP-STags on the wire! ULP may define broader scope for ULP-STag
     and find ways to enforce it.

   * As Caitlin/Julian alluded elsewhere, some may find innovative ways 
     of using DDP-STags including DDP-STag = foo(ULP-STag,...)to provide 
     useful functions/features. ... sure, let's keep things simple 
     for RDMAP other than recognizing the difference for documentation.

3. Since buffers(security critical resources) are modified by the DDP
   layer, the security envelope should be stretched into the DDP layer.
   (Granted, the ULP creates & controls that envelope). 
   * Most verbiage in your email refers to RDMAP instead of DDP.
   * Postponing security checks to RDMAP/ULP layer while the 
     underlying layer(DDP) modifies secure resources does not sound 
     like a good design choice.( I believe it is not intended )

4. If IPSec is used for security against malicious data placement 
   then all connections within a PD MUST be secured at the same level 
   of IPSec *connection* security( SA relationships and related language
   as the security envelope moves further from TCP connection ... ). 
   - But for the above, we give a FALSE sense of security to remote
     clients who choose to protect their connection using IPSec 
     but are still exposed to attacks from packet injection on other 
     insecure connections within the PD.  
   
   Alternatively, we could state that IPSec CANNOT be used to secure 
   against malicious data placement. I think that may not fly. Note 
   that the last sentence in section 10.2 of DDP draft actually implies 
   this.
 

Thanks.

-Shridhar Mukund

> -----Original Message-----
> From: Renato Recio [mailto:recio@us.ibm.com]
> Sent: Friday, October 04, 2002 9:40 AM
> To: rddp@ietf.org
> Subject: Re: Fw: [rddp] STag validation semantics
> 
> 
> 
> Julian,
> 
> Regarding protection:
> 
>    Protecting an STag from being used on a connection which 
> is not allowed
> to use it is a problem that was solved even before IB.  The solution
> consists of providing a *protection* mechanism for 
> associating an STag with
> a connection.  Lets call that mechanism a Protection Domain (PD).  The
> semantics for the PD are:
> 
>  - A Protection Domain (PD) MUST be used to associate a RDMA 
> Stream to an
> STag.  Each RDMA Stream MUST be associated with one, and only one,
> Protection Domain.  Each STag MUST be associated with one, 
> and only one,
> Protection Domain.  However, the same PD can be used on multiple RDMA
> Streams and on multiple STags.
> 
> - If the PD associated with an STag does not match the PD 
> associated with
> the RDMA Stream, RDMAP MUST terminate the RDMAP Stream using the
> termination mechanism in section 6.8.
> 
> Under this approach the RNIC (RDMA enable NIC) resource used 
> to perform the
> memory protection and translation process, based on the 
> incoming STag and
> TO,  only has to create one resource for *all* RDMA Streams 
> that fall under
> the same PD.  A ULP can then expose different portions of a 
> single buffer
> (that is referenced by a single STag) on multiple RDMA 
> Streams and only the
> RDMA Streams which share the same PD will have access to the 
> buffer.  RDMA
> Streams that do not share the same PD cannot access the buffer.
> 
> An inferior approach would be to have:  An STag *MUST* only 
> be valid on
> one, and only one, RDMA Stream.  Why is this approach 
> inferior?  Because it
> either requires:
> 1.  The RNIC to have multiple memory protection and 
> translation entries for
> each buffer which a ULP wants to share across multiple RDMA Streams.
> 2.  The RNIC entry used to hold the memory protection and 
> translation for
> the buffer would need one additional chunk of state 
> ("connection salt" as
> you called it) for each RDMA Stream that the ULP wants to 
> access the shared
> buffer.
> 
> So in my opinion,  the PD approach I described above is "sweeter" :{).
> 
> BTW,  under the above approach,  a ULP *could* choose to make the STag
> associated with a single RDMA Stream.
> 
> BTW,  You may ask,  what ULPs would want to share buffers?  
> Here is a list
> of some of the top:
> - Web servers that send the same content to many, many clients.
> - File servers that provide many clients with read access to the same
> files.
> - Databases in a cluster or multi-tier server environment.
> 
> 
> Regarding security:
> 
> Obviously if a rogue endpoint can inject RDMA/DDP/Transport 
> Segments into
> the fabric,  all kinds of damage would result.  I believe 
> iSCSI faces the
> same problem.
> 
> Thanks,
> 
> Renato J Recio
> Distinguished Engineer
> IBM I/O Architecture and Technology
> Tel 512-838-3685, T/L 678-3685
> 
> 
> 
>                                                               
>                                                           
>                       "Julian Satran"                         
>                                                           
>                       <Julian_Satran@il        To:       
> rddp@ietf.org                                                  
>                       .ibm.com>                cc:            
>                                                           
>                       Sent by:                 Subject:  Fw: 
> [rddp] STag validation semantics                           
>                       rddp-admin@ietf.o                       
>                                                           
>                       rg                                      
>                                                           
>                                                               
>                                                           
>                                                               
>                                                           
>                       10/04/2002 09:52                        
>                                                           
>                       AM                                      
>                                                           
>                                                               
>                                                           
>                                                               
>                                                           
> 
> 
> 
> 
> 
> Renato,
> 
> Perhaps the context is not right. But the IB design point is 
> different from
> IP.
> And security is not protection. The type of attacks that have to be
> considered in an IP network
> are beyond protection.  The whole STag concept is weak if you have to
> secure it and have no way to enforce it.
> 
> Perhaps the session is the answer but sharing the same type 
> of security
> over all connections is not painless (even to specify).
> But perhaps we should consider all other alternatives.
> 
> If the ULP maintains a connection affinity (as iSCSI does) 
> then limiting
> the scope of an STag to a connection is painless even in face 
> of recovery.
> If the ULP needs a wider scope - and the RDMAP has no 
> effective means to
> police that - then it may want to give up the invalidation 
> shortcut - but I
> am afraid that even this will be frowned upon in some quarters.
> 
> But I have real trouble understanding where limiting STag to 
> a connection
> will cause pain. Many an implementer may find ways to express 
> within the
> STag a "constant part" (the core-STag) and a "connection 
> salt" and avoid
> the whole issue of securing a session.
> 
> Regards,
> Julo
> 
>                                                               
>              
>     Renato Recio/Austin/IBM@IBMUS                             
>              
>     Sent by: rddp-admin@ietf.org           To:        
> rddp@ietf.org        
>                                            cc:                
>              
>                                            Subject:        
> Re: [rddp] STag 
>     01/10/02 16:12                 validation semantics       
>              
>                                                               
>              
>                                                               
>              
>                                                               
>              
> 
> 
> 
> 
> 
> I agree with Caitlin and wanted to add another point.  In IB, 
>  our view was
> the ULP could associate the Protection Domain with a process. 
>  For example,
> the ULP could make the process id = the protection domain.  
> If the ULP does
> that, then one process cannot access the resources owned by another
> process,  because they are protected by the PD.
> 
> Thanks
> 
> Renato J Recio
> Distinguished Engineer
> IBM I/O Architecture and Technology
> Tel 512-838-3685, T/L 678-3685
> 
> 
> 
> 
>                      Caitlin Bestler
> 
>                      <caitlinb@rp.asom        To:       rddp@ietf.org
> 
>                      i.net>                   cc:
> 
>                      Sent by:                 Subject:  Re: 
> [rddp] STag
> validation semantics
>                      rddp-admin@ietf.o
> 
>                      rg
> 
> 
> 
>                      09/30/2002 08:05
> 
>                      PM
> 
> 
> 
> 
> 
> 
> On 9/30/02, Mukund, Shridhar wrote:
> 
> >
> >Caitlin,
> >
> >Isn't it true that a connection can be associated with
> >multiple protection domains at the same time?
> >
> >Are you assuming otherwise? Why?
> >
> 
> 
> The Protection Domain model I was referring to comes from
> InfiniBand. Each QP(connection) is associated with exactly
> one Protection Domain. Each R-Key(STag) is also associated
> with exactly one Protection Domain. An R-Key with the 'wrong
> Protection Domain' for a QP is rejected.
> 
> This requires far less NIC-accessible table space, and fewer
> cycles, to validate than a generalized validating lookup on
> the QP/R-Key combination.
> 
> 
> Caitlin Bestler
> http://asomi.com/CaitlinBestler/
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
> 
> 
> 
> 
> 
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
> 
> 
> 
> 
> 
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
> 
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 17 18:16:26 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27820
	for <rddp-archive@odin.ietf.org>; Thu, 17 Oct 2002 18:16:25 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9HMIEP24874
	for rddp-archive@odin.ietf.org; Thu, 17 Oct 2002 18:18:14 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9HMIEv24871
	for <rddp-web-archive@optimus.ietf.org>; Thu, 17 Oct 2002 18:18:14 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27800
	for <rddp-web-archive@ietf.org>; Thu, 17 Oct 2002 18:15:54 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9HMI2v24860;
	Thu, 17 Oct 2002 18:18:02 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9HMHNv24839
	for <rddp@optimus.ietf.org>; Thu, 17 Oct 2002 18:17:23 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27776
	for <rddp@ietf.org>; Thu, 17 Oct 2002 18:15:04 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9HMIEc21793;
	Thu, 17 Oct 2002 17:18:14 -0500
Date: Thu, 17 Oct 2002 17:17:14 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: Fw: [rddp] STag validation semantics
To: rddp@ietf.org
cc: "'Renato Recio'" <recio@us.ibm.com>,
        "Mukund, Shridhar" <Shridhar_Mukund@adaptec.com>
X-Priority: 3
In-Reply-To: <AD1F046251DCD311BA6F0020484037670446A406@aimexc02.corp.adaptec.com>
Message-ID: <r01050300-1015-30FDBAB6E21E11D6A664003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/17/02, Mukund, Shridhar wrote:


>
>4. If IPSec is used for security against malicious data
> placement then all connections within a PD MUST be
> secured at the same level of IPSec *connection* security(
> SA relationships and related language as the security
> envelope moves further from TCP connection ... ). - But
> for the above, we give a FALSE sense of security to
> remote clients who choose to protect their connection
> using IPSec but are still exposed to attacks from packet
> injection on other insecure connections within the PD.  
>   
> Alternatively, we could state that IPSec CANNOT be used
> to secure against malicious data placement. I think that
> may not fly. Note that the last sentence in section 10.2
> of DDP draft actually implies this.
> 

The ULP already controls which LLP transport is used for
each stream, and which PD each stream is associated with.

The DDP layer, by contrast, does not create LLP connections
and in a cleanly layered implemenation would not even know
whether the LLP was secure or not.

Therefore, as valid as this guideline is, it would be the
ULP itself that is in position to enforce it. And since 
the ULP would only be harming itself when it chose not
to follow it, there is no reason for this to be anything
more than a strongly recomended practice.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 17 18:59:27 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA28775
	for <rddp-archive@odin.ietf.org>; Thu, 17 Oct 2002 18:59:27 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9HN1GD26583
	for rddp-archive@odin.ietf.org; Thu, 17 Oct 2002 19:01:16 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9HN1Gv26580
	for <rddp-web-archive@optimus.ietf.org>; Thu, 17 Oct 2002 19:01:16 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA28772
	for <rddp-web-archive@ietf.org>; Thu, 17 Oct 2002 18:58:56 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9HN16v26572;
	Thu, 17 Oct 2002 19:01:06 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9HN0Ev26539
	for <rddp@optimus.ietf.org>; Thu, 17 Oct 2002 19:00:14 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA28749
	for <rddp@ietf.org>; Thu, 17 Oct 2002 18:57:54 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9HN14c21918;
	Thu, 17 Oct 2002 18:01:04 -0500
Date: Thu, 17 Oct 2002 18:00:04 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: Fw: [rddp] STag validation semantics
To: rddp@ietf.org
cc: "'Renato Recio'" <recio@us.ibm.com>,
        "Mukund, Shridhar" <Shridhar_Mukund@adaptec.com>
X-Priority: 3
In-Reply-To: <AD1F046251DCD311BA6F0020484037670446A406@aimexc02.corp.adaptec.com>
Message-ID: <r01050300-1015-2D1115CEE22411D6A664003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/17/02, Mukund, Shridhar wrote:

>
>Renato,
>
>Some thoughts on the DDP draft:
>
>1. DDP (RDDP?) draft needs to stand on it's own without
> depending on either RDMAP draft or the MPA draft. For
> instance a ULP like iSCSI *may* want to ride on DDP
> without requiring RDMAP. For that matter it should be
> valid to implement a DNIC(DDP NIC) instead of a RNIC. I
> hope we agree there.
>

I believe that is already implicit. Indeed, even when
offering RDMAP it would be quite legitimate to implement
RDMAP in the device driver rather than the NIC.

And yes, in addition to working without RDMAP, one of the
other goals would be to enable other alternate layers just
above DDP.

>2. Please introduce the notion of DDP-STag vs.
> ULP-STag(RDMAP-STag). This seems to be the source for
> much confusion. Further more, the two layers DDP and
> RDMAC(or another ULP of DDP) associate different meanings
> to them.
>
> * DDP-STag = RDMAP-STag is just an artifact of RDMAP
> implementation. Only when the ULP consumer wants to sink
> remote data, it needs to bring DDP-STag into existence.
> For iSCSI over DDP, may be DDP-STag = ITT or TTT.
>
> * It is the DDP-STag that needs to be scrutinized
> rigorously against IP-related attacks.(Granted, ULP-STag
> will be subject to other attacks outside the scope of
> IPSec)
>
> * You cited applications such as file/web servers that
> need to give read access to the world. Those ULP-STags
> will not map down to DDP-STags on the wire! ULP may
> define broader scope for ULP-STag and find ways to
> enforce it.
>
> * As Caitlin/Julian alluded elsewhere, some may find
> innovative ways of using DDP-STags including DDP-STag =
> foo(ULP-STag,...)to provide useful functions/features.
> ... sure, let's keep things simple for RDMAP other than
> recognizing the difference for documentation.
>

The STag already is a DDP creature. It is merely referenced
by the ULP and RMDAP. It is transalted, and placements are
made based upon it, by the DDP layer. In the abscence of a
contrary requirement for the local interface, the value
itself may be selected by the DDP layer (which is a omission
inherited from IB, where I believe it was deliberate).

However, unlike IB, the local semantics of an STag are
*very* open to local enhancement. The final set of drafts
will certainly include a requirement that the ULP be able
to create an STag with bounds that can reference a subset of
its already authorized/mapped memory. The local interface 
MAY allow other forms of STag creation as well.

Ultimately an STag is merely a handle which yields a bounded
range of addressable bytes, or something that behaves as
though they were a range of addressable bytes.


>3. Since buffers(security critical resources) are modified
> by the DDP layer, the security envelope should be
> stretched into the DDP layer. (Granted, the ULP creates &
> controls that envelope). 
> * Most verbiage in your email refers to RDMAP instead of
> DDP.
> * Postponing security checks to RDMAP/ULP layer while the
> underlying layer(DDP) modifies secure resources does not
> sound like a good design choice.( I believe it is not
> intended )
>

What sort of security are you looking for? A one-time key
to enable each transfer?

Why? The ULP can already limit an STag to a single
transaction. It can already deliver the buffer advertisement
within an encrypted message.

The only way to increase security of the STag beyond that
would be to make it larger, or to upgrade the mandate that
the key be made as pseudo-random as possible be upgraded
from a SHOULD to a MUST. Neither of these would seem to by
very much relative to the cost their implementation would
have.

Further, placing security mechanisms directly in the DDP
layer would actually undermine security in the long run.
Concentrating security mechanisms in the transport and ULP
layers encourages investment in those layer's mechanisms,
and ensures that DDP/RDMAP applications can easily apply
new developments made available at those layers without 
having to update all of the RNICs involved.

The bottom line on security is that the ULP already has
ful control over all of the following:

- how secure the LLP connection is.
- how secure the buffer advertisemet is.
- which STags are valid on which connections.
- when each STag is invalidated.

And all of that is achieved without requiring a single
cryptographic feature within the DDP or RDMAP engines.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 18 09:59:34 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA26716
	for <rddp-archive@odin.ietf.org>; Fri, 18 Oct 2002 09:59:34 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9IE1Ic17372
	for rddp-archive@odin.ietf.org; Fri, 18 Oct 2002 10:01:18 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IE1Iv17369
	for <rddp-web-archive@optimus.ietf.org>; Fri, 18 Oct 2002 10:01:18 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA26684
	for <rddp-web-archive@ietf.org>; Fri, 18 Oct 2002 09:59:02 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IE15v17351;
	Fri, 18 Oct 2002 10:01:05 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IE0fv17314
	for <rddp@optimus.ietf.org>; Fri, 18 Oct 2002 10:00:41 -0400
Received: from ztxmail03.ztx.compaq.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA26648
	for <rddp@ietf.org>; Fri, 18 Oct 2002 09:58:25 -0400 (EDT)
Received: from cceexg13.americas.cpqcorp.net (cceexg13.americas.cpqcorp.net [16.110.250.119])
	by ztxmail03.ztx.compaq.com (Postfix) with ESMTP
	id 9539F1CF4; Fri, 18 Oct 2002 09:00:37 -0500 (CDT)
Received: from cceexc18.americas.cpqcorp.net ([16.110.250.64]) by cceexg13.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966);
	 Fri, 18 Oct 2002 09:00:37 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: Fw: [rddp] STag validation semantics
Date: Fri, 18 Oct 2002 09:00:36 -0500
Message-ID: <4D027986353D1341ADA4F2A4F8A1707628687F75@cceexc18.americas.cpqcorp.net>
Thread-Topic: Fw: [rddp] STag validation semantics
Thread-Index: AcJ2KUygWWOPRM+pQY2Ayvizcjq/8gAgv6hg
From: "Culley, Paul" <Paul.Culley@hp.com>
To: "Mukund, Shridhar" <Shridhar_Mukund@adaptec.com>, <rddp@ietf.org>
X-OriginalArrivalTime: 18 Oct 2002 14:00:37.0379 (UTC) FILETIME=[BC354530:01C276AE]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by www1.ietf.org id g9IE0gv17315
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit

Please forgive Renato (and the other authors) for continued use of RDMA when discussing DDP STags.  Most of us don't really believe that anyone will use DDP without RDMA and are concentrating our efforts on getting the combination of DDP/RDMA and its upper interface to have a useful set of semantics and protections.  And most initial implementations will treat DDP/RDMA as a single monolithic entity, making any interface definitions between them unnecessary.  So, for these implementations, the ULP-STags ARE THE SAME as DDP-STags!

The original RDMA/DDP split was done because a few folks seemed to strongly believe that RDMA (specifically RDMA Read) was not necessary.  To attempt some level of forward progress, we created the split hoping that we would get just such feedback as we are now getting.

We would be happy to see a discussion get started on what exact changes you believe are necessary to the DDP document to make it more acceptable.

Paul R. Culley (Sr. Fellow)
Hewlett-Packard Company
281-514-5543



-----Original Message-----
From: Mukund, Shridhar [mailto:Shridhar_Mukund@adaptec.com]
Sent: Thursday, October 17, 2002 4:53 PM
To: 'Renato Recio'; rddp@ietf.org
Subject: RE: Fw: [rddp] STag validation semantics



Renato,

Some thoughts on the DDP draft:

1. DDP (RDDP?) draft needs to stand on it's own without depending on 
   either RDMAP draft or the MPA draft. For instance a ULP like 
   iSCSI *may* want to ride on DDP without requiring RDMAP. For that 
   matter it should be valid to implement a DNIC(DDP NIC) instead of 
   a RNIC. I hope we agree there.

2. Please introduce the notion of DDP-STag vs. ULP-STag(RDMAP-STag). 
   This seems to be the source for much confusion. Further more, the 
   two layers DDP and RDMAC(or another ULP of DDP) associate different 
   meanings to them.

   * DDP-STag = RDMAP-STag is just an artifact of RDMAP implementation.
     Only when the ULP consumer wants to sink remote data, it needs to
     bring DDP-STag into existence. 
     For iSCSI over DDP, may be DDP-STag = ITT or TTT.

   * It is the DDP-STag that needs to be scrutinized rigorously 
     against IP-related attacks.(Granted, ULP-STag will be subject to 
     other attacks outside the scope of IPSec)

   * You cited applications such as file/web servers that need to give 
     read access to the world. Those ULP-STags will not map down to 
     DDP-STags on the wire! ULP may define broader scope for ULP-STag
     and find ways to enforce it.

   * As Caitlin/Julian alluded elsewhere, some may find innovative ways 
     of using DDP-STags including DDP-STag = foo(ULP-STag,...)to provide 
     useful functions/features. ... sure, let's keep things simple 
     for RDMAP other than recognizing the difference for documentation.

3. Since buffers(security critical resources) are modified by the DDP
   layer, the security envelope should be stretched into the DDP layer.
   (Granted, the ULP creates & controls that envelope). 
   * Most verbiage in your email refers to RDMAP instead of DDP.
   * Postponing security checks to RDMAP/ULP layer while the 
     underlying layer(DDP) modifies secure resources does not sound 
     like a good design choice.( I believe it is not intended )

4. If IPSec is used for security against malicious data placement 
   then all connections within a PD MUST be secured at the same level 
   of IPSec *connection* security( SA relationships and related language
   as the security envelope moves further from TCP connection ... ). 
   - But for the above, we give a FALSE sense of security to remote
     clients who choose to protect their connection using IPSec 
     but are still exposed to attacks from packet injection on other 
     insecure connections within the PD.  
   
   Alternatively, we could state that IPSec CANNOT be used to secure 
   against malicious data placement. I think that may not fly. Note 
   that the last sentence in section 10.2 of DDP draft actually implies 
   this.
 

Thanks.

-Shridhar Mukund

> -----Original Message-----
> From: Renato Recio [mailto:recio@us.ibm.com]
> Sent: Friday, October 04, 2002 9:40 AM
> To: rddp@ietf.org
> Subject: Re: Fw: [rddp] STag validation semantics
> 
> 
> 
> Julian,
> 
> Regarding protection:
> 
>    Protecting an STag from being used on a connection which 
> is not allowed
> to use it is a problem that was solved even before IB.  The solution
> consists of providing a *protection* mechanism for 
> associating an STag with
> a connection.  Lets call that mechanism a Protection Domain (PD).  The
> semantics for the PD are:
> 
>  - A Protection Domain (PD) MUST be used to associate a RDMA 
> Stream to an
> STag.  Each RDMA Stream MUST be associated with one, and only one,
> Protection Domain.  Each STag MUST be associated with one, 
> and only one,
> Protection Domain.  However, the same PD can be used on multiple RDMA
> Streams and on multiple STags.
> 
> - If the PD associated with an STag does not match the PD 
> associated with
> the RDMA Stream, RDMAP MUST terminate the RDMAP Stream using the
> termination mechanism in section 6.8.
> 
> Under this approach the RNIC (RDMA enable NIC) resource used 
> to perform the
> memory protection and translation process, based on the 
> incoming STag and
> TO,  only has to create one resource for *all* RDMA Streams 
> that fall under
> the same PD.  A ULP can then expose different portions of a 
> single buffer
> (that is referenced by a single STag) on multiple RDMA 
> Streams and only the
> RDMA Streams which share the same PD will have access to the 
> buffer.  RDMA
> Streams that do not share the same PD cannot access the buffer.
> 
> An inferior approach would be to have:  An STag *MUST* only 
> be valid on
> one, and only one, RDMA Stream.  Why is this approach 
> inferior?  Because it
> either requires:
> 1.  The RNIC to have multiple memory protection and 
> translation entries for
> each buffer which a ULP wants to share across multiple RDMA Streams.
> 2.  The RNIC entry used to hold the memory protection and 
> translation for
> the buffer would need one additional chunk of state 
> ("connection salt" as
> you called it) for each RDMA Stream that the ULP wants to 
> access the shared
> buffer.
> 
> So in my opinion,  the PD approach I described above is "sweeter" :{).
> 
> BTW,  under the above approach,  a ULP *could* choose to make the STag
> associated with a single RDMA Stream.
> 
> BTW,  You may ask,  what ULPs would want to share buffers?  
> Here is a list
> of some of the top:
> - Web servers that send the same content to many, many clients.
> - File servers that provide many clients with read access to the same
> files.
> - Databases in a cluster or multi-tier server environment.
> 
> 
> Regarding security:
> 
> Obviously if a rogue endpoint can inject RDMA/DDP/Transport 
> Segments into
> the fabric,  all kinds of damage would result.  I believe 
> iSCSI faces the
> same problem.
> 
> Thanks,
> 
> Renato J Recio
> Distinguished Engineer
> IBM I/O Architecture and Technology
> Tel 512-838-3685, T/L 678-3685
> 
> 
> 
>                                                               
>                                                           
>                       "Julian Satran"                         
>                                                           
>                       <Julian_Satran@il        To:       
> rddp@ietf.org                                                  
>                       .ibm.com>                cc:            
>                                                           
>                       Sent by:                 Subject:  Fw: 
> [rddp] STag validation semantics                           
>                       rddp-admin@ietf.o                       
>                                                           
>                       rg                                      
>                                                           
>                                                               
>                                                           
>                                                               
>                                                           
>                       10/04/2002 09:52                        
>                                                           
>                       AM                                      
>                                                           
>                                                               
>                                                           
>                                                               
>                                                           
> 
> 
> 
> 
> 
> Renato,
> 
> Perhaps the context is not right. But the IB design point is 
> different from
> IP.
> And security is not protection. The type of attacks that have to be
> considered in an IP network
> are beyond protection.  The whole STag concept is weak if you have to
> secure it and have no way to enforce it.
> 
> Perhaps the session is the answer but sharing the same type 
> of security
> over all connections is not painless (even to specify).
> But perhaps we should consider all other alternatives.
> 
> If the ULP maintains a connection affinity (as iSCSI does) 
> then limiting
> the scope of an STag to a connection is painless even in face 
> of recovery.
> If the ULP needs a wider scope - and the RDMAP has no 
> effective means to
> police that - then it may want to give up the invalidation 
> shortcut - but I
> am afraid that even this will be frowned upon in some quarters.
> 
> But I have real trouble understanding where limiting STag to 
> a connection
> will cause pain. Many an implementer may find ways to express 
> within the
> STag a "constant part" (the core-STag) and a "connection 
> salt" and avoid
> the whole issue of securing a session.
> 
> Regards,
> Julo
> 
>                                                               
>              
>     Renato Recio/Austin/IBM@IBMUS                             
>              
>     Sent by: rddp-admin@ietf.org           To:        
> rddp@ietf.org        
>                                            cc:                
>              
>                                            Subject:        
> Re: [rddp] STag 
>     01/10/02 16:12                 validation semantics       
>              
>                                                               
>              
>                                                               
>              
>                                                               
>              
> 
> 
> 
> 
> 
> I agree with Caitlin and wanted to add another point.  In IB, 
>  our view was
> the ULP could associate the Protection Domain with a process. 
>  For example,
> the ULP could make the process id = the protection domain.  
> If the ULP does
> that, then one process cannot access the resources owned by another
> process,  because they are protected by the PD.
> 
> Thanks
> 
> Renato J Recio
> Distinguished Engineer
> IBM I/O Architecture and Technology
> Tel 512-838-3685, T/L 678-3685
> 
> 
> 
> 
>                      Caitlin Bestler
> 
>                      <caitlinb@rp.asom        To:       rddp@ietf.org
> 
>                      i.net>                   cc:
> 
>                      Sent by:                 Subject:  Re: 
> [rddp] STag
> validation semantics
>                      rddp-admin@ietf.o
> 
>                      rg
> 
> 
> 
>                      09/30/2002 08:05
> 
>                      PM
> 
> 
> 
> 
> 
> 
> On 9/30/02, Mukund, Shridhar wrote:
> 
> >
> >Caitlin,
> >
> >Isn't it true that a connection can be associated with
> >multiple protection domains at the same time?
> >
> >Are you assuming otherwise? Why?
> >
> 
> 
> The Protection Domain model I was referring to comes from
> InfiniBand. Each QP(connection) is associated with exactly
> one Protection Domain. Each R-Key(STag) is also associated
> with exactly one Protection Domain. An R-Key with the 'wrong
> Protection Domain' for a QP is rejected.
> 
> This requires far less NIC-accessible table space, and fewer
> cycles, to validate than a generalized validating lookup on
> the QP/R-Key combination.
> 
> 
> Caitlin Bestler
> http://asomi.com/CaitlinBestler/
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
> 
> 
> 
> 
> 
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
> 
> 
> 
> 
> 
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
> 
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 18 14:37:27 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA06366
	for <rddp-archive@odin.ietf.org>; Fri, 18 Oct 2002 14:37:27 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9IIdDD01954
	for rddp-archive@odin.ietf.org; Fri, 18 Oct 2002 14:39:13 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IIdDv01951
	for <rddp-web-archive@optimus.ietf.org>; Fri, 18 Oct 2002 14:39:13 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA06362
	for <rddp-web-archive@ietf.org>; Fri, 18 Oct 2002 14:36:56 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IIY5v01227;
	Fri, 18 Oct 2002 14:34:05 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IIXWv01147
	for <rddp@optimus.ietf.org>; Fri, 18 Oct 2002 14:33:32 -0400
Received: from magic.adaptec.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA06219
	for <rddp@ietf.org>; Fri, 18 Oct 2002 14:31:15 -0400 (EDT)
Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11] (may be forged))
	by magic.adaptec.com (8.10.2+Sun/8.10.2) with ESMTP id g9IIXP512419;
	Fri, 18 Oct 2002 11:33:25 -0700 (PDT)
Received: from aimexc02.adaptec.com (aimexc02.corp.adaptec.com [162.62.62.40])
	by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id LAA11269;
	Fri, 18 Oct 2002 11:33:21 -0700 (PDT)
Received: by aimexc02.corp.adaptec.com with Internet Mail Service (5.5.2653.19)
	id <TT6BD0ZR>; Fri, 18 Oct 2002 11:33:21 -0700
Message-ID: <AD1F046251DCD311BA6F0020484037670446A408@aimexc02.corp.adaptec.com>
From: "Mukund, Shridhar" <Shridhar_Mukund@adaptec.com>
To: "'Caitlin Bestler'" <caitlinb@rp.asomi.net>, rddp@ietf.org
Cc: "'Renato Recio'" <recio@us.ibm.com>,
        "Mukund, Shridhar"
	 <Shridhar_Mukund@adaptec.com>
Subject: RE: Fw: [rddp] STag validation semantics
Date: Fri, 18 Oct 2002 11:33:20 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>


Caitlin,

> >3. Since buffers(security critical resources) are modified
> > by the DDP layer, the security envelope should be
> > stretched into the DDP layer. (Granted, the ULP creates &
> > controls that envelope). 
> > * Most verbiage in your email refers to RDMAP instead of
> > DDP.
> > * Postponing security checks to RDMAP/ULP layer while the
> > underlying layer(DDP) modifies secure resources does not
> > sound like a good design choice.( I believe it is not
> > intended )
> >
> 
> What sort of security are you looking for? A one-time key
> to enable each transfer?
> 
> 

By security check I am merely refering to the act of 
associating STag with a connection (directly or thru' PD). 
Thanks to Paul for clarifying that the intent is to do this 
in the DDP layer and not defer it to the RDMAP/ULP layer.

-Shridhar Mukund

_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 18 16:07:38 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA08548
	for <rddp-archive@odin.ietf.org>; Fri, 18 Oct 2002 16:07:38 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9IK9PT06760
	for rddp-archive@odin.ietf.org; Fri, 18 Oct 2002 16:09:25 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IK9Pv06757
	for <rddp-web-archive@optimus.ietf.org>; Fri, 18 Oct 2002 16:09:25 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA08544
	for <rddp-web-archive@ietf.org>; Fri, 18 Oct 2002 16:07:07 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IK9Cv06745;
	Fri, 18 Oct 2002 16:09:12 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IK8Wv06712
	for <rddp@optimus.ietf.org>; Fri, 18 Oct 2002 16:08:32 -0400
Received: from hermes.fm.intel.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA08532
	for <rddp@ietf.org>; Fri, 18 Oct 2002 16:06:11 -0400 (EDT)
Received: from petasus.fm.intel.com (petasus.fm.intel.com [10.1.192.37])
	by hermes.fm.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id g9IK6vD03997
	for <rddp@ietf.org>; Fri, 18 Oct 2002 20:06:57 GMT
Received: from fmsmsx019.fm.intel.com (fmsmsx019.fm.intel.com [132.233.42.130])
	by petasus.fm.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with ESMTP id g9IK4Xl21736
	for <rddp@ietf.org>; Fri, 18 Oct 2002 20:04:33 GMT
Received: by fmsmsx019.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <V1FK5QPZ>; Fri, 18 Oct 2002 13:02:45 -0700
Message-ID: <D9223EB959A5D511A98F00508B68C20C06BC51CF@orsmsx108.jf.intel.com>
From: "Larsen, Roy K" <roy.k.larsen@intel.com>
To: rddp@ietf.org
Subject: [rddp]  Another DDP segment question
Date: Fri, 18 Oct 2002 13:02:35 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

There seems to be consensus that a Data Source is free to send segments of
an ULP message in any order and overlap provided the segment with the L bit
set is sent last.  However, I need a further clarification.  Does this
reordering at the Data Source apply across ULP messages.  For example, for
untagged messages, is a Data Source free to send segments from MSN n+1
before segments from MSN n provided that the n segment with the L bit set is
sent before the n+1 segment with the L bit set?

Section 7.3 states that Data Source MUST transmit DDP Messages in the order
they were submitted to the DDP layer.  Is the "order" dictated by when the
segment with the L bit is sent (since that is the prerequisite event for
indicating message reception to the ULP) or the first segment of an ULP
message?

Certainly a segment from MSN n+1 can arrive at the Data Sink before a
segment from n, but is it valid for the n+1 segment to have a larger TCP
sequence number than n?

Although there seems to be a reluctance to do so, I strongly urge that all
message segmentation ordering rules be explicitly stated in the draft.

Roy
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 18 16:17:32 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA08801
	for <rddp-archive@odin.ietf.org>; Fri, 18 Oct 2002 16:17:32 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9IKJJm07128
	for rddp-archive@odin.ietf.org; Fri, 18 Oct 2002 16:19:19 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IKJJv07125
	for <rddp-web-archive@optimus.ietf.org>; Fri, 18 Oct 2002 16:19:19 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA08788
	for <rddp-web-archive@ietf.org>; Fri, 18 Oct 2002 16:17:01 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IKJ4v07106;
	Fri, 18 Oct 2002 16:19:04 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IKI0v07048
	for <rddp@optimus.ietf.org>; Fri, 18 Oct 2002 16:18:00 -0400
Received: from emulex.emulex.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA08741;
	Fri, 18 Oct 2002 16:15:42 -0400 (EDT)
Received: from xbl.ad.emulex.com (xbl.ma.emulex.com [172.16.12.11])
	by emulex.emulex.com (8.9.1a/8.9.1) with ESMTP id NAA23589;
	Fri, 18 Oct 2002 13:17:53 -0700 (PDT)
Received: by xbl.ma.emulex.com with Internet Mail Service (5.5.2653.19)
	id <VD68M8QH>; Fri, 18 Oct 2002 16:13:19 -0400
Message-ID: <3356669BBE90C448AD4645C843E2BF289B8EC1@xbl.ma.emulex.com>
From: "Williams, Jim" <Jim.Williams@Emulex.com>
To: "'tsvwg@ietf.org'" <tsvwg@ietf.org>, "'rddp@ietf.org'" <rddp@ietf.org>
Date: Fri, 18 Oct 2002 16:13:18 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: [rddp] I-D ACTION:draft-williams-iwarp-ift-00.txt
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

A New Internet-Draft is available from the on-line Internet-Drafts
directories.


	Title		: iWARP Framing for TCP
	Author(s)	: J. Williams
	Filename	: draft-williams-iwarp-ift-00.txt
	Pages		: 10
	Date		: 2002-10-10
	
A framing protocol is defined for DDP over TCP that is fully
compliant with applicable TCP RFCs and fully interoperable with
existing TCP implementations.  This protocol is being offered 
for discussion and consideration as an alternative to the
proposal offered in "draft-culley-iwarp-mpa-00.txt".

The protocol offers to two things, definition of the DDP record
boundaries within the TCP stream, and added data integrity 
by means of added CRC protection.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-williams-iwarp-ift-00.txt
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 18 17:27:24 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA10630
	for <rddp-archive@odin.ietf.org>; Fri, 18 Oct 2002 17:27:23 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9ILTCH12004
	for rddp-archive@odin.ietf.org; Fri, 18 Oct 2002 17:29:12 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ILTCv12001
	for <rddp-web-archive@optimus.ietf.org>; Fri, 18 Oct 2002 17:29:12 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA10624
	for <rddp-web-archive@ietf.org>; Fri, 18 Oct 2002 17:26:53 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ILT3v11993;
	Fri, 18 Oct 2002 17:29:03 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ILSBv11955
	for <rddp@optimus.ietf.org>; Fri, 18 Oct 2002 17:28:11 -0400
Received: from caduceus.fm.intel.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA10614
	for <rddp@ietf.org>; Fri, 18 Oct 2002 17:25:47 -0400 (EDT)
Received: from talaria.fm.intel.com (talaria.fm.intel.com [10.1.192.39])
	by caduceus.fm.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.51 2002/09/23 20:43:23 dmccart Exp $) with ESMTP id g9ILO5M28067
	for <rddp@ietf.org>; Fri, 18 Oct 2002 21:24:05 GMT
Received: from fmsmsxv040-1.fm.intel.com (fmsmsxvs040.fm.intel.com [132.233.42.124])
	by talaria.fm.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.27 2002/10/16 23:46:59 dmccart Exp $) with SMTP id g9ILUrs20635
	for <rddp@ietf.org>; Fri, 18 Oct 2002 21:30:53 GMT
Received: from FMSMSX016.fm.intel.com ([132.233.42.195])
 by fmsmsxv040-1.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002101814283327897
 for <rddp@ietf.org>; Fri, 18 Oct 2002 14:28:33 -0700
Received: by fmsmsx016.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <VD9L1CF3>; Fri, 18 Oct 2002 14:27:59 -0700
Message-ID: <25282B06EFB8D31198BF00508B66D4FA0700B843@fmsmsx114.fm.intel.com>
From: "Shah, Hemal" <hemal.shah@intel.com>
To: "Larsen, Roy K" <roy.k.larsen@intel.com>, rddp@ietf.org
Subject: RE: [rddp]  Another DDP segment question
Date: Fri, 18 Oct 2002 14:27:53 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

Roy,

See my answers below embedded within <hvs>.

Hemal

-----Original Message-----
From: Larsen, Roy K [mailto:roy.k.larsen@intel.com] 
Sent: Friday, October 18, 2002 3:03 PM
To: rddp@ietf.org
Subject: [rddp] Another DDP segment question

There seems to be consensus that a Data Source is free to send segments of
an ULP message in any order and overlap provided the segment with the L bit
set is sent last.  However, I need a further clarification.  Does this
reordering at the Data Source apply across ULP messages.  For example, for
untagged messages, is a Data Source free to send segments from MSN n+1
before segments from MSN n provided that the n segment with the L bit set is
sent before the n+1 segment with the L bit set?
<hvs>All the DDP Segments of an Untagged Message with MSN n are sent before
any of the DDP Segments of an Untagged Message with MSN n+1. In other words,
in the TCP stream in the sequence space, all the DDP Segments of MSN n will
appear before any of the DDP Segments of MSN n+1.<hvs> 

Section 7.3 states that Data Source MUST transmit DDP Messages in the order
they were submitted to the DDP layer.  Is the "order" dictated by when the
segment with the L bit is sent (since that is the prerequisite event for
indicating message reception to the ULP) or the first segment of an ULP
message?
<hvs> This is probably answered by the first comment. Let me try it again
with an example to aid the previous comment. If the ULP has submitted two
messages Msg 1 and Msg 2 (in that order) to DDP, then, all DDP segments of
Msg 1 will be sent before any of the DDP Segments of Msg 2. Out of all the
DDP Segments of a DDP Message, DDP will send the DDP Segment with L bit set
to 1 last. <hvs>

Certainly a segment from MSN n+1 can arrive at the Data Sink before a
segment from n, but is it valid for the n+1 segment to have a larger TCP
sequence number than n?
<hvs>Yes. In TCP arithmetic, a TCP segment containing a DDP Segment of an
Untagged DDP Message with MSN n+1 will carry larger sequence number than the
sequence number carried by a TCP segment containing a DDP Segment of an
Untagged DDP Message with MSN n.
<hvs>

Although there seems to be a reluctance to do so, I strongly urge that all
message segmentation ordering rules be explicitly stated in the draft.
<hvs> There will be more clarification in the next draft.<hvs>

Roy
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 18 17:40:23 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA10835
	for <rddp-archive@odin.ietf.org>; Fri, 18 Oct 2002 17:40:23 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9ILgBg12872
	for rddp-archive@odin.ietf.org; Fri, 18 Oct 2002 17:42:11 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ILgBv12869
	for <rddp-web-archive@optimus.ietf.org>; Fri, 18 Oct 2002 17:42:11 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA10827
	for <rddp-web-archive@ietf.org>; Fri, 18 Oct 2002 17:39:52 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ILg2v12861;
	Fri, 18 Oct 2002 17:42:02 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ILffv12847
	for <rddp@optimus.ietf.org>; Fri, 18 Oct 2002 17:41:41 -0400
Received: from momus.sc.intel.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA10823
	for <rddp@ietf.org>; Fri, 18 Oct 2002 17:39:21 -0400 (EDT)
Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128])
	by momus.sc.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.48 2002/10/16 23:47:34 dmccart Exp $) with SMTP id g9ILf9J24780
	for <rddp@ietf.org>; Fri, 18 Oct 2002 21:41:19 GMT
Received: from fmsmsx29.FM.INTEL.COM ([132.233.42.29])
 by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002101814425805098
 for <rddp@ietf.org>; Fri, 18 Oct 2002 14:42:58 -0700
Received: by fmsmsx29.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <VB8GBZTZ>; Fri, 18 Oct 2002 14:41:09 -0700
Message-ID: <D9223EB959A5D511A98F00508B68C20C06BC51D5@orsmsx108.jf.intel.com>
From: "Larsen, Roy K" <roy.k.larsen@intel.com>
To: "Shah, Hemal" <hemal.shah@intel.com>, "'rddp@ietf.org'"
	 <rddp@ietf.org>
Subject: RE: [rddp]  Another DDP segment question
Date: Fri, 18 Oct 2002 14:41:07 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

Hi Hemal,

Although they seem perfectly reasonable to me, I can't find anything in the
DDP draft that supports your assertions.  However, your last comment
suggests such text will be added to the draft which has always been my only
concern.

Thanks,
Roy

-----Original Message-----
From: Shah, Hemal 
Sent: Friday, October 18, 2002 2:28 PM
To: Larsen, Roy K; rddp@ietf.org
Subject: RE: [rddp] Another DDP segment question


Roy,

See my answers below embedded within <hvs>.

Hemal

-----Original Message-----
From: Larsen, Roy K [mailto:roy.k.larsen@intel.com] 
Sent: Friday, October 18, 2002 3:03 PM
To: rddp@ietf.org
Subject: [rddp] Another DDP segment question

There seems to be consensus that a Data Source is free to send segments of
an ULP message in any order and overlap provided the segment with the L bit
set is sent last.  However, I need a further clarification.  Does this
reordering at the Data Source apply across ULP messages.  For example, for
untagged messages, is a Data Source free to send segments from MSN n+1
before segments from MSN n provided that the n segment with the L bit set is
sent before the n+1 segment with the L bit set?
<hvs>All the DDP Segments of an Untagged Message with MSN n are sent before
any of the DDP Segments of an Untagged Message with MSN n+1. In other words,
in the TCP stream in the sequence space, all the DDP Segments of MSN n will
appear before any of the DDP Segments of MSN n+1.<hvs> 

Section 7.3 states that Data Source MUST transmit DDP Messages in the order
they were submitted to the DDP layer.  Is the "order" dictated by when the
segment with the L bit is sent (since that is the prerequisite event for
indicating message reception to the ULP) or the first segment of an ULP
message?
<hvs> This is probably answered by the first comment. Let me try it again
with an example to aid the previous comment. If the ULP has submitted two
messages Msg 1 and Msg 2 (in that order) to DDP, then, all DDP segments of
Msg 1 will be sent before any of the DDP Segments of Msg 2. Out of all the
DDP Segments of a DDP Message, DDP will send the DDP Segment with L bit set
to 1 last. <hvs>

Certainly a segment from MSN n+1 can arrive at the Data Sink before a
segment from n, but is it valid for the n+1 segment to have a larger TCP
sequence number than n?
<hvs>Yes. In TCP arithmetic, a TCP segment containing a DDP Segment of an
Untagged DDP Message with MSN n+1 will carry larger sequence number than the
sequence number carried by a TCP segment containing a DDP Segment of an
Untagged DDP Message with MSN n.
<hvs>

Although there seems to be a reluctance to do so, I strongly urge that all
message segmentation ordering rules be explicitly stated in the draft.
<hvs> There will be more clarification in the next draft.<hvs>

Roy
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 18 18:07:29 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA11158
	for <rddp-archive@odin.ietf.org>; Fri, 18 Oct 2002 18:07:29 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9IM9I813957
	for rddp-archive@odin.ietf.org; Fri, 18 Oct 2002 18:09:18 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IM9Hv13954
	for <rddp-web-archive@optimus.ietf.org>; Fri, 18 Oct 2002 18:09:17 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA11150
	for <rddp-web-archive@ietf.org>; Fri, 18 Oct 2002 18:06:58 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IM99v13945;
	Fri, 18 Oct 2002 18:09:09 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9IM8Ev13912
	for <rddp@optimus.ietf.org>; Fri, 18 Oct 2002 18:08:14 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA11139
	for <rddp@ietf.org>; Fri, 18 Oct 2002 18:05:54 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9IM98c25569;
	Fri, 18 Oct 2002 17:09:08 -0500
Date: Fri, 18 Oct 2002 17:08:06 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: [rddp]  Another DDP segment question
To: "'rddp@ietf.org'" <rddp@ietf.org>
cc: "Shah, Hemal" <hemal.shah@intel.com>,
        "Larsen, Roy K" <roy.k.larsen@intel.com>
X-Priority: 3
In-Reply-To: <D9223EB959A5D511A98F00508B68C20C06BC51D5@orsmsx108.jf.intel.com>
Message-ID: <r01050300-1015-14462F94E2E611D6885D003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/18/02, Larsen, Roy K wrote:

>Hi Hemal,
>
>Although they seem perfectly reasonable to me, I can't
>find anything in the DDP draft that supports your
>assertions.  However, your last comment suggests such text
>will be added to the draft which has always been my only
>concern.
>

It is the combination of section 7.3's requirement that
DDP "MUST transmit DDP Messages in the order they were
submitted to the DDP layer" and section 5's requirement
that LLP delivery (as opposed to placement) must preserve
the ordering that messages were submitted by the DDP layer.

DDP segments are part of the same message, and hence were
submitted to the DDP layer at the same time.  Therefore the
only constraint is that the untagged segment with the 'L'
bit must be the last submitted to the LLP.

Even if  a local interface COULD accept multiple tagged
writes at the same time, and therefore the sending DDP layer
was allowed  to interleave them, it would not interfere with
the Data Sink's ability to process tagged writes.

Untagged messages, by contrast, are inherently ordered. So
if a local interface allowed multiple untagged messages to
be submitted "at one time" it would have to accept them in
a ULP specified "order". Hence interleaving of untaggeed
messages on transmit would not be allowed.

That leaves the loophole, that probably should be closed,
that a local interface that accepted one or more untagged
writes and an untagged message "at the same time" MUST
consider the untagged message to have been provided later.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Sat Oct 19 17:36:30 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA08036
	for <rddp-archive@odin.ietf.org>; Sat, 19 Oct 2002 17:36:30 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9JLcKU13003
	for rddp-archive@odin.ietf.org; Sat, 19 Oct 2002 17:38:20 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9JLcKv13000
	for <rddp-web-archive@optimus.ietf.org>; Sat, 19 Oct 2002 17:38:20 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA08030
	for <rddp-web-archive@ietf.org>; Sat, 19 Oct 2002 17:35:59 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9JLcAv12988;
	Sat, 19 Oct 2002 17:38:10 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9JLbZv12959
	for <rddp@optimus.ietf.org>; Sat, 19 Oct 2002 17:37:35 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA08009;
	Sat, 19 Oct 2002 17:35:14 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9JLcVc29121;
	Sat, 19 Oct 2002 16:38:31 -0500
Date: Sat, 19 Oct 2002 16:37:25 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: Re: [rddp] I-D ACTION:draft-williams-iwarp-ift-00.txt
To: "'rddp@ietf.org'" <rddp@ietf.org>
cc: "'tsvwg@ietf.org'" <tsvwg@ietf.org>,
        "Williams, Jim" <Jim.Williams@Emulex.com>
X-Priority: 3
In-Reply-To: <3356669BBE90C448AD4645C843E2BF289B8EC1@xbl.ma.emulex.com>
Message-ID: <r01050300-1015-F5A9FF92E3AA11D6AA90003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/18/02, Williams, Jim wrote:

>A New Internet-Draft is available from the on-line
Internet-Drafts
>directories.
>
>
>   Title       : iWARP Framing for TCP
>   Author(s)   : J. Williams
>   Filename    : draft-williams-iwarp-ift-00.txt
>   Pages       : 10
>   Date        : 2002-10-10
>   
>A framing protocol is defined for DDP over TCP that is
>fully compliant with applicable TCP RFCs and fully
>interoperable with existing TCP implementations.  This
>protocol is being offered for discussion and consideration
>as an alternative to the proposal offered in
>"draft-culley-iwarp-mpa-00.txt".
>
>The protocol offers to two things, definition of the DDP
>record boundaries within the TCP stream, and added data
>integrity by means of added CRC protection.
>


The arguments for a seperate CRC on the DDP header are
strong, however I do not believe they belong here.

The destination address in the DDP header must be validated
before any data placement can occur. Without a CRC header
the DDP layer must buffer the data for at least the size of
an entire DDP segment. It cannot do immediate 'cut through'
placement of the data.

However, when DDP is carried over SCTP there will be no such
facility available. If "cut-through" data placement is
indeed desirable enough to add the complexity of an
additional CRC, then it should be defined at the DDP layer.
The functionality that would justify it is independent of
the LLP used to deliver the DDP message. CRCs are only part
of the LLP-adaptation when the LLP fails to provide the
complete message CRC that SCTP does.

Curiously, the benefit of DDP header CRC (enabling
cut-through placement of the DDP payload) seems to run to
the opposite direction of the rest of the proposal. If it is
tolerable to defer placement until TCP segments can be
processed in order, why is it not tolerable to defer
placement until the entire DDP segment has been scanned?

The argument against alignment markers and header CRCs is
ultimately the same: they represent extra bytes in the
messages and extra complexity in the implementations and it
can be argued that they do not provide sufficient benefit to
justify themselves.

The IFT approach is optimized for a LLP layer that already
uses sufficient buffering to deliver the TCP payload to the
next layer in order. The RMA approach is optimized for a LLP
layer that attempts to  place each TCP segment as it
arrives, and then track acking/delivery seperately. Both are
valid, cleanly layered, implementation strategies.

However I believe that the IFT approach would force the LLP
layer to have more buffering capacity than would MPA. This
could be incompatible with an "on chip" buffering strategy.
By contrast MPA is compatible with either NIC design, it
merely "wastes" bytes on alignment markers that a
traditionally layered TCP optimizing chip would have little
use for.

I recognize that one benefit of such a NIC design is that
large NIC buffers allow it to optimize *all* TCP traffic,
not merely RDMAP/DDP. That is a valuable plus to such a
design, which buyers should consider when selecting NICs.
However, the IETF should accomodate both design strategies.

Have you analyzed the worst case impact on required
buffering that removing the alignment markers will have? If
it could be shown to be slight enough the advantages of a
simpler protocol could still be compelling.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 21 07:51:38 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA24051
	for <rddp-archive@odin.ietf.org>; Mon, 21 Oct 2002 07:51:37 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9LBrNt23512
	for rddp-archive@odin.ietf.org; Mon, 21 Oct 2002 07:53:23 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LBrNv23508
	for <rddp-web-archive@optimus.ietf.org>; Mon, 21 Oct 2002 07:53:23 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA24039
	for <rddp-web-archive@ietf.org>; Mon, 21 Oct 2002 07:51:06 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LBrEv23495;
	Mon, 21 Oct 2002 07:53:14 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LBqfv23478
	for <rddp@optimus.ietf.org>; Mon, 21 Oct 2002 07:52:41 -0400
Received: from mx01-a.netapp.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA24036
	for <rddp@ietf.org>; Mon, 21 Oct 2002 07:50:24 -0400 (EDT)
Received: from frejya.corp.netapp.com (frejya [10.10.20.91])
	by mx01-a.netapp.com (8.12.3/8.12.3/NTAP-1.4) with ESMTP id g9LBqZl7000271;
	Mon, 21 Oct 2002 04:52:35 -0700 (PDT)
Received: from tmt.netapp.com ([10.97.1.31])
	by frejya.corp.netapp.com (8.12.5/8.12.2/NTAP-1.4) with ESMTP id g9LBqYAH021929;
	Mon, 21 Oct 2002 04:52:34 -0700 (PDT)
Message-Id: <5.1.1.6.2.20021021074718.051268d0@red.nane.netapp.com>
Date: Mon, 21 Oct 2002 07:52:20 -0400
To: Caitlin Bestler <caitlinb@rp.asomi.net>
From: "Talpey, Thomas" <Thomas.Talpey@netapp.com>
Subject: RE: [rddp]  Another DDP segment question
Cc: "'rddp@ietf.org'" <rddp@ietf.org>, "Shah, Hemal" <hemal.shah@intel.com>,
        "Larsen, Roy K" <roy.k.larsen@intel.com>
In-Reply-To: <r01050300-1015-14462F94E2E611D6885D003065D48EE0@[192.168.0
 .2]>
References: <D9223EB959A5D511A98F00508B68C20C06BC51D5@orsmsx108.jf.intel.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

At 06:08 PM 10/18/2002, Caitlin Bestler wrote:
>That leaves the loophole, that probably should be closed,
>that a local interface that accepted one or more untagged
>writes and an untagged message "at the same time" MUST
>consider the untagged message to have been provided later.

I think you mean "tagged writes", but the rule you pointed
out earlier:

 >It is the combination of section 7.3's requirement that 
 >DDP "MUST transmit DDP Messages in the order they were 
 >submitted to the DDP layer"

protects against this happening, doesn't it? The DDP layer has
a single-threaded issuing policy, and also a single-threaded
delivery policy - both of which stem from its use of the TCP
sequence number for ordering.

Tom.

_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 21 12:39:27 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA05435
	for <rddp-archive@odin.ietf.org>; Mon, 21 Oct 2002 12:39:27 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9LGfEM08079
	for rddp-archive@odin.ietf.org; Mon, 21 Oct 2002 12:41:14 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LGfEv08076
	for <rddp-web-archive@optimus.ietf.org>; Mon, 21 Oct 2002 12:41:14 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA05431
	for <rddp-web-archive@ietf.org>; Mon, 21 Oct 2002 12:38:56 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LGf7v08062;
	Mon, 21 Oct 2002 12:41:07 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LGeQv08048
	for <rddp@optimus.ietf.org>; Mon, 21 Oct 2002 12:40:26 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA05418
	for <rddp@ietf.org>; Mon, 21 Oct 2002 12:38:07 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9LGfWc03221
	for <rddp@ietf.org>; Mon, 21 Oct 2002 11:41:32 -0500
Date: Mon, 21 Oct 2002 11:40:20 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: [rddp]  Another DDP segment question
To: "'rddp@ietf.org'" <rddp@ietf.org>
X-Priority: 3
In-Reply-To: <5.1.1.6.2.20021021074718.051268d0@red.nane.netapp.com>
Message-ID: <r01050300-1015-C9FBDC9FE51311D6A8BB003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/21/02, Talpey, Thomas wrote:

>At 06:08 PM 10/18/2002, Caitlin Bestler wrote:
>>That leaves the loophole, that probably should be closed,
>>that a local interface that accepted one or more untagged
>>writes and an untagged message "at the same time" MUST
>>consider the untagged message to have been provided later.
>
>I think you mean "tagged writes", but the rule you pointed
>out earlier:
>
> >It is the combination of section 7.3's requirement that 
> >DDP "MUST transmit DDP Messages in the order they were 
> >submitted to the DDP layer"

No, because each segment of a tagged DDP put is complete
by itself, there is no harm in "interleaving" multiple
"concurrent" tagged messages. Each tagged segment is
a complete tagged put in itself.

>
>protects against this happening, doesn't it? The DDP layer
>has a single-threaded issuing policy, and also a
>single-threaded delivery policy - both of which stem from
>its use of the TCP sequence number for ordering.
>

The DDP layer MUST be single threaded when dealing with the
LLP layer, and it would certainly make sense for it to be
single-threaded when it dealt with its consumers. But in a
very legalistic sense this is not currently specified,
probably because it is so obvious that this is the only way
anyone would want to work.

This is mostly a matter of fine tuning language for the sake
of completeness. I doubt anyone would actually attempt
anything to the contrary even without additional language.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 21 12:56:22 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA05860
	for <rddp-archive@odin.ietf.org>; Mon, 21 Oct 2002 12:56:22 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9LGwAZ08421
	for rddp-archive@odin.ietf.org; Mon, 21 Oct 2002 12:58:10 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LGwAv08418
	for <rddp-web-archive@optimus.ietf.org>; Mon, 21 Oct 2002 12:58:10 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA05842
	for <rddp-web-archive@ietf.org>; Mon, 21 Oct 2002 12:55:51 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LGw2v08409;
	Mon, 21 Oct 2002 12:58:02 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LGv1v08373
	for <rddp@optimus.ietf.org>; Mon, 21 Oct 2002 12:57:01 -0400
Received: from mx01-a.netapp.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA05805
	for <rddp@ietf.org>; Mon, 21 Oct 2002 12:54:42 -0400 (EDT)
Received: from frejya.corp.netapp.com (frejya [10.10.20.91])
	by mx01-a.netapp.com (8.12.3/8.12.3/NTAP-1.4) with ESMTP id g9LGuul7019053;
	Mon, 21 Oct 2002 09:56:56 -0700 (PDT)
Received: from tmt.netapp.com (tmt [10.97.1.31])
	by frejya.corp.netapp.com (8.12.5/8.12.2/NTAP-1.4) with ESMTP id g9LGutAH025998;
	Mon, 21 Oct 2002 09:56:55 -0700 (PDT)
Message-Id: <5.1.1.6.2.20021021125438.03534d40@red.nane.netapp.com>
Date: Mon, 21 Oct 2002 12:56:28 -0400
To: Caitlin Bestler <caitlinb@rp.asomi.net>
From: "Talpey, Thomas" <Thomas.Talpey@netapp.com>
Subject: RE: [rddp]  Another DDP segment question
Cc: "'rddp@ietf.org'" <rddp@ietf.org>
In-Reply-To: <r01050300-1015-C9FBDC9FE51311D6A8BB003065D48EE0@[192.168.0
 .2]>
References: <5.1.1.6.2.20021021074718.051268d0@red.nane.netapp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

If the language permits the interleaving you state, then I agree
it should be tightened up. I'm still not completely convinced
because of the use of "DDP Message" in the ordering statement,
which is the complete, unsegmented, operation. But clarity is
good.

Tom.

At 12:40 PM 10/21/2002, Caitlin Bestler wrote:
>On 10/21/02, Talpey, Thomas wrote:
>
>>At 06:08 PM 10/18/2002, Caitlin Bestler wrote:
>>>That leaves the loophole, that probably should be closed,
>>>that a local interface that accepted one or more untagged
>>>writes and an untagged message "at the same time" MUST
>>>consider the untagged message to have been provided later.
>>
>>I think you mean "tagged writes", but the rule you pointed
>>out earlier:
>>
>> >It is the combination of section 7.3's requirement that 
>> >DDP "MUST transmit DDP Messages in the order they were 
>> >submitted to the DDP layer"
>
>No, because each segment of a tagged DDP put is complete
>by itself, there is no harm in "interleaving" multiple
>"concurrent" tagged messages. Each tagged segment is
>a complete tagged put in itself.
>
>>
>>protects against this happening, doesn't it? The DDP layer
>>has a single-threaded issuing policy, and also a
>>single-threaded delivery policy - both of which stem from
>>its use of the TCP sequence number for ordering.
>>
>
>The DDP layer MUST be single threaded when dealing with the
>LLP layer, and it would certainly make sense for it to be
>single-threaded when it dealt with its consumers. But in a
>very legalistic sense this is not currently specified,
>probably because it is so obvious that this is the only way
>anyone would want to work.
>
>This is mostly a matter of fine tuning language for the sake
>of completeness. I doubt anyone would actually attempt
>anything to the contrary even without additional language.
>
>Caitlin Bestler
>http://asomi.com/CaitlinBestler/
>_______________________________________________
>rddp mailing list
>rddp@ietf.org
>https://www1.ietf.org/mailman/listinfo/rddp

_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 21 14:05:39 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA08712
	for <rddp-archive@odin.ietf.org>; Mon, 21 Oct 2002 14:05:39 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9LI7SX13425
	for rddp-archive@odin.ietf.org; Mon, 21 Oct 2002 14:07:28 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LI7Sv13422
	for <rddp-web-archive@optimus.ietf.org>; Mon, 21 Oct 2002 14:07:28 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA08658
	for <rddp-web-archive@ietf.org>; Mon, 21 Oct 2002 14:05:08 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LI74v12960;
	Mon, 21 Oct 2002 14:07:04 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LI6Zv12837
	for <rddp@optimus.ietf.org>; Mon, 21 Oct 2002 14:06:35 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA08620
	for <rddp@ietf.org>; Mon, 21 Oct 2002 14:04:15 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9LI7gc03489;
	Mon, 21 Oct 2002 13:07:42 -0500
Date: Mon, 21 Oct 2002 13:06:29 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: [rddp]  Another DDP segment question
To: "'rddp@ietf.org'" <rddp@ietf.org>
cc: "Talpey, Thomas" <Thomas.Talpey@netapp.com>
X-Priority: 3
In-Reply-To: <5.1.1.6.2.20021021125438.03534d40@red.nane.netapp.com>
Message-ID: <r01050300-1015-D30FA2E5E51F11D6A8BB003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/21/02, Talpey, Thomas wrote:

>If the language permits the interleaving you state, then I
>agree it should be tightened up. I'm still not completely
>convinced because of the use of "DDP Message" in the
>ordering statement, which is the complete, unsegmented,
>operation. But clarity is good.
>
>Tom.
>

Section 7.2 has very little about ordering, other than the
following:

>   At the Data Source, DDP: 
>
>     * MUST transmit DDP Messages in the order they were 
>       submitted to the DDP layer.
>

What was probably *assumed* was that the local interface
would only accept one DDP Message at a time. But this is not
stated. It is not necessarily even valid. A typical ULP
exchange would consist of zero or more tagged DDP messages
and a single untagged DDP message. There is no inherent ULP
need to order the tagged messages.

The true requirement for the local interface, which can
certainly be postponed until a draft specifically on that
topic, is that the ULP be able to submit zero or more tagged
messages followed by an untagged message in one or more
local operations, and then be able to repeat this process
to the extent of their untagged message credits.

What cannot be allowed is any local interface which confuses
the order of untagged messages or is ambiguous about which
untagged message will signal completion for which tagged
messages.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 21 15:18:29 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA11872
	for <rddp-archive@odin.ietf.org>; Mon, 21 Oct 2002 15:18:29 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9LJKI117359
	for rddp-archive@odin.ietf.org; Mon, 21 Oct 2002 15:20:18 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LJKIv17356
	for <rddp-web-archive@optimus.ietf.org>; Mon, 21 Oct 2002 15:20:18 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA11791
	for <rddp-web-archive@ietf.org>; Mon, 21 Oct 2002 15:17:58 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LJKAv17340;
	Mon, 21 Oct 2002 15:20:10 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LJIev16992
	for <rddp@optimus.ietf.org>; Mon, 21 Oct 2002 15:18:40 -0400
Received: from petasus.ch.intel.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA11652
	for <rddp@ietf.org>; Mon, 21 Oct 2002 15:16:19 -0400 (EDT)
Received: from fmsmsxvs043.fm.intel.com (fmsmsxvs043.fm.intel.com [132.233.42.129])
	by petasus.ch.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.48 2002/10/16 23:47:34 dmccart Exp $) with SMTP id g9LJK2H26293
	for <rddp@ietf.org>; Mon, 21 Oct 2002 19:20:02 GMT
Received: from fmsmsx019.fm.intel.com ([132.233.42.130])
 by fmsmsxvs043.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002102112165123750
 ; Mon, 21 Oct 2002 12:16:51 -0700
Received: by fmsmsx019.fm.intel.com with Internet Mail Service (5.5.2653.19)
	id <VF65SHPA>; Mon, 21 Oct 2002 12:18:33 -0700
Message-ID: <D9223EB959A5D511A98F00508B68C20C06BC51D6@orsmsx108.jf.intel.com>
From: "Larsen, Roy K" <roy.k.larsen@intel.com>
To: "'Caitlin Bestler'" <caitlinb@rp.asomi.net>,
        "'rddp@ietf.org'"
	 <rddp@ietf.org>
Cc: "Shah, Hemal" <hemal.shah@intel.com>
Subject: RE: [rddp]  Another DDP segment question
Date: Mon, 21 Oct 2002 12:18:25 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

Comments in line...

> -----Original Message-----
> From: Caitlin Bestler [mailto:caitlinb@rp.asomi.net]
> Sent: Friday, October 18, 2002 3:08 PM
> To: 'rddp@ietf.org'
> Cc: Shah, Hemal; Larsen, Roy K
> Subject: RE: [rddp] Another DDP segment question
> 
> 
> On 10/18/02, Larsen, Roy K wrote:
> 
> >Hi Hemal,
> >
> >Although they seem perfectly reasonable to me, I can't
> >find anything in the DDP draft that supports your
> >assertions.  However, your last comment suggests such text
> >will be added to the draft which has always been my only
> >concern.
> >
> 
> It is the combination of section 7.3's requirement that
> DDP "MUST transmit DDP Messages in the order they were
> submitted to the DDP layer" and section 5's requirement
> that LLP delivery (as opposed to placement) must preserve
> the ordering that messages were submitted by the DDP layer.
> 
Humm.  It was these passages that led me to infer that segments within a
message should be sent in order.  I have been convinced by the arguments on
the list that one should be able to infer from the draft that segments (sans
the 'L' bit segment) can be sent in any order and conform.

> DDP segments are part of the same message, and hence were
> submitted to the DDP layer at the same time.  Therefore the
> only constraint is that the untagged segment with the 'L'
> bit must be the last submitted to the LLP.
> 
Indeed.  It is the 'L' bit segment that indicates a complete message has
been sent.  Therefore, I contend one could infer that a Data Source could
interleave segments of multiple messages and still comply provided an 'L'
bit segment is held back until all preceding 'L' bit segments have been
sent.  This will satisfy the requirement that the DDP MUST transmit DDP
*Messages* in the order they were submitted. This send behavior would
satisfy the DDP message ordering rules for the Data Sink specified in 7.3
because it is silent on the use of LLP sender order information (bullet 5 of
5.1).  Since the draft is silent on this relationship, one can infer that
reordering segments between messages is just as valid as reording segments
within a message provided 'L' bit semantics are retained.

> Even if  a local interface COULD accept multiple tagged
> writes at the same time, and therefore the sending DDP layer
> was allowed  to interleave them, it would not interfere with
> the Data Sink's ability to process tagged writes.
> 
I'm not sure that's true.  If an ULP at the Data Source does two RDMA writes
with the same STag to the same memory space, the target memory should
reflect the contents of the last write posted.  If segments of the second
message were reorded ahead of the first (by the fabric or Data Source), this
would not be the case.  Again, the LLP segment ordering information can
mitigate this but I don't see it applied in the draft.

> Untagged messages, by contrast, are inherently ordered. So
> if a local interface allowed multiple untagged messages to
> be submitted "at one time" it would have to accept them in
> a ULP specified "order". Hence interleaving of untaggeed
> messages on transmit would not be allowed.
> 
Well, as long a message delivery was done in order (i.e. 'L' bit segments
sent in order), it shouldn't matter when segments of an untagged message get
placed and in fact must be allowed for to deal with segments from different
messages that have been reorded by the fabric.

Please don't misunderstand me.  I don't think that sending interleaved
message segments is a good idea. As I've said before, I would advocate for
strict Data Source ordering rules that state all segments within a message
be sent in order and not overlapped.  Nevertheless, I take it on faith that
allowing a more relaxed message ordering semantic will provide efficiencies
for someone.  If there are efficiencies for reordering segments within a
message, I would assume these same efficiencies would be present across
messages and I believe the current draft can be read to support such a send
method.

The bottom line is that having message segment ordering rules inferred
instead of explicitly stated could lead to interoperability issues down the
road.  If we were talking about pure software stacks, these can be easily
adjusted.  However, all of the interesting implementation will be done in
silicon/microcode.  Adjustments in this space are expensive and time
consuming.

Roy

> That leaves the loophole, that probably should be closed,
> that a local interface that accepted one or more untagged
> writes and an untagged message "at the same time" MUST
> consider the untagged message to have been provided later.
> 
> Caitlin Bestler
> http://asomi.com/CaitlinBestler/
> 
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 21 15:28:22 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA12463
	for <rddp-archive@odin.ietf.org>; Mon, 21 Oct 2002 15:28:21 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9LJUBN17975
	for rddp-archive@odin.ietf.org; Mon, 21 Oct 2002 15:30:11 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LJUBv17972
	for <rddp-web-archive@optimus.ietf.org>; Mon, 21 Oct 2002 15:30:11 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA12429
	for <rddp-web-archive@ietf.org>; Mon, 21 Oct 2002 15:27:50 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LJU3v17955;
	Mon, 21 Oct 2002 15:30:03 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LJTZv17916
	for <rddp@optimus.ietf.org>; Mon, 21 Oct 2002 15:29:35 -0400
Received: from d12lmsgate.de.ibm.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA12399;
	Mon, 21 Oct 2002 15:27:13 -0400 (EDT)
Received: from d12relay02.de.ibm.com (d12relay02.de.ibm.com [9.165.215.23])
	by d12lmsgate.de.ibm.com (8.12.3/8.12.3) with ESMTP id g9LJTQkf053328;
	Mon, 21 Oct 2002 21:29:27 +0200
Received: from d10hubm1.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay02.de.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g9LJTQi4091926;
	Mon, 21 Oct 2002 21:29:26 +0200
Subject: RE: [rddp]  Another DDP segment question
To: "Larsen, Roy K" <roy.k.larsen@intel.com>
Cc: "'Caitlin Bestler'" <caitlinb@rp.asomi.net>,
        "Shah, Hemal" <hemal.shah@intel.com>,
        "'rddp@ietf.org'" <rddp@ietf.org>, rddp-admin@ietf.org
X-Mailer: Lotus Notes Release 5.0.8  June 18, 2001
Message-ID: <OF354C40B7.6674F2E4-ONC2256C59.006A7E2D@telaviv.ibm.com>
From: "Vadim Makhervaks" <VADIK@il.ibm.com>
Date: Mon, 21 Oct 2002 21:29:23 +0200
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 21/10/2002 21:29:25
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

 Transmitting Tagged DDP messages in-order does not say anything about the
order of the data placement on the receiver. The only way to make sure that
the second Write is what we would see in the memory is to use FENCE
semantics defined by RDMA spec.

Vadim.

P.S. By the way, I absolutely agree with you regarding the DDP segments
order in the DDP message. To be more precise, I think that allowing
Untagged DDP segments be transmitted out-of-order put unnecessary
complexity on receiver implementation, and also potentially leads to
performance hit.



|---------+---------------------------->
|         |           "Larsen, Roy K"  |
|         |           <roy.k.larsen@int|
|         |           el.com>          |
|         |           Sent by:         |
|         |           rddp-admin@ietf.o|
|         |           rg               |
|         |                            |
|         |                            |
|         |           21/10/02 09:18 PM|
|         |                            |
|---------+---------------------------->
  >------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                              |
  |       To:       "'Caitlin Bestler'" <caitlinb@rp.asomi.net>, "'rddp@ietf.org'" <rddp@ietf.org>                               |
  |       cc:       "Shah, Hemal" <hemal.shah@intel.com>                                                                         |
  |       Subject:  RE: [rddp]  Another DDP segment question                                                                     |
  |                                                                                                                              |
  |                                                                                                                              |
  >------------------------------------------------------------------------------------------------------------------------------|



Comments in line...

> -----Original Message-----
> From: Caitlin Bestler [mailto:caitlinb@rp.asomi.net]
> Sent: Friday, October 18, 2002 3:08 PM
> To: 'rddp@ietf.org'
> Cc: Shah, Hemal; Larsen, Roy K
> Subject: RE: [rddp] Another DDP segment question
>
>
> On 10/18/02, Larsen, Roy K wrote:
>
> >Hi Hemal,
> >
> >Although they seem perfectly reasonable to me, I can't
> >find anything in the DDP draft that supports your
> >assertions.  However, your last comment suggests such text
> >will be added to the draft which has always been my only
> >concern.
> >
>
> It is the combination of section 7.3's requirement that
> DDP "MUST transmit DDP Messages in the order they were
> submitted to the DDP layer" and section 5's requirement
> that LLP delivery (as opposed to placement) must preserve
> the ordering that messages were submitted by the DDP layer.
>
Humm.  It was these passages that led me to infer that segments within a
message should be sent in order.  I have been convinced by the arguments on
the list that one should be able to infer from the draft that segments
(sans
the 'L' bit segment) can be sent in any order and conform.

> DDP segments are part of the same message, and hence were
> submitted to the DDP layer at the same time.  Therefore the
> only constraint is that the untagged segment with the 'L'
> bit must be the last submitted to the LLP.
>
Indeed.  It is the 'L' bit segment that indicates a complete message has
been sent.  Therefore, I contend one could infer that a Data Source could
interleave segments of multiple messages and still comply provided an 'L'
bit segment is held back until all preceding 'L' bit segments have been
sent.  This will satisfy the requirement that the DDP MUST transmit DDP
*Messages* in the order they were submitted. This send behavior would
satisfy the DDP message ordering rules for the Data Sink specified in 7.3
because it is silent on the use of LLP sender order information (bullet 5
of
5.1).  Since the draft is silent on this relationship, one can infer that
reordering segments between messages is just as valid as reording segments
within a message provided 'L' bit semantics are retained.

> Even if  a local interface COULD accept multiple tagged
> writes at the same time, and therefore the sending DDP layer
> was allowed  to interleave them, it would not interfere with
> the Data Sink's ability to process tagged writes.
>
I'm not sure that's true.  If an ULP at the Data Source does two RDMA
writes
with the same STag to the same memory space, the target memory should
reflect the contents of the last write posted.  If segments of the second
message were reorded ahead of the first (by the fabric or Data Source),
this
would not be the case.  Again, the LLP segment ordering information can
mitigate this but I don't see it applied in the draft.

> Untagged messages, by contrast, are inherently ordered. So
> if a local interface allowed multiple untagged messages to
> be submitted "at one time" it would have to accept them in
> a ULP specified "order". Hence interleaving of untaggeed
> messages on transmit would not be allowed.
>
Well, as long a message delivery was done in order (i.e. 'L' bit segments
sent in order), it shouldn't matter when segments of an untagged message
get
placed and in fact must be allowed for to deal with segments from different
messages that have been reorded by the fabric.

Please don't misunderstand me.  I don't think that sending interleaved
message segments is a good idea. As I've said before, I would advocate for
strict Data Source ordering rules that state all segments within a message
be sent in order and not overlapped.  Nevertheless, I take it on faith that
allowing a more relaxed message ordering semantic will provide efficiencies
for someone.  If there are efficiencies for reordering segments within a
message, I would assume these same efficiencies would be present across
messages and I believe the current draft can be read to support such a send
method.

The bottom line is that having message segment ordering rules inferred
instead of explicitly stated could lead to interoperability issues down the
road.  If we were talking about pure software stacks, these can be easily
adjusted.  However, all of the interesting implementation will be done in
silicon/microcode.  Adjustments in this space are expensive and time
consuming.

Roy

> That leaves the loophole, that probably should be closed,
> that a local interface that accepted one or more untagged
> writes and an untagged message "at the same time" MUST
> consider the untagged message to have been provided later.
>
> Caitlin Bestler
> http://asomi.com/CaitlinBestler/
>
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp




_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 21 18:49:28 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA18059
	for <rddp-archive@odin.ietf.org>; Mon, 21 Oct 2002 18:49:28 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9LMpJC28916
	for rddp-archive@odin.ietf.org; Mon, 21 Oct 2002 18:51:19 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LMpJv28913
	for <rddp-web-archive@optimus.ietf.org>; Mon, 21 Oct 2002 18:51:19 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA18037
	for <rddp-web-archive@ietf.org>; Mon, 21 Oct 2002 18:48:57 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LMp9v28902;
	Mon, 21 Oct 2002 18:51:09 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LMo5v28880
	for <rddp@optimus.ietf.org>; Mon, 21 Oct 2002 18:50:05 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA17985
	for <rddp@ietf.org>; Mon, 21 Oct 2002 18:47:44 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9LMpAc04324;
	Mon, 21 Oct 2002 17:51:10 -0500
Date: Mon, 21 Oct 2002 17:49:57 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: [rddp]  Another DDP segment question
To: "'rddp@ietf.org'" <rddp@ietf.org>
cc: "Shah, Hemal" <hemal.shah@intel.com>,
        "Larsen, Roy K" <roy.k.larsen@intel.com>
X-Priority: 3
In-Reply-To: <D9223EB959A5D511A98F00508B68C20C06BC51D6@orsmsx108.jf.intel.com>
Message-ID: <r01050300-1015-6C1D130EE54711D6A8BB003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/21/02, Larsen, Roy K wrote:





>Well, as long a message delivery was done in order (i.e.
>'L' bit segments sent in order), it shouldn't matter when
>segments of an untagged message get placed and in fact
>must be allowed for to deal with segments from different
>messages that have been reorded by the fabric.
>
>Please don't misunderstand me.  I don't think that sending
>interleaved message segments is a good idea. As I've said
>before, I would advocate for strict Data Source ordering
>rules that state all segments within a message be sent in
>order and not overlapped.  Nevertheless, I take it on
>faith that allowing a more relaxed message ordering
>semantic will provide efficiencies for someone.  If there
>are efficiencies for reordering segments within a message,
>I would assume these same efficiencies would be present
>across messages and I believe the current draft can be
>read to support such a send method.
>

This would indeed be valid. Further, it does not have any
adverse effect on the receiver. The receiver already has to
deal with *receiving* segments out of order, anyway.

Specifically, processing an untagged segment requires two
steps: placement and optional completion.

Placement requires matching the message number with the
appropriate queue of anonymous buffers (presumably a
"receive queue", although other compliant options could be
found). The target address range must be validated, and then
the payload is eligible for placement.

This is virtually identical to a tagged placement, except
for the method by which the target buffer is specified.

The additional step is that the DDP receiver must remember
when an 'L' bit was set, and the LLP location-marker where
it was found. When the LLP ack-window reaches this point the
completion must be reported.

Nothing in that required processing is in any way affected
by creative ordering of the segments within a message.

As that it is not a requirement for interoperability, the
draft should retain the absolute minimalism of the current
specification.

As for their being no reason for this flexibility, I think
it is best to just stick with the general mantra to accept
as much as possible. The looser receive specification does
not add work for the receiver, or cause any problems.

It may seem 'obvious' that there is no reason not to send
the segments of a message in order, but that assumes the
source of the message is pre-assembled in a sequence of
bytes on the source. If the message is being assembled on
the fly (with a scatter-gather list) then there could be
differences in the availability of elements of the message.
There is no reason to limit future implementations if the
only benefit to the protocol is simpler examples.

>The bottom line is that having message segment ordering
>rules inferred instead of explicitly stated could lead to
>interoperability issues down the road.  If we were talking
>about pure software stacks, these can be easily adjusted. 
>However, all of the interesting implementation will be
>done in silicon/microcode.  Adjustments in this space are
>expensive and time consuming.
>

Again, there is a simple receiver algorithm that will not
even notice reordering of non-"L" untagged segments. This
algorithm is clearly implementable in hardware or software.
Therefore the only danger to interoperability would be
non-compliant implementations that imposed invalid, and
unneeded, false validity checks merely because they worked
for most peers.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 21 19:20:19 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA18811
	for <rddp-archive@odin.ietf.org>; Mon, 21 Oct 2002 19:20:19 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9LNMAx30123
	for rddp-archive@odin.ietf.org; Mon, 21 Oct 2002 19:22:10 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LNMAv30120
	for <rddp-web-archive@optimus.ietf.org>; Mon, 21 Oct 2002 19:22:10 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA18798
	for <rddp-web-archive@ietf.org>; Mon, 21 Oct 2002 19:19:48 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LNM2v30110;
	Mon, 21 Oct 2002 19:22:02 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9LNLrv30095
	for <rddp@optimus.ietf.org>; Mon, 21 Oct 2002 19:21:53 -0400
Received: from thebe.your-site.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA18792
	for <rddp@ietf.org>; Mon, 21 Oct 2002 19:19:31 -0400 (EDT)
Received: from 192.168.0.2 (64-144-5-25.client.dsl.net [64.144.5.25])
	by thebe.your-site.com (Postfix) with ESMTP id EF11F2EBF1
	for <rddp@ietf.org>; Mon, 21 Oct 2002 19:21:45 -0400 (EDT)
Date: Mon, 21 Oct 2002 18:21:45 -0500
From: Caitlin Bestler <cait@asomi.com>
To: rddp@ietf.org
X-Priority: 3
Message-ID: <r01050300-1015-DD827733E54B11D6A8BB003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Subject: [rddp] Untagged Messages requirements for unreliable transports
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

While discussing the absolute minimal requirements for
correct ordering of untagged message segments it occurred to
me that there are additional requirements that would be
valid for DDP over an unreliable transport.

Unreliable mapping is not a top priority right now, but it
would probably be desirable to place any simple restrictions
on the reliable modes that will make later defintion of
unreliable DDP simpler -- especially if they do not really
impose any costs on the reliable versions.

Specifically, I believe the following rule can be added at
no real cost to reliable implementations which would greatly
benefit unreliable implementations:

    Each byte within an untagged message must be presented
    to the LLP as part of exactly one untagged segment.
    
The rationale:

With a reliable LLP, the DDP receiver knows that a message
has been completely received when the LLP-ack-point passes
the point where the DDP segment with the 'L' bit was set.
By the nature of a reliable transport, all prior segments
that are part of that message are known to have been
received. No scoreboarding of any kind is required.

With an unreliable LLP, the DDP receiver must have a way of
knowing that the complete message has been received. A very
simple method for doing so would be to count the bytes
placed for the message, and include a validating count for
the last segment (this assumes a definition of unreliable
LLP that delivers each DDP segment at most once).


So this requirement would:

- only restrict the Data Source from doing something stupid     
    (redundantly sending the same data).
- simplify the logic for an unreliable DDP.
- encourage greater compatability between mainstream
    DDP (reliable) and any future unreliable mode.
    
    

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct 22 14:52:48 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA00379
	for <rddp-archive@odin.ietf.org>; Tue, 22 Oct 2002 14:52:48 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9MIsc532220
	for rddp-archive@odin.ietf.org; Tue, 22 Oct 2002 14:54:38 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9MIscv32217
	for <rddp-web-archive@optimus.ietf.org>; Tue, 22 Oct 2002 14:54:38 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA00333
	for <rddp-web-archive@ietf.org>; Tue, 22 Oct 2002 14:52:17 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9MIsGv32200;
	Tue, 22 Oct 2002 14:54:16 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9MIrov32165
	for <rddp@optimus.ietf.org>; Tue, 22 Oct 2002 14:53:50 -0400
Received: from emulex.emulex.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA00311;
	Tue, 22 Oct 2002 14:51:28 -0400 (EDT)
Received: from xbl.ad.emulex.com (xbl.ma.emulex.com [172.16.12.11])
	by emulex.emulex.com (8.9.1a/8.9.1) with ESMTP id LAA26708;
	Tue, 22 Oct 2002 11:53:37 -0700 (PDT)
Received: by xbl.ma.emulex.com with Internet Mail Service (5.5.2653.19)
	id <VD68NC4J>; Tue, 22 Oct 2002 14:48:44 -0400
Message-ID: <3356669BBE90C448AD4645C843E2BF289B8EC8@xbl.ma.emulex.com>
From: "Williams, Jim" <Jim.Williams@Emulex.com>
To: "'Culley, Paul'" <Paul.Culley@hp.com>
Cc: "'tsvwg@ietf.org'" <tsvwg@ietf.org>, "'rddp@ietf.org'" <rddp@ietf.org>
Subject: RE: [rddp] I-D ACTION:draft-williams-iwarp-ift-00.txt
Date: Tue, 22 Oct 2002 14:48:43 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

Regarding separation of header and payload CRCs:

Paul Culley wrote:

> It was observed that a NIC must buffer the entire packet before it 
> can be used in any way if the Ethernet CRC and IP/TCP checksums are 
> checked before use.  Most NICs have macros that check this stuff 
> before any layer 4 or higher processing is started. The NIC 
> vendors found that adding CRC on the whole packet to this scheme 
> offered no disadvantage over separate CRCs.  They would not be 
> able to do a "flow-through" design anyway.

Thanks for your response, Paul.

I agree that if DDP PDUs are always aligned with TCP PDUs, then
the CRC can be checked before any layer 4 processing is done.
If, however, DDP PDUs are not necessarily aligned, then layer 4
processing must be done first to determine where the CRC computation
begins and ends, and fetch the starting seed if a partial CRC has
already been computed.  When the payload is split between two
TCP segments, placement of the beginning of the payload will
ideally begin before the end of the payload and 
associated CRC has been received.

So the critical question is should we rely on the remote end
to always align DDP PDUs to TCP PDUs?  TCP does not by default
do this.  Certainly TCP implementation can be easily modified
to do this.  

I am not arguing that TCP implementations should or should not
be so modified.  However the addition of a second CRC is 
relatively low incremental cost even if the remote TCP does
alignment, and it is a big win if the remote TCP does not
do alignment.  It seems desirable not to be dependent on
the remote end supporting a modified TCP implementation,
especially when the cost of avoiding this dependency is low.

_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct 22 14:59:18 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA00669
	for <rddp-archive@odin.ietf.org>; Tue, 22 Oct 2002 14:59:18 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9MJ19M32559
	for rddp-archive@odin.ietf.org; Tue, 22 Oct 2002 15:01:09 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9MJ18v32556
	for <rddp-web-archive@optimus.ietf.org>; Tue, 22 Oct 2002 15:01:08 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA00652
	for <rddp-web-archive@ietf.org>; Tue, 22 Oct 2002 14:58:47 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9MJ11v32543;
	Tue, 22 Oct 2002 15:01:01 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9MJ04v32491
	for <rddp@optimus.ietf.org>; Tue, 22 Oct 2002 15:00:04 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA00611;
	Tue, 22 Oct 2002 14:57:43 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9MJ1Cc07549;
	Tue, 22 Oct 2002 14:01:13 -0500
Date: Tue, 22 Oct 2002 13:59:57 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: RE: [rddp] I-D ACTION:draft-williams-iwarp-ift-00.txt
To: "'rddp@ietf.org'" <rddp@ietf.org>
cc: "'Culley, Paul'" <Paul.Culley@hp.com>, "'tsvwg@ietf.org'" <tsvwg@ietf.org>,
        "Williams, Jim" <Jim.Williams@Emulex.com>
X-Priority: 3
In-Reply-To: <3356669BBE90C448AD4645C843E2BF289B8EC8@xbl.ma.emulex.com>
Message-ID: <r01050300-1015-7538A354E5F011D6AA57003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/22/02, Williams, Jim wrote:


>
>I am not arguing that TCP implementations should or should
> not be so modified.  However the addition of a second CRC
> is relatively low incremental cost even if the remote TCP
> does alignment, and it is a big win if the remote TCP
> does not do alignment.  It seems desirable not to be
> dependent on the remote end supporting a modified TCP
> implementation, especially when the cost of avoiding this
> dependency is low.
>

If the remote TCP does not do alignment, OR an intermediate
middle-box breaks that alignment. The latter problem is what
cannot be avoided.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Wed Oct 23 10:46:58 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA08215
	for <rddp-archive@odin.ietf.org>; Wed, 23 Oct 2002 10:46:58 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9NEml701639
	for rddp-archive@odin.ietf.org; Wed, 23 Oct 2002 10:48:47 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9NEmlv01636
	for <rddp-web-archive@optimus.ietf.org>; Wed, 23 Oct 2002 10:48:47 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA08108
	for <rddp-web-archive@ietf.org>; Wed, 23 Oct 2002 10:46:26 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9NEmDv01577;
	Wed, 23 Oct 2002 10:48:14 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9NElZv01551
	for <rddp@optimus.ietf.org>; Wed, 23 Oct 2002 10:47:35 -0400
Received: from ztxmail04.ztx.compaq.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA07867;
	Wed, 23 Oct 2002 10:45:14 -0400 (EDT)
Received: from cceexg13.americas.cpqcorp.net (cceexg13.americas.cpqcorp.net [16.110.250.119])
	by ztxmail04.ztx.compaq.com (Postfix) with ESMTP
	id D43EE11EF; Wed, 23 Oct 2002 09:47:30 -0500 (CDT)
Received: from cceexc18.americas.cpqcorp.net ([16.110.250.64]) by cceexg13.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966);
	 Wed, 23 Oct 2002 09:47:30 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Date: Wed, 23 Oct 2002 09:47:30 -0500
Message-ID: <4D027986353D1341ADA4F2A4F8A1707628687F7F@cceexc18.americas.cpqcorp.net>
Thread-Topic: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
Thread-Index: AcJ24+wFmgo6kRk6QkKT4Q5vhbu1KADvUOOA
From: "Culley, Paul" <Paul.Culley@hp.com>
To: "Williams, Jim" <Jim.Williams@emulex.com>, <tsvwg@ietf.org>,
        <rddp@ietf.org>
X-OriginalArrivalTime: 23 Oct 2002 14:47:30.0628 (UTC) FILETIME=[1D19C040:01C27AA3]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by www1.ietf.org id g9NElZv01552
Subject: [rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit

Interestingly enough, during our framing discussions, both the added header CRC and Markers were seriously discussed before we came to our conclusions.  We had several NIC vendors present who presented private analysis as well as (too many) opinions based on various potential NIC models.  We came to several conclusions:

1) You are right that packet processing rates require an elasticity buffer.

2) When many connections are running at one time, the NIC memory needed for dealing with the  out-of-order packets scales by the number of connections.  We intend to support large numbers of connections (100s to 10000s).  The memory needed rapidly goes out of range of what is needed for elasticity.  The amount of memory also scales with latency bandwidth product, at 1-10 gigabit this gets nasty very fast.  Thus out of order processing and markers to absolutely identify them...

3) It was observed that a NIC must buffer the entire packet before it can be used in any way if the Ethernet CRC and IP/TCP checksums are checked before use.  Most NICs have macros that check this stuff before any layer 4 or higher processing is started. The NIC vendors found that adding CRC on the whole packet to this scheme offered no disadvantage over separate CRCs.  They would not be able to do a "flow-through" design anyway.

All of this discussion applies to "rototilled" NICs which freely work across layer boundaries.

While strictly layered NICs (and software stacks) will undoubtedly be used, we focused on enabling inexpensive but performant devices.

Paul R. Culley (Sr. Fellow)
Hewlett-Packard Company
281-514-5543



-----Original Message-----
From: Williams, Jim [mailto:Jim.Williams@emulex.com]
Sent: Friday, October 18, 2002 3:13 PM
To: 'tsvwg@ietf.org'; 'rddp@ietf.org'
Subject: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt


A New Internet-Draft is available from the on-line Internet-Drafts
directories.


	Title		: iWARP Framing for TCP
	Author(s)	: J. Williams
	Filename	: draft-williams-iwarp-ift-00.txt
	Pages		: 10
	Date		: 2002-10-10
	
A framing protocol is defined for DDP over TCP that is fully
compliant with applicable TCP RFCs and fully interoperable with
existing TCP implementations.  This protocol is being offered 
for discussion and consideration as an alternative to the
proposal offered in "draft-culley-iwarp-mpa-00.txt".

The protocol offers to two things, definition of the DDP record
boundaries within the TCP stream, and added data integrity 
by means of added CRC protection.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-williams-iwarp-ift-00.txt
_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
https://www1.ietf.org/mailman/listinfo/tsvwg
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 24 19:29:27 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA26935
	for <rddp-archive@odin.ietf.org>; Thu, 24 Oct 2002 19:29:27 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9ONVMR18540
	for rddp-archive@odin.ietf.org; Thu, 24 Oct 2002 19:31:22 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ONVLv18537
	for <rddp-web-archive@optimus.ietf.org>; Thu, 24 Oct 2002 19:31:21 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA26923
	for <rddp-web-archive@ietf.org>; Thu, 24 Oct 2002 19:28:56 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ONVBv18524;
	Thu, 24 Oct 2002 19:31:11 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9ONUdv18494
	for <rddp@optimus.ietf.org>; Thu, 24 Oct 2002 19:30:39 -0400
Received: from mailhub.lss.emc.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA26910
	for <rddp@ietf.org>; Thu, 24 Oct 2002 19:28:13 -0400 (EDT)
From: Black_David@emc.com
Received: from emc.com (emcmail.lss.emc.com [168.159.48.78])
	by mailhub.lss.emc.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g9ONUSL01548
	for <rddp@ietf.org>; Thu, 24 Oct 2002 19:30:29 -0400 (EDT)
Received: from mxic1.isus.emc.com ([168.159.129.100])
	by emc.com (8.10.1/8.10.1) with ESMTP id g9ONUS716349
	for <rddp@ietf.org>; Thu, 24 Oct 2002 19:30:28 -0400 (EDT)
Received: by MXIC1 with Internet Mail Service (5.5.2653.19)
	id <VRWCT7R0>; Thu, 24 Oct 2002 19:30:28 -0400
Message-ID: <277DD60FB639D511AC0400B0D068B71E0564C47C@CORPMX14>
To: rddp@ietf.org
Date: Thu, 24 Oct 2002 19:30:24 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: [rddp] Atlanta meeting times
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

Some people may have noticed that the meeting time for
the RDDP WG on the draft IETF agenda for Atlanta has
stayed in the same place for a while and may be assuming
that it will stay put.  That could be a bad assumption
- we are still a week or more away from a final schedule,
and this is about the point in the scheduling process
where the fact that scheduling in the presence of conflicts
is an NP-complete problem rears its ugly head.  WG meeting
times aren't final until the final agenda comes out, and
that's still a week or more away.  Having been inconvenienced
by this in the past, I thought I'd warn those making travel
plans.

Thanks,
--David

----------------------------------------------------
David L. Black, Senior Technologist
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953 **NEW**     FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 25 11:21:26 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA28119
	for <rddp-archive@odin.ietf.org>; Fri, 25 Oct 2002 11:21:25 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9PFNGT10677
	for rddp-archive@odin.ietf.org; Fri, 25 Oct 2002 11:23:16 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PFNGv10674
	for <rddp-web-archive@optimus.ietf.org>; Fri, 25 Oct 2002 11:23:16 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA28108
	for <rddp-web-archive@ietf.org>; Fri, 25 Oct 2002 11:20:54 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PFN5v10662;
	Fri, 25 Oct 2002 11:23:06 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PFMCv10628
	for <rddp@optimus.ietf.org>; Fri, 25 Oct 2002 11:22:12 -0400
Received: from emulex.emulex.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA28087;
	Fri, 25 Oct 2002 11:19:49 -0400 (EDT)
Received: from xbl.ad.emulex.com (xbl.ma.emulex.com [172.16.12.11])
	by emulex.emulex.com (8.9.1a/8.9.1) with ESMTP id IAA15907;
	Fri, 25 Oct 2002 08:22:06 -0700 (PDT)
Received: by xbl.ma.emulex.com with Internet Mail Service (5.5.2653.19)
	id <VD68N246>; Fri, 25 Oct 2002 11:17:00 -0400
Message-ID: <3356669BBE90C448AD4645C843E2BF289B8ED0@xbl.ma.emulex.com>
From: "Williams, Jim" <Jim.Williams@Emulex.com>
To: tsvwg@ietf.org, rddp@ietf.org
Date: Fri, 25 Oct 2002 11:16:49 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: [rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>



> -----Original Message-----
> From: Culley, Paul [mailto:Paul.Culley@hp.com]
> 
> Interestingly enough, during our framing discussions, both 
> the added header CRC and Markers were seriously discussed 
> before we came to our conclusions.  We had several NIC 
> vendors present who presented private analysis as well as 
> (too many) opinions based on various potential NIC models.  
> We came to several conclusions:
> 
> 1) You are right that packet processing rates require an 
> elasticity buffer.
> 
> 2) When many connections are running at one time, the NIC 
> memory needed for dealing with the  out-of-order packets 
> scales by the number of connections.  We intend to support 
> large numbers of connections (100s to 10000s).  The memory 
> needed rapidly goes out of range of what is needed for 
> elasticity.  The amount of memory also scales with latency 
> bandwidth product, at 1-10 gigabit this gets nasty very fast. 
> Thus out of order processing and markers to absolutely 
> identify them...

This is really the critical core issue we need to discuss 
in more depth.

My views tend to be as follows.

  A.  I think you are underestimating the amount of memory
      required for elasticity buffering, and overestimating
      the memory required for out of order reassembly.

  B.  Once the cost is incurred of adding external (off ASIC)
      memory of sufficient bandwidth for elasticity, the
      incremental cost of additional megabytes is quite
      low.

  C.  I question whether memory required for out of order
      reassembly scales with number of connections.  On a
      particular connection, the required memory should 
      never be larger than the bandwidth delay product
      of that connection.  The more active connections
      there are, the less bandwidth is available for each
      connection.

  D.  A product design needs to set performance goals at two
      (at least) different traffic mixes, large
      messages, and small messages.  An accelerated NIC
      which is able to support line rate with small messages
      is seriously over designed and non cost effective.
      Supporting line rate at large and medium size messages
      is reasonable, and requires significantly lower peak
      packet processing rates.

      The result of this is that for small messages, one
      needs to rely on elasticity buffering and end to 
      end flow control to avoid large scale dropping of
      incoming packets.  With insufficient buffering,
      the supported rate for small messages will be 
      terrible due to constant dropped packets and 
      retransmission timeouts. 

Unfortunately, at the moment I don't have quantitative
analysis sufficiently clear and documented to share.
I will try to work on that, but it is tricky due the
need to make a number of somewhat arbitrary assumptions.

In the mean time it would be helpful for the RDMAC to share
what ever quantitative analysis they have done to reach 
their conclusions.


_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 25 11:46:43 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA29014
	for <rddp-archive@odin.ietf.org>; Fri, 25 Oct 2002 11:46:43 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9PFmYq12102
	for rddp-archive@odin.ietf.org; Fri, 25 Oct 2002 11:48:34 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PFmYv12099
	for <rddp-web-archive@optimus.ietf.org>; Fri, 25 Oct 2002 11:48:34 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA28986
	for <rddp-web-archive@ietf.org>; Fri, 25 Oct 2002 11:46:12 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PFmIv12091;
	Fri, 25 Oct 2002 11:48:18 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PFlfv12011
	for <rddp@optimus.ietf.org>; Fri, 25 Oct 2002 11:47:41 -0400
Received: from d12lmsgate-3.de.ibm.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA28962;
	Fri, 25 Oct 2002 11:45:18 -0400 (EDT)
Received: from d12relay02.de.ibm.com (d12relay02.de.ibm.com [9.165.215.23])
	by d12lmsgate-3.de.ibm.com (8.12.3/8.12.3) with ESMTP id g9PFktRa022284;
	Fri, 25 Oct 2002 17:46:55 +0200
Received: from d10hubm1.telaviv.ibm.com (d10ml001.telaviv.ibm.com [9.148.216.55])
	by d12relay02.de.ibm.com (8.12.3/NCO/VER6.4) with ESMTP id g9PFktf8087584;
	Fri, 25 Oct 2002 17:46:56 +0200
In-Reply-To: <3356669BBE90C448AD4645C843E2BF289B8ED0@xbl.ma.emulex.com>
To: "Williams, Jim" <Jim.Williams@emulex.com>
Cc: rddp@ietf.org, rddp-admin@ietf.org, tsvwg@ietf.org
MIME-Version: 1.0
Subject: Re: [rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
From: "Julian Satran" <Julian_Satran@il.ibm.com>
Message-ID: <OF50F468D8.1462CC6E-ONC2256C5D.00559534-C2256C5D.0056B1D9@telaviv.ibm.com>
Date: Fri, 25 Oct 2002 17:46:51 +0200
X-MIMETrack: Serialize by Router on D10ML001/10/M/IBM(Release 5.0.9a |January 7, 2002) at
 25/10/2002 17:46:55,
	Serialize complete at 25/10/2002 17:46:55
Content-Type: multipart/alternative; boundary="=_alternative 005632FCC2256C5D_="
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

This is a multipart message in MIME format.
--=_alternative 005632FCC2256C5D_=
Content-Type: text/plain; charset="US-ASCII"

Jim,

Do you have some data about the cost ratio for your point B (initial cost 
versus cost/MB)?

And I fully agree with C. It amazes me how often I hear this memory 
scaling and connections "argument".
It is probably true in a VIA-user-space setting with every connection 
ending in a separate address space and having to be designed for the link 
max-speed and not the real connection usage but certainly not true in a 
NIC where buffers are anonymous in a common pool.

BTW the above is also the strongest argument against long term real 
(pinned) buffers for user-space communication and it has been made ages 
ago.

Julo




"Williams, Jim" <Jim.Williams@emulex.com>
Sent by: rddp-admin@ietf.org
25/10/02 17:16
 
        To:     tsvwg@ietf.org, rddp@ietf.org
        cc: 
        Subject:        [rddp] RE: [Tsvwg] I-D 
ACTION:draft-williams-iwarp-ift-00.txt

 



> -----Original Message-----
> From: Culley, Paul [mailto:Paul.Culley@hp.com]
> 
> Interestingly enough, during our framing discussions, both 
> the added header CRC and Markers were seriously discussed 
> before we came to our conclusions.  We had several NIC 
> vendors present who presented private analysis as well as 
> (too many) opinions based on various potential NIC models. 
> We came to several conclusions:
> 
> 1) You are right that packet processing rates require an 
> elasticity buffer.
> 
> 2) When many connections are running at one time, the NIC 
> memory needed for dealing with the  out-of-order packets 
> scales by the number of connections.  We intend to support 
> large numbers of connections (100s to 10000s).  The memory 
> needed rapidly goes out of range of what is needed for 
> elasticity.  The amount of memory also scales with latency 
> bandwidth product, at 1-10 gigabit this gets nasty very fast. 
> Thus out of order processing and markers to absolutely 
> identify them...

This is really the critical core issue we need to discuss 
in more depth.

My views tend to be as follows.

  A.  I think you are underestimating the amount of memory
      required for elasticity buffering, and overestimating
      the memory required for out of order reassembly.

  B.  Once the cost is incurred of adding external (off ASIC)
      memory of sufficient bandwidth for elasticity, the
      incremental cost of additional megabytes is quite
      low.

  C.  I question whether memory required for out of order
      reassembly scales with number of connections.  On a
      particular connection, the required memory should 
      never be larger than the bandwidth delay product
      of that connection.  The more active connections
      there are, the less bandwidth is available for each
      connection.

  D.  A product design needs to set performance goals at two
      (at least) different traffic mixes, large
      messages, and small messages.  An accelerated NIC
      which is able to support line rate with small messages
      is seriously over designed and non cost effective.
      Supporting line rate at large and medium size messages
      is reasonable, and requires significantly lower peak
      packet processing rates.

      The result of this is that for small messages, one
      needs to rely on elasticity buffering and end to 
      end flow control to avoid large scale dropping of
      incoming packets.  With insufficient buffering,
      the supported rate for small messages will be 
      terrible due to constant dropped packets and 
      retransmission timeouts. 

Unfortunately, at the moment I don't have quantitative
analysis sufficiently clear and documented to share.
I will try to work on that, but it is tricky due the
need to make a number of somewhat arbitrary assumptions.

In the mean time it would be helpful for the RDMAC to share
what ever quantitative analysis they have done to reach 
their conclusions.


_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp


--=_alternative 005632FCC2256C5D_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Jim,</font>
<br>
<br><font size=2 face="sans-serif">Do you have some data about the cost
ratio for your point B (initial cost versus cost/MB)?</font>
<br>
<br><font size=2 face="sans-serif">And I fully agree with C. It amazes
me how often I hear this memory scaling and connections &quot;argument&quot;.</font>
<br><font size=2 face="sans-serif">It is probably true in a VIA-user-space
setting with every connection ending in a separate address space and having
to be designed for the link max-speed and not the real connection usage
but certainly not true in a NIC where buffers are anonymous in a common
pool.</font>
<br>
<br><font size=2 face="sans-serif">BTW the above is also the strongest
argument against long term real (pinned) buffers for user-space communication
and it has been made ages ago.</font>
<br>
<br><font size=2 face="sans-serif">Julo</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>&quot;Williams, Jim&quot; &lt;Jim.Williams@emulex.com&gt;</b></font>
<br><font size=1 face="sans-serif">Sent by: rddp-admin@ietf.org</font>
<p><font size=1 face="sans-serif">25/10/02 17:16</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;tsvwg@ietf.org, rddp@ietf.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;[rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt</font>
<br>
<br><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp;</font></table>
<br>
<br><font size=2><tt><br>
<br>
&gt; -----Original Message-----<br>
&gt; From: Culley, Paul [mailto:Paul.Culley@hp.com]<br>
&gt; <br>
&gt; Interestingly enough, during our framing discussions, both <br>
&gt; the added header CRC and Markers were seriously discussed <br>
&gt; before we came to our conclusions. &nbsp;We had several NIC <br>
&gt; vendors present who presented private analysis as well as <br>
&gt; (too many) opinions based on various potential NIC models. &nbsp;<br>
&gt; We came to several conclusions:<br>
&gt; <br>
&gt; 1) You are right that packet processing rates require an <br>
&gt; elasticity buffer.<br>
&gt; <br>
&gt; 2) When many connections are running at one time, the NIC <br>
&gt; memory needed for dealing with the &nbsp;out-of-order packets <br>
&gt; scales by the number of connections. &nbsp;We intend to support <br>
&gt; large numbers of connections (100s to 10000s). &nbsp;The memory <br>
&gt; needed rapidly goes out of range of what is needed for <br>
&gt; elasticity. &nbsp;The amount of memory also scales with latency <br>
&gt; bandwidth product, at 1-10 gigabit this gets nasty very fast. <br>
&gt; Thus out of order processing and markers to absolutely <br>
&gt; identify them...<br>
<br>
This is really the critical core issue we need to discuss <br>
in more depth.<br>
<br>
My views tend to be as follows.<br>
<br>
 &nbsp;A. &nbsp;I think you are underestimating the amount of memory<br>
 &nbsp; &nbsp; &nbsp;required for elasticity buffering, and overestimating<br>
 &nbsp; &nbsp; &nbsp;the memory required for out of order reassembly.<br>
<br>
 &nbsp;B. &nbsp;Once the cost is incurred of adding external (off ASIC)<br>
 &nbsp; &nbsp; &nbsp;memory of sufficient bandwidth for elasticity, the<br>
 &nbsp; &nbsp; &nbsp;incremental cost of additional megabytes is quite<br>
 &nbsp; &nbsp; &nbsp;low.<br>
<br>
 &nbsp;C. &nbsp;I question whether memory required for out of order<br>
 &nbsp; &nbsp; &nbsp;reassembly scales with number of connections. &nbsp;On
a<br>
 &nbsp; &nbsp; &nbsp;particular connection, the required memory should
<br>
 &nbsp; &nbsp; &nbsp;never be larger than the bandwidth delay product<br>
 &nbsp; &nbsp; &nbsp;of that connection. &nbsp;The more active connections<br>
 &nbsp; &nbsp; &nbsp;there are, the less bandwidth is available for each<br>
 &nbsp; &nbsp; &nbsp;connection.<br>
<br>
 &nbsp;D. &nbsp;A product design needs to set performance goals at two<br>
 &nbsp; &nbsp; &nbsp;(at least) different traffic mixes, large<br>
 &nbsp; &nbsp; &nbsp;messages, and small messages. &nbsp;An accelerated
NIC<br>
 &nbsp; &nbsp; &nbsp;which is able to support line rate with small messages<br>
 &nbsp; &nbsp; &nbsp;is seriously over designed and non cost effective.<br>
 &nbsp; &nbsp; &nbsp;Supporting line rate at large and medium size messages<br>
 &nbsp; &nbsp; &nbsp;is reasonable, and requires significantly lower peak<br>
 &nbsp; &nbsp; &nbsp;packet processing rates.<br>
<br>
 &nbsp; &nbsp; &nbsp;The result of this is that for small messages, one<br>
 &nbsp; &nbsp; &nbsp;needs to rely on elasticity buffering and end to <br>
 &nbsp; &nbsp; &nbsp;end flow control to avoid large scale dropping of<br>
 &nbsp; &nbsp; &nbsp;incoming packets. &nbsp;With insufficient buffering,<br>
 &nbsp; &nbsp; &nbsp;the supported rate for small messages will be <br>
 &nbsp; &nbsp; &nbsp;terrible due to constant dropped packets and <br>
 &nbsp; &nbsp; &nbsp;retransmission timeouts. <br>
<br>
Unfortunately, at the moment I don't have quantitative<br>
analysis sufficiently clear and documented to share.<br>
I will try to work on that, but it is tricky due the<br>
need to make a number of somewhat arbitrary assumptions.<br>
<br>
In the mean time it would be helpful for the RDMAC to share<br>
what ever quantitative analysis they have done to reach <br>
their conclusions.<br>
<br>
<br>
_______________________________________________<br>
rddp mailing list<br>
rddp@ietf.org<br>
https://www1.ietf.org/mailman/listinfo/rddp<br>
</tt></font>
<br>
--=_alternative 005632FCC2256C5D_=--
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 25 12:10:22 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA00154
	for <rddp-archive@odin.ietf.org>; Fri, 25 Oct 2002 12:10:21 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9PGCDD14217
	for rddp-archive@odin.ietf.org; Fri, 25 Oct 2002 12:12:13 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PGCDv14214
	for <rddp-web-archive@optimus.ietf.org>; Fri, 25 Oct 2002 12:12:13 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA00128
	for <rddp-web-archive@ietf.org>; Fri, 25 Oct 2002 12:09:50 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PGC5v14145;
	Fri, 25 Oct 2002 12:12:05 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PGARv13899
	for <rddp@optimus.ietf.org>; Fri, 25 Oct 2002 12:10:27 -0400
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA00024;
	Fri, 25 Oct 2002 12:08:03 -0400 (EDT)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9PGBkc17973;
	Fri, 25 Oct 2002 11:11:47 -0500
Date: Fri, 25 Oct 2002 11:10:20 -0500
From: Caitlin Bestler <caitlinb@rp.asomi.net>
To: rddp@ietf.org, tsvwg@ietf.org
cc: "Williams, Jim" <Jim.Williams@Emulex.com>
X-Priority: 3
In-Reply-To: <3356669BBE90C448AD4645C843E2BF289B8ED0@xbl.ma.emulex.com>
Message-ID: <r01050300-1015-429AA7C4E83411D69730003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Subject: [rddp] Re: [rddp][Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/25/02, Williams, Jim wrote:


>
>This is really the critical core issue we need to discuss 
>in more depth.
>
>My views tend to be as follows.
>
>  A.  I think you are underestimating the amount of memory
>      required for elasticity buffering, and overestimating
>      the memory required for out of order reassembly.
>
>  B.  Once the cost is incurred of adding external (off 
>       ASIC) memory of sufficient bandwidth for elasticity, 
>       the incremental cost of additional megabytes is 
>       quite low.

True. But particularly at the lower bit rates, on-chip
memory could easily be adequate for re-assembling split DDP
segments and buffering host bus access.

Also consider that during the life of the protocol, the
scope of on-chip memory is only going to improve.
>
>  C.  I question whether memory required for out of order
>      reassembly scales with number of connections.  On a
>      particular connection, the required memory should 
>      never be larger than the bandwidth delay product
>      of that connection.  The more active connections
>      there are, the less bandwidth is available for each
>      connection.
>

You still have the split round-up effect. The buffering for
each connection must be rounded up due to allocation
granularity and bookkeeping overhead.

An algorithm that uses a large allocation granularity would
have a dramatic increase in the total memory required when
the number of connections rose. There are alternate
algorithms that will reduce this, however.

>  D.  A product design needs to set performance goals at 
>       two (at least) different traffic mixes, large
>      messages, and small messages.  An accelerated NIC
>      which is able to support line rate with small 
>       messages is seriously over designed and non cost 
>       effective.
>
>      Supporting line rate at large and medium size 
>       messages is reasonable, and requires significantly 
>       lower peak packet processing rates.
>
>      The result of this is that for small messages, one
>      needs to rely on elasticity buffering and end to 
>      end flow control to avoid large scale dropping of
>      incoming packets.  With insufficient buffering,
>      the supported rate for small messages will be 
>      terrible due to constant dropped packets and 
>      retransmission timeouts. 
>

That is a characteristic of a general TCP optimizer. I do
not believe that it applies to framing DDP segments. The
point of the MPA proposal is that it allows each DDP segment
to be processed on it own as it arrives, and further that in
virtually every case there will be exactly one DDP segment
per TCP segment / IP datagram / Ethernet Frame.

Under that scenario the size of the tagged or untagged
message is totally irrelevant, each segment is placed
as it arrives. The size and frequency of untagged messages
would have a slight affect on how often completions were
signalled. But it is hard to imagine an rddp scenario where
the host memory interactions related to receive queue
consumptions and completion queue posting would be
signifigant compared to the raw data placement.



Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 25 12:59:40 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA02162
	for <rddp-archive@odin.ietf.org>; Fri, 25 Oct 2002 12:59:40 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9PH1WY16702
	for rddp-archive@odin.ietf.org; Fri, 25 Oct 2002 13:01:32 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PH1Wv16699
	for <rddp-web-archive@optimus.ietf.org>; Fri, 25 Oct 2002 13:01:32 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA02146
	for <rddp-web-archive@ietf.org>; Fri, 25 Oct 2002 12:59:09 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PH1Nv16688;
	Fri, 25 Oct 2002 13:01:23 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PH0hv16650
	for <rddp@optimus.ietf.org>; Fri, 25 Oct 2002 13:00:44 -0400
Received: from thebe.your-site.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA02093
	for <rddp@ietf.org>; Fri, 25 Oct 2002 12:58:20 -0400 (EDT)
Received: from 192.168.0.2 (64-144-5-25.client.dsl.net [64.144.5.25])
	by thebe.your-site.com (Postfix) with ESMTP
	id EEDC138D1D; Fri, 25 Oct 2002 13:00:24 -0400 (EDT)
Date: Fri, 25 Oct 2002 12:00:24 -0500
From: Caitlin Bestler <cait@asomi.com>
Subject: Re: [rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
To: Julian Satran <Julian_Satran@il.ibm.com>, rddp@ietf.org
X-Priority: 3
In-Reply-To: <OF50F468D8.1462CC6E-ONC2256C5D.00559534-C2256C5D.0056B1D9@telaviv.ibm.com>
Message-ID: <r01050300-1015-411669E4E83B11D69730003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/25/02, Julian Satran wrote:

>Jim,
>
>
>BTW the above is also the strongest argument against long
>term real (pinned) buffers for user-space communication
>and it has been made ages ago.
>

Which, on a totally different aspect, is why the definition
of an STag needs to remain vague and mysterious. The local
interface must provide *at least* the equivalent of an IB
R-Key, but there are many *other* options available.

In particular an STag could be just a handle that is turned
into actual memory on first write. This can be a very
valuable technique for an appliance servicing a very large
number of clients where each client connection is relatively
slow (such as a web server).


Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 25 13:12:22 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA02801
	for <rddp-archive@odin.ietf.org>; Fri, 25 Oct 2002 13:12:22 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9PHEEA17906
	for rddp-archive@odin.ietf.org; Fri, 25 Oct 2002 13:14:14 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PHEEv17903
	for <rddp-web-archive@optimus.ietf.org>; Fri, 25 Oct 2002 13:14:14 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA02767
	for <rddp-web-archive@ietf.org>; Fri, 25 Oct 2002 13:11:50 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PHE2v17868;
	Fri, 25 Oct 2002 13:14:02 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PHDbv17799
	for <rddp@optimus.ietf.org>; Fri, 25 Oct 2002 13:13:37 -0400
Received: from aarohimail.aarohicommunications.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA02694;
	Fri, 25 Oct 2002 13:11:12 -0400 (EDT)
Received: by aarohimail.aarohicommunications.com with Internet Mail Service (5.5.2653.19)
	id <VFGM2HRV>; Fri, 25 Oct 2002 10:13:23 -0700
Message-ID: <48D872DD6D7A4B4B98BEE39AC7A86D690A0CDE@aarohimail.aarohicommunications.com>
From: Parag Bhide <parag@aarohicommunications.com>
To: "'Williams, Jim'" <Jim.Williams@emulex.com>, tsvwg@ietf.org, rddp@ietf.org
Subject: RE: [rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
Date: Fri, 25 Oct 2002 10:13:22 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C27C49.D2A01AC0"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C27C49.D2A01AC0
Content-Type: text/plain

I agree that out of order processing will help reducing the buffering
requirements. But it is important to validate both the DDP header (which
contains the memory address information) *and* the fpdu length provided by
MPA header before data can be placed into memory.

This requires buffering of a complete MPA pdu for CRC validation before it
can be placed. This is a bit of a problem especially when MPA pdus got
fragmented due to MPA un-aware sender and/or middle boxes. Buffering
requirements become worse with jumbo frames (9KB MPA PDU).

It would be nice if there is a way to validate the MPA and DDP headers
(Header CRC that would cover MPA header and DDP header) without waiting for
complete MPA pdu. This will allow NIC to perform CRC check on data while it
is being placed into the host memory.

It was suggested on the reflector that this issue should be addressed by
DDP. But since fpdu length is provided by MPA and it should be the LLP which
should provide for data integrity, this issue should be addressed by MPA.


Thanks.

Parag
Aarohi Communications, Inc.


-----Original Message-----
From: Williams, Jim [mailto:Jim.Williams@emulex.com] 
Sent: Friday, October 25, 2002 8:17 AM
To: tsvwg@ietf.org; rddp@ietf.org
Subject: [rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt



> -----Original Message-----
> From: Culley, Paul [mailto:Paul.Culley@hp.com]
> 
> Interestingly enough, during our framing discussions, both 
> the added header CRC and Markers were seriously discussed 
> before we came to our conclusions.  We had several NIC 
> vendors present who presented private analysis as well as 
> (too many) opinions based on various potential NIC models.  
> We came to several conclusions:
> 
> 1) You are right that packet processing rates require an 
> elasticity buffer.
> 
> 2) When many connections are running at one time, the NIC 
> memory needed for dealing with the  out-of-order packets 
> scales by the number of connections.  We intend to support 
> large numbers of connections (100s to 10000s).  The memory 
> needed rapidly goes out of range of what is needed for 
> elasticity.  The amount of memory also scales with latency 
> bandwidth product, at 1-10 gigabit this gets nasty very fast. 
> Thus out of order processing and markers to absolutely 
> identify them...

This is really the critical core issue we need to discuss 
in more depth.

My views tend to be as follows.

  A.  I think you are underestimating the amount of memory
      required for elasticity buffering, and overestimating
      the memory required for out of order reassembly.

  B.  Once the cost is incurred of adding external (off ASIC)
      memory of sufficient bandwidth for elasticity, the
      incremental cost of additional megabytes is quite
      low.

  C.  I question whether memory required for out of order
      reassembly scales with number of connections.  On a
      particular connection, the required memory should 
      never be larger than the bandwidth delay product
      of that connection.  The more active connections
      there are, the less bandwidth is available for each
      connection.

  D.  A product design needs to set performance goals at two
      (at least) different traffic mixes, large
      messages, and small messages.  An accelerated NIC
      which is able to support line rate with small messages
      is seriously over designed and non cost effective.
      Supporting line rate at large and medium size messages
      is reasonable, and requires significantly lower peak
      packet processing rates.

      The result of this is that for small messages, one
      needs to rely on elasticity buffering and end to 
      end flow control to avoid large scale dropping of
      incoming packets.  With insufficient buffering,
      the supported rate for small messages will be 
      terrible due to constant dropped packets and 
      retransmission timeouts. 

Unfortunately, at the moment I don't have quantitative
analysis sufficiently clear and documented to share.
I will try to work on that, but it is tricky due the
need to make a number of somewhat arbitrary assumptions.

In the mean time it would be helpful for the RDMAC to share
what ever quantitative analysis they have done to reach 
their conclusions.


_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp

------_=_NextPart_001_01C27C49.D2A01AC0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [rddp] RE: [Tsvwg] I-D =
ACTION:draft-williams-iwarp-ift-00.txt</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I agree that out of order processing will help =
reducing the buffering requirements. But it is important to validate =
both the DDP header (which contains the memory address information) =
*and* the fpdu length provided by MPA header before data can be placed =
into memory.</FONT></P>

<P><FONT SIZE=3D2>This requires buffering of a complete MPA pdu for CRC =
validation before it can be placed. This is a bit of a problem =
especially when MPA pdus got fragmented due to MPA un-aware sender =
and/or middle boxes. Buffering requirements become worse with jumbo =
frames (9KB MPA PDU).</FONT></P>

<P><FONT SIZE=3D2>It would be nice if there is a way to validate the =
MPA and DDP headers (Header CRC that would cover MPA header and DDP =
header) without waiting for complete MPA pdu. This will allow NIC to =
perform CRC check on data while it is being placed into the host =
memory.</FONT></P>

<P><FONT SIZE=3D2>It was suggested on the reflector that this issue =
should be addressed by DDP. But since fpdu length is provided by MPA =
and it should be the LLP which should provide for data integrity, this =
issue should be addressed by MPA.</FONT></P>
<BR>

<P><FONT SIZE=3D2>Thanks.</FONT>
</P>

<P><FONT SIZE=3D2>Parag</FONT>
<BR><FONT SIZE=3D2>Aarohi Communications, Inc.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Williams, Jim [<A =
HREF=3D"mailto:Jim.Williams@emulex.com">mailto:Jim.Williams@emulex.com</=
A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Friday, October 25, 2002 8:17 AM</FONT>
<BR><FONT SIZE=3D2>To: tsvwg@ietf.org; rddp@ietf.org</FONT>
<BR><FONT SIZE=3D2>Subject: [rddp] RE: [Tsvwg] I-D =
ACTION:draft-williams-iwarp-ift-00.txt</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: Culley, Paul [<A =
HREF=3D"mailto:Paul.Culley@hp.com">mailto:Paul.Culley@hp.com</A>]</FONT>=

<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Interestingly enough, during our framing =
discussions, both </FONT>
<BR><FONT SIZE=3D2>&gt; the added header CRC and Markers were seriously =
discussed </FONT>
<BR><FONT SIZE=3D2>&gt; before we came to our conclusions.&nbsp; We had =
several NIC </FONT>
<BR><FONT SIZE=3D2>&gt; vendors present who presented private analysis =
as well as </FONT>
<BR><FONT SIZE=3D2>&gt; (too many) opinions based on various potential =
NIC models.&nbsp; </FONT>
<BR><FONT SIZE=3D2>&gt; We came to several conclusions:</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 1) You are right that packet processing rates =
require an </FONT>
<BR><FONT SIZE=3D2>&gt; elasticity buffer.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 2) When many connections are running at one =
time, the NIC </FONT>
<BR><FONT SIZE=3D2>&gt; memory needed for dealing with the&nbsp; =
out-of-order packets </FONT>
<BR><FONT SIZE=3D2>&gt; scales by the number of connections.&nbsp; We =
intend to support </FONT>
<BR><FONT SIZE=3D2>&gt; large numbers of connections (100s to =
10000s).&nbsp; The memory </FONT>
<BR><FONT SIZE=3D2>&gt; needed rapidly goes out of range of what is =
needed for </FONT>
<BR><FONT SIZE=3D2>&gt; elasticity.&nbsp; The amount of memory also =
scales with latency </FONT>
<BR><FONT SIZE=3D2>&gt; bandwidth product, at 1-10 gigabit this gets =
nasty very fast. </FONT>
<BR><FONT SIZE=3D2>&gt; Thus out of order processing and markers to =
absolutely </FONT>
<BR><FONT SIZE=3D2>&gt; identify them...</FONT>
</P>

<P><FONT SIZE=3D2>This is really the critical core issue we need to =
discuss </FONT>
<BR><FONT SIZE=3D2>in more depth.</FONT>
</P>

<P><FONT SIZE=3D2>My views tend to be as follows.</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp; A.&nbsp; I think you are underestimating the =
amount of memory</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; required for =
elasticity buffering, and overestimating</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the memory required =
for out of order reassembly.</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp; B.&nbsp; Once the cost is incurred of adding =
external (off ASIC)</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; memory of sufficient =
bandwidth for elasticity, the</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; incremental cost of =
additional megabytes is quite</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; low.</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp; C.&nbsp; I question whether memory required =
for out of order</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reassembly scales =
with number of connections.&nbsp; On a</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; particular =
connection, the required memory should </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; never be larger than =
the bandwidth delay product</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; of that =
connection.&nbsp; The more active connections</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; there are, the less =
bandwidth is available for each</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; connection.</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp; D.&nbsp; A product design needs to set =
performance goals at two</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (at least) different =
traffic mixes, large</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; messages, and small =
messages.&nbsp; An accelerated NIC</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; which is able to =
support line rate with small messages</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is seriously over =
designed and non cost effective.</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Supporting line rate =
at large and medium size messages</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is reasonable, and =
requires significantly lower peak</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; packet processing =
rates.</FONT>
</P>

<P><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The result of this is =
that for small messages, one</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; needs to rely on =
elasticity buffering and end to </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end flow control to =
avoid large scale dropping of</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; incoming =
packets.&nbsp; With insufficient buffering,</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the supported rate =
for small messages will be </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; terrible due to =
constant dropped packets and </FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; retransmission =
timeouts. </FONT>
</P>

<P><FONT SIZE=3D2>Unfortunately, at the moment I don't have =
quantitative</FONT>
<BR><FONT SIZE=3D2>analysis sufficiently clear and documented to =
share.</FONT>
<BR><FONT SIZE=3D2>I will try to work on that, but it is tricky due =
the</FONT>
<BR><FONT SIZE=3D2>need to make a number of somewhat arbitrary =
assumptions.</FONT>
</P>

<P><FONT SIZE=3D2>In the mean time it would be helpful for the RDMAC to =
share</FONT>
<BR><FONT SIZE=3D2>what ever quantitative analysis they have done to =
reach </FONT>
<BR><FONT SIZE=3D2>their conclusions.</FONT>
</P>
<BR>

<P><FONT =
SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>rddp mailing list</FONT>
<BR><FONT SIZE=3D2>rddp@ietf.org</FONT>
<BR><FONT SIZE=3D2><A =
HREF=3D"https://www1.ietf.org/mailman/listinfo/rddp" =
TARGET=3D"_blank">https://www1.ietf.org/mailman/listinfo/rddp</A></FONT>=

</P>

</BODY>
</HTML>
------_=_NextPart_001_01C27C49.D2A01AC0--
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 25 16:43:21 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA11023
	for <rddp-archive@odin.ietf.org>; Fri, 25 Oct 2002 16:43:21 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9PKjEr30878
	for rddp-archive@odin.ietf.org; Fri, 25 Oct 2002 16:45:14 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PKjEv30875
	for <rddp-web-archive@optimus.ietf.org>; Fri, 25 Oct 2002 16:45:14 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA11002
	for <rddp-web-archive@ietf.org>; Fri, 25 Oct 2002 16:42:50 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PKj4v30853;
	Fri, 25 Oct 2002 16:45:04 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PKfZv30723
	for <rddp@optimus.ietf.org>; Fri, 25 Oct 2002 16:41:35 -0400
Received: from magic.adaptec.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA10878;
	Fri, 25 Oct 2002 16:39:09 -0400 (EDT)
Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11])
	by magic.adaptec.com (8.11.6+Sun/8.11.6) with ESMTP id g9PKfRj13089;
	Fri, 25 Oct 2002 13:41:27 -0700 (PDT)
Received: from aimexc02.adaptec.com (aimexc02.corp.adaptec.com [162.62.62.40])
	by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id NAA27410;
	Fri, 25 Oct 2002 13:41:27 -0700 (PDT)
Received: by aimexc02.corp.adaptec.com with Internet Mail Service (5.5.2653.19)
	id <VHL1DXZT>; Fri, 25 Oct 2002 13:41:26 -0700
Message-ID: <AD1F046251DCD311BA6F0020484037670446A41F@aimexc02.corp.adaptec.com>
From: "Mukund, Shridhar" <Shridhar_Mukund@adaptec.com>
To: "'Williams, Jim'" <Jim.Williams@emulex.com>, tsvwg@ietf.org, rddp@ietf.org
Subject: RE: [rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
Date: Fri, 25 Oct 2002 13:41:23 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>



Jim,

... inline

> This is really the critical core issue we need to discuss 
> in more depth.
> 
> My views tend to be as follows.
> 
>   A.  I think you are underestimating the amount of memory
>       required for elasticity buffering, and overestimating
>       the memory required for out of order reassembly.

The first part of your statement though true in several scenarios
does not hold in others. Since it is circumstantial, the argument
should not be used in driving a standard. Vendors will find 
applications where that is currently not the case and/or in time as
IO technologies evolve, is going to move around anyway.

> 
>   B.  Once the cost is incurred of adding external (off ASIC)
>       memory of sufficient bandwidth for elasticity, the
>       incremental cost of additional megabytes is quite
>       low.
> 

Again in the first part of the above statement you are making
implementation assumptions. There are other ways of doing ASIC
and infact there are packaging technologies other than ASIC.
Pardon me for being vague here, I am required to :-)

>   C.  I question whether memory required for out of order
>       reassembly scales with number of connections.  On a
>       particular connection, the required memory should 
>       never be larger than the bandwidth delay product
>       of that connection.  The more active connections
>       there are, the less bandwidth is available for each
>       connection.
> 

Agree with you 100%. (For some, it may be an artifcat of an
implementation) However, I don't think Paul meant that. I do 
agree with the main points he is making in 2.

-Shridhar Mukund

 
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 25 20:45:35 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA16933
	for <rddp-archive@odin.ietf.org>; Fri, 25 Oct 2002 20:45:35 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9Q0lV610238
	for rddp-archive@odin.ietf.org; Fri, 25 Oct 2002 20:47:31 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9Q0lVv10235
	for <rddp-web-archive@optimus.ietf.org>; Fri, 25 Oct 2002 20:47:31 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA16929
	for <rddp-web-archive@ietf.org>; Fri, 25 Oct 2002 20:45:02 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9Q0lBv10227;
	Fri, 25 Oct 2002 20:47:11 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9Q0kIv10209
	for <rddp@optimus.ietf.org>; Fri, 25 Oct 2002 20:46:18 -0400
Received: from mailhub.lss.emc.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA16922
	for <rddp@ietf.org>; Fri, 25 Oct 2002 20:43:51 -0400 (EDT)
From: Black_David@emc.com
Received: from emc.com (emcmail.lss.emc.com [168.159.48.78])
	by mailhub.lss.emc.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g9Q0k7D24715
	for <rddp@ietf.org>; Fri, 25 Oct 2002 20:46:07 -0400 (EDT)
Received: from mxic1.isus.emc.com ([168.159.129.100])
	by emc.com (8.10.1/8.10.1) with ESMTP id g9Q0k7705439
	for <rddp@ietf.org>; Fri, 25 Oct 2002 20:46:07 -0400 (EDT)
Received: by MXIC1 with Internet Mail Service (5.5.2653.19)
	id <VRWCVVBP>; Fri, 25 Oct 2002 20:46:06 -0400
Message-ID: <277DD60FB639D511AC0400B0D068B71E0564C494@CORPMX14>
To: rddp@ietf.org
Date: Fri, 25 Oct 2002 20:46:01 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: [rddp] RDDP Atlanta agenda
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

It is time to start setting the agenda for the Atlanta meeting.
If you want to discuss issues with drafts at the Atlanta meeting,
please request a slot to do so, by sending mail to the rddp WG
chair (black_david@emc.com).

Currently, I know of the need for slots for the following:
	- draft-romanow-rdma-over-ip-problem-statement-00.txt
	- draft-bailey-roi-ddp-rdma-arch-00.txt
	- draft-stewart-rddp-sctp-00.txt
	- draft-williams-iwarp-ift-00.txt
	- draft-shah-iwarp-ddp-00.txt
	- draft-recio-iwarp-rdma-00.txt
The above draft version numbers may advance during the next week.
If/when this happens, I would ask the draft author to post the new
version to a web site and send a URL to the list in addition to submitting
the draft to the secretariat - this is to deal with the likely backlog
in draft submission processing at the secretariat.  I've left
draft-black-rdma-concerns-00.txt off the above list, as I don't think
it needs a slot, but attendees should read it (and its version number
may also advance in the next week).

As always the slots will be allocated for discussions according
to what is outlined below.

	It is not the purpose of a WG session to have
	presentation of the content of a document. It
	is assumed that all attendees will have read the
	drafts in advance of the meeting.

	For documents that are work-in-progress, the
	presentation should cover issues resolved since
	the last draft followed by open issues, and
	controversial topics with the intent to reach a
	resolution of said issues and topics.

	For new work items, the presentation should focus on
	what the problem is and why it is necessary for the
	work group to address it.  The solution should only
	be sketched.  Lengthy presentations of drafts will
	be cut off.

	The appropriate way of bringing new work to the working
	group is to post an Internet Draft, send a pointer to
	the draft to the mailing list and promote
	discussion on the list. Slots on the agenda should be used
	to discuss outstanding topics that haven't been settled
	on the mailing list.

	In all cases only a limited number of slides should be used.
	Speakers should budget their at least 25% of their time to
	allow for discussion/questions.

Thanks,
--David (rddp WG chair)

----------------------------------------------------
David L. Black, Senior Technologist
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953 **NEW**     FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Fri Oct 25 21:38:12 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA18015
	for <rddp-archive@odin.ietf.org>; Fri, 25 Oct 2002 21:38:12 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9Q1e9A12540
	for rddp-archive@odin.ietf.org; Fri, 25 Oct 2002 21:40:09 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9Q1e9v12537
	for <rddp-web-archive@optimus.ietf.org>; Fri, 25 Oct 2002 21:40:09 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA18006
	for <rddp-web-archive@ietf.org>; Fri, 25 Oct 2002 21:37:41 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9Q1e3v12519;
	Fri, 25 Oct 2002 21:40:03 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9Q1d7v12467
	for <rddp@optimus.ietf.org>; Fri, 25 Oct 2002 21:39:07 -0400
Received: from thebe.your-site.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA18002
	for <rddp@ietf.org>; Fri, 25 Oct 2002 21:36:39 -0400 (EDT)
Received: from 192.168.0.2 (64-144-5-25.client.dsl.net [64.144.5.25])
	by thebe.your-site.com (Postfix) with ESMTP
	id 8FD4144913; Fri, 25 Oct 2002 21:38:58 -0400 (EDT)
Date: Fri, 25 Oct 2002 20:38:58 -0500
From: Caitlin Bestler <cait@asomi.com>
Subject: RE: [rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
To: rddp@ietf.org
Cc: Parag Bhide <parag@aarohicommunications.com>
X-Priority: 3
In-Reply-To: <48D872DD6D7A4B4B98BEE39AC7A86D690A0CDE@aarohimail.aarohicommunications.com>
Message-ID: <r01050300-1015-B2466DCAE88311D68E31003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/25/02, Parag Bhide wrote:

>I agree that out of order processing will help reducing
>the buffering requirements. But it is important to
>validate both the DDP header (which contains the memory
>address information) *and* the fpdu length provided by MPA
>header before data can be placed into memory.
>
>This requires buffering of a complete MPA pdu for CRC
>validation before it can be placed. This is a bit of a
>problem especially when MPA pdus got fragmented due to MPA
>un-aware sender and/or middle boxes. Buffering
>requirements become worse with jumbo frames (9KB MPA PDU).
>
Wouldn't the extra buffering required because of possible
resegmentation be a constant ratio, no matter what the
normal size of the TCP segments were?

>It would be nice if there is a way to validate the MPA and
>DDP headers (Header CRC that would cover MPA header and
>DDP header) without waiting for complete MPA pdu. This
>will allow NIC to perform CRC check on data while it is
>being placed into the host memory.
>
>It was suggested on the reflector that this issue should
>be addressed by DDP. But since fpdu length is provided by
>MPA and it should be the LLP which should provide for data
>integrity, this issue should be addressed by MPA.
>
>
That's essentially fancy talk for asking the DDP layer to
re-issue the DDP segment with the new PMTU.

That isn't allowed because it would be a severe layering
violation. DDP must submit the DDP segment to the LLP
exactly once. No do-overs.

Similarly, having the MPA or LLP understand DDP sufficiently
to restructure a DDP segment properly isn't solving the
problem, it's just pretending that it isn't the first
solution by falsely labeling the agent doing the
resegmenting. If "MPA" understands what a DDP segment is,
then it isn't the MPA layer.




Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Sat Oct 26 23:31:38 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA18105
	for <rddp-archive@odin.ietf.org>; Sat, 26 Oct 2002 23:31:38 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9R3XbO16808
	for rddp-archive@odin.ietf.org; Sat, 26 Oct 2002 23:33:37 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9R3Xbv16805
	for <rddp-web-archive@optimus.ietf.org>; Sat, 26 Oct 2002 23:33:37 -0400
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA18102
	for <rddp-web-archive@ietf.org>; Sat, 26 Oct 2002 23:31:07 -0400 (EDT)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9R3VLv16779;
	Sat, 26 Oct 2002 23:31:21 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9R3Ucv16734
	for <rddp@optimus.ietf.org>; Sat, 26 Oct 2002 23:30:38 -0400
Received: from mms3.broadcom.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA18073
	for <rddp@ietf.org>; Sat, 26 Oct 2002 23:28:08 -0400 (EDT)
Received: from 63.70.210.1 by mms3.broadcom.com with ESMTP (Broadcom
 MMS3 SMTP Relay (MMS v5.0)); Sat, 26 Oct 2002 20:30:21 -0700
X-Server-Uuid: 56E0BE8C-BF0B-4001-8E26-C8DC95F71F5F
Received: from nt-irva-0701.broadcom.com (nt-irva-0701 [10.5.10.97]) by
 mon-irva-11.broadcom.com (8.9.1/8.9.1) with ESMTP id UAA18443; Sat, 26
 Oct 2002 20:30:19 -0700 (PDT)
Received: by nt-irva-0701.broadcom.com with Internet Mail Service (
 5.5.2653.19) id <T8FVZQHC>; Sat, 26 Oct 2002 20:30:19 -0700
Message-ID: <BFF68BEA7C79B949AF6EA9B7BEF7066D467851@nt-irva-0740.brcm.ad.broadcom.com>
From: "Uri Elzur" <uri@broadcom.com>
To: Black_David@emc.com, rddp@ietf.org
Subject: RE: [rddp] RDDP Atlanta agenda
Date: Sat, 26 Oct 2002 20:30:15 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
X-WSS-ID: 11A5824745226-01-01
Content-Type: text/plain;
 charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

David

I'm confused whether Framing protocols are discussed by RDDP or TSVWG? Pls
advise.

"   A framing protocol is defined for TCP that is fully compliant with 
   applicable TCP RFCs and fully interoperable with existing TCP 
   implementations. "

"A framing protocol is defined for DDP over TCP that is fully
   compliant with applicable TCP RFCs and fully interoperable with
   existing TCP implementations."

thx

Uri
-----Original Message-----
From: Black_David@emc.com [mailto:Black_David@emc.com]
Sent: Friday, October 25, 2002 5:46 PM
To: rddp@ietf.org
Subject: [rddp] RDDP Atlanta agenda


It is time to start setting the agenda for the Atlanta meeting.
If you want to discuss issues with drafts at the Atlanta meeting,
please request a slot to do so, by sending mail to the rddp WG
chair (black_david@emc.com).

Currently, I know of the need for slots for the following:
	- draft-romanow-rdma-over-ip-problem-statement-00.txt
	- draft-bailey-roi-ddp-rdma-arch-00.txt
	- draft-stewart-rddp-sctp-00.txt
	- draft-williams-iwarp-ift-00.txt
	- draft-shah-iwarp-ddp-00.txt
	- draft-recio-iwarp-rdma-00.txt
The above draft version numbers may advance during the next week.
If/when this happens, I would ask the draft author to post the new
version to a web site and send a URL to the list in addition to submitting
the draft to the secretariat - this is to deal with the likely backlog
in draft submission processing at the secretariat.  I've left
draft-black-rdma-concerns-00.txt off the above list, as I don't think
it needs a slot, but attendees should read it (and its version number
may also advance in the next week).

As always the slots will be allocated for discussions according
to what is outlined below.

	It is not the purpose of a WG session to have
	presentation of the content of a document. It
	is assumed that all attendees will have read the
	drafts in advance of the meeting.

	For documents that are work-in-progress, the
	presentation should cover issues resolved since
	the last draft followed by open issues, and
	controversial topics with the intent to reach a
	resolution of said issues and topics.

	For new work items, the presentation should focus on
	what the problem is and why it is necessary for the
	work group to address it.  The solution should only
	be sketched.  Lengthy presentations of drafts will
	be cut off.

	The appropriate way of bringing new work to the working
	group is to post an Internet Draft, send a pointer to
	the draft to the mailing list and promote
	discussion on the list. Slots on the agenda should be used
	to discuss outstanding topics that haven't been settled
	on the mailing list.

	In all cases only a limited number of slides should be used.
	Speakers should budget their at least 25% of their time to
	allow for discussion/questions.

Thanks,
--David (rddp WG chair)

----------------------------------------------------
David L. Black, Senior Technologist
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953 **NEW**     FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp


_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Sun Oct 27 09:58:29 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA04737
	for <rddp-archive@odin.ietf.org>; Sun, 27 Oct 2002 09:58:29 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9RF0MO22044
	for rddp-archive@odin.ietf.org; Sun, 27 Oct 2002 10:00:22 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9RF0Mv22041
	for <rddp-web-archive@optimus.ietf.org>; Sun, 27 Oct 2002 10:00:22 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA04734
	for <rddp-web-archive@ietf.org>; Sun, 27 Oct 2002 09:57:58 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9RF07v22031;
	Sun, 27 Oct 2002 10:00:07 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9RExMv21980
	for <rddp@optimus.ietf.org>; Sun, 27 Oct 2002 09:59:22 -0500
Received: from mxic2.corp.emc.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA04726
	for <rddp@ietf.org>; Sun, 27 Oct 2002 09:56:58 -0500 (EST)
From: Black_David@emc.com
Received: by mxic2.corp.emc.com with Internet Mail Service (5.5.2653.19)
	id <VR0WZBLA>; Sun, 27 Oct 2002 09:59:19 -0500
Message-ID: <277DD60FB639D511AC0400B0D068B71E0564C4A3@CORPMX14>
To: uri@broadcom.com, rddp@ietf.org
Subject: RE: [rddp] RDDP Atlanta agenda
Date: Sun, 27 Oct 2002 09:59:16 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

> I'm confused whether Framing protocols are discussed by RDDP 
> or TSVWG? Pls advise.

The answer is "both" because it depends on what is meant by
"Framing".  MPA and IFT should both be on the TSVWG agenda and TSVWG
should meet before RDDP.  IFT will also be on the RDDP agenda
as it appears to be a good start on the following RDDP work item:

  4) A mapping of the direct data placement protocol onto TCP, for
  informational, because TCP's service is a less good match to RDDP,
  including an applicability statement of the issues regarding the
  service available from the mapping. 

MPA cannot be taken up in RDDP because it makes changes to TCP,
specifically TCP sender behavior.

Thanks,
--David
----------------------------------------------------
David L. Black, Senior Technologist
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953 **NEW**     FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Sun Oct 27 11:10:29 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA05802
	for <rddp-archive@odin.ietf.org>; Sun, 27 Oct 2002 11:10:29 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9RGCNS24875
	for rddp-archive@odin.ietf.org; Sun, 27 Oct 2002 11:12:23 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9RGCNv24872
	for <rddp-web-archive@optimus.ietf.org>; Sun, 27 Oct 2002 11:12:23 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA05799
	for <rddp-web-archive@ietf.org>; Sun, 27 Oct 2002 11:09:58 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9RGC6v24859;
	Sun, 27 Oct 2002 11:12:06 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9RGB2v24834
	for <rddp@optimus.ietf.org>; Sun, 27 Oct 2002 11:11:02 -0500
Received: from thebe.your-site.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA05762
	for <rddp@ietf.org>; Sun, 27 Oct 2002 11:08:38 -0500 (EST)
Received: from 192.168.0.2 (64-144-5-25.client.dsl.net [64.144.5.25])
	by thebe.your-site.com (Postfix) with ESMTP
	id DB50F2D826; Sun, 27 Oct 2002 11:10:56 -0500 (EST)
Date: Sun, 27 Oct 2002 10:10:56 -0600
From: Caitlin Bestler <cait@asomi.com>
Subject: RE: changes to TCP? (was  [rddp] RDDP Atlanta agenda)
To: Black_David@emc.com, rddp@ietf.org
X-Priority: 3
In-Reply-To: <277DD60FB639D511AC0400B0D068B71E0564C4A3@CORPMX14>
Message-ID: <r01050300-1015-ACDCB5DCE9C611D6AE9E003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/27/02, Black_David@emc.com wrote:

>> I'm confused whether Framing protocols are discussed by
>> RDDP or TSVWG? Pls advise.
>
>The answer is "both" because it depends on what is meant
>by "Framing".  MPA and IFT should both be on the TSVWG
>agenda and TSVWG should meet before RDDP.  IFT will also
>be on the RDDP agenda as it appears to be a good start on
>the following RDDP work item:
>
> 4) A mapping of the direct data placement protocol onto
> TCP, for informational, because TCP's service is a less
> good match to RDDP, including an applicability statement
> of the issues regarding the service available from the
> mapping. 
>
>MPA cannot be taken up in RDDP because it makes changes to
>TCP, specifically TCP sender behavior.
>

How does MPA (or IFT for that matter) change TCP? Nothing
that either sends cannot be accomplished with existing TCP
stacks. (I wouldn't implement that way, but you *could*).

I think a more valid distinction between the roles of RDDP
and TSVWG is that RDDP is only interested in solving this
problem for one protocol, whil e TSVWG is presumably looking
for a general solution.

The RDDP-specific solution might have problem-specific
features, such as enabling out-of-order processing and
providing greater error checking than TCP alone does.

In that sense MPA has either one or two features that are
probably not of wider TSVWG interest (out-of-order and CRC32
protection). IFT has split CRC32 protection. While not
explicitly for DDP, it has hard to imagine a use for
splitting header/payload CRC protection in a wire protocol
other than enablilng cut-through direct placement of the
payload.

Despite the fact that both of these proposals solve problems
that might not be viewed as universal to all protocols, they
are both still very simple. It might make sense to deploy
them for more applications that just DDP.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Sun Oct 27 14:02:34 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA08408
	for <rddp-archive@odin.ietf.org>; Sun, 27 Oct 2002 14:02:34 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9RJ4SB30910
	for rddp-archive@odin.ietf.org; Sun, 27 Oct 2002 14:04:28 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9RJ4Sv30907
	for <rddp-web-archive@optimus.ietf.org>; Sun, 27 Oct 2002 14:04:28 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA08405
	for <rddp-web-archive@ietf.org>; Sun, 27 Oct 2002 14:02:03 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9RJ48v30898;
	Sun, 27 Oct 2002 14:04:08 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9RJ3uv30878
	for <rddp@optimus.ietf.org>; Sun, 27 Oct 2002 14:03:56 -0500
Received: from peoplemail.com.cn (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with SMTP id OAA08400;
	Sun, 27 Oct 2002 14:01:30 -0500 (EST)
Received: from peoplemail.com.cn([127.0.0.1]) by peoplemail.com.cn(JetMail 2.5.3.0)
	with SMTP id jm153dbc8869; Sun, 27 Oct 2002 19:03:06 -0000
Received: from www1.ietf.org([132.151.1.19]) by peoplemail.com.cn(JetMail 2.5.3.0)
	with SMTP id jm813db9cf69; Fri, 25 Oct 2002 17:02:19 -0000
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PFN6v10670;
	Fri, 25 Oct 2002 11:23:06 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9PFMCv10630
	for <tsvwg@optimus.ietf.org>; Fri, 25 Oct 2002 11:22:12 -0400
Received: from emulex.emulex.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA28087;
	Fri, 25 Oct 2002 11:19:49 -0400 (EDT)
Received: from xbl.ad.emulex.com (xbl.ma.emulex.com [172.16.12.11])
	by emulex.emulex.com (8.9.1a/8.9.1) with ESMTP id IAA15907;
	Fri, 25 Oct 2002 08:22:06 -0700 (PDT)
Received: by xbl.ma.emulex.com with Internet Mail Service (5.5.2653.19)
	id <VD68N246>; Fri, 25 Oct 2002 11:17:00 -0400
Message-ID: <3356669BBE90C448AD4645C843E2BF289B8ED0@xbl.ma.emulex.com>
From: "Williams, Jim" <Jim.Williams@Emulex.com>
To: tsvwg@ietf.org, rddp@ietf.org
Date: Fri, 25 Oct 2002 11:16:49 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
X-Auto-Forward: jaglee@peoplemail.com.cn
Subject: [rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>



> -----Original Message-----
> From: Culley, Paul [mailto:Paul.Culley@hp.com]
> 
> Interestingly enough, during our framing discussions, both 
> the added header CRC and Markers were seriously discussed 
> before we came to our conclusions.  We had several NIC 
> vendors present who presented private analysis as well as 
> (too many) opinions based on various potential NIC models.  
> We came to several conclusions:
> 
> 1) You are right that packet processing rates require an 
> elasticity buffer.
> 
> 2) When many connections are running at one time, the NIC 
> memory needed for dealing with the  out-of-order packets 
> scales by the number of connections.  We intend to support 
> large numbers of connections (100s to 10000s).  The memory 
> needed rapidly goes out of range of what is needed for 
> elasticity.  The amount of memory also scales with latency 
> bandwidth product, at 1-10 gigabit this gets nasty very fast. 
> Thus out of order processing and markers to absolutely 
> identify them...

This is really the critical core issue we need to discuss 
in more depth.

My views tend to be as follows.

  A.  I think you are underestimating the amount of memory
      required for elasticity buffering, and overestimating
      the memory required for out of order reassembly.

  B.  Once the cost is incurred of adding external (off ASIC)
      memory of sufficient bandwidth for elasticity, the
      incremental cost of additional megabytes is quite
      low.

  C.  I question whether memory required for out of order
      reassembly scales with number of connections.  On a
      particular connection, the required memory should 
      never be larger than the bandwidth delay product
      of that connection.  The more active connections
      there are, the less bandwidth is available for each
      connection.

  D.  A product design needs to set performance goals at two
      (at least) different traffic mixes, large
      messages, and small messages.  An accelerated NIC
      which is able to support line rate with small messages
      is seriously over designed and non cost effective.
      Supporting line rate at large and medium size messages
      is reasonable, and requires significantly lower peak
      packet processing rates.

      The result of this is that for small messages, one
      needs to rely on elasticity buffering and end to 
      end flow control to avoid large scale dropping of
      incoming packets.  With insufficient buffering,
      the supported rate for small messages will be 
      terrible due to constant dropped packets and 
      retransmission timeouts. 

Unfortunately, at the moment I don't have quantitative
analysis sufficiently clear and documented to share.
I will try to work on that, but it is tricky due the
need to make a number of somewhat arbitrary assumptions.

In the mean time it would be helpful for the RDMAC to share
what ever quantitative analysis they have done to reach 
their conclusions.


_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
https://www1.ietf.org/mailman/listinfo/tsvwg
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 28 06:21:52 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA02939
	for <rddp-archive@odin.ietf.org>; Mon, 28 Oct 2002 06:21:52 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9SBNic16436
	for rddp-archive@odin.ietf.org; Mon, 28 Oct 2002 06:23:44 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SBNiv16433
	for <rddp-web-archive@optimus.ietf.org>; Mon, 28 Oct 2002 06:23:44 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA02935
	for <rddp-web-archive@ietf.org>; Mon, 28 Oct 2002 06:21:21 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SBNZv16422;
	Mon, 28 Oct 2002 06:23:35 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SBLkv16359
	for <rddp@optimus.ietf.org>; Mon, 28 Oct 2002 06:21:46 -0500
Received: from mailhub.lss.emc.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA02920;
	Mon, 28 Oct 2002 06:19:23 -0500 (EST)
From: Black_David@emc.com
Received: from emc.com (emcmail.lss.emc.com [168.159.48.78])
	by mailhub.lss.emc.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id g9SBLfD09893;
	Mon, 28 Oct 2002 06:21:41 -0500 (EST)
Received: from mxic1.isus.emc.com ([168.159.129.100])
	by emc.com (8.10.1/8.10.1) with ESMTP id g9SBLe713118;
	Mon, 28 Oct 2002 06:21:40 -0500 (EST)
Received: by MXIC1 with Internet Mail Service (5.5.2653.19)
	id <VRWCXDWD>; Mon, 28 Oct 2002 06:21:40 -0500
Message-ID: <277DD60FB639D511AC0400B0D068B71E0564C4A5@CORPMX14>
To: cait@asomi.com, rddp@ietf.org
Cc: tsvwg@ietf.org
Date: Mon, 28 Oct 2002 06:21:37 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: [rddp] RE: changes to TCP?
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

Caitlin,

> How does MPA (or IFT for that matter) change TCP? Nothing
> that either sends cannot be accomplished with existing TCP
> stacks. (I wouldn't implement that way, but you *could*).

IFT does not change TCP, and is quite explicit about that.

Between never packing ULP PDUs into TCP segments and requiring
that TCP segments start/end on ULP PDU boundaries, MPA changes
TCP sender behavior rather dramatically (same sequence of application
sends results in very different packets on the wire, even after
accounting for MPA's added data [length, markers, pad, CRC]).  Among
the issues here is that the resulting behavior is clearly is at
odds with the spirit (and probably the letter) of this text
from Section 4.2.3.11 of RFC 1122:

                 Experience has shown that a TCP
                 implementor needs to verify the design on two extreme
                 traffic patterns:

[... Single-character Segments text snipped ...]

                 o    Bulk Transfer

                      When TCP is used for bulk transfer, the data
                      stream should be made up (almost) entirely of
                      segments of the size of the effective MSS.
                      Although TCP uses a sequence number space with
                      byte (octet) granularity, in bulk-transfer mode
                      its operation should be as if TCP used a sequence
                      space that counted only segments.

Likewise, forbidding use of the Nagle optimization in all cases (no
matter what the ULP) is also problematic.  Both of these are tsvwg
issues, and all further discussion should be on that list, not rddp.

Thanks,
--David
----------------------------------------------------
David L. Black, Senior Technologist
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953 **NEW**     FAX: +1 (508) 293-7786
black_david@emc.com        Mobile: +1 (978) 394-7754
----------------------------------------------------
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 28 11:46:40 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18099
	for <rddp-archive@odin.ietf.org>; Mon, 28 Oct 2002 11:46:40 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9SGmYu02179
	for rddp-archive@odin.ietf.org; Mon, 28 Oct 2002 11:48:34 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SGmYv02176
	for <rddp-web-archive@optimus.ietf.org>; Mon, 28 Oct 2002 11:48:34 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18080
	for <rddp-web-archive@ietf.org>; Mon, 28 Oct 2002 11:46:09 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SGmBv02147;
	Mon, 28 Oct 2002 11:48:11 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SGl4v02087
	for <rddp@optimus.ietf.org>; Mon, 28 Oct 2002 11:47:04 -0500
Received: from mms2.broadcom.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18012
	for <rddp@ietf.org>; Mon, 28 Oct 2002 11:44:38 -0500 (EST)
Received: from 63.70.210.1 by mms2.broadcom.com with ESMTP (Broadcom
 MMS2 SMTP Relay (MMS v5.0)); Mon, 28 Oct 2002 08:44:34 -0800
X-Server-Uuid: 59F48136-7074-4F4B-B709-D7F3B6466DB0
Received: from nt-irva-0701.broadcom.com (nt-irva-0701 [10.5.10.97]) by
 mon-irva-11.broadcom.com (8.9.1/8.9.1) with ESMTP id IAA01948; Mon, 28
 Oct 2002 08:46:57 -0800 (PST)
Received: by nt-irva-0701.broadcom.com with Internet Mail Service (
 5.5.2653.19) id <T8FVZR2M>; Mon, 28 Oct 2002 08:46:56 -0800
Message-ID: <BFF68BEA7C79B949AF6EA9B7BEF7066D467866@nt-irva-0740.brcm.ad.broadcom.com>
From: "Uri Elzur" <uri@broadcom.com>
To: "Caitlin Bestler" <cait@asomi.com>, Black_David@emc.com, rddp@ietf.org
Subject: RE: changes to TCP? (was  [rddp] RDDP Atlanta agenda)
Date: Mon, 28 Oct 2002 08:46:51 -0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
X-WSS-ID: 11A3B6F887507-01-01
Content-Type: text/plain;
 charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

I agree with Caitlin that there is no change, proposed by MPA, to TCP sender
behavior. It can be layered on top of TCP like any other ULP. TCP should
provide service to App emitting PDUs at any length and in any case this is
not visible from the wire.

Cut through is problematic, as it is a clear violation of layering. A
decision is taken before TCP XSUM is verified and therefore there is way to
validate the TCP header yet. Note also that the "data" may be copied to
memory before ALL checks of L2/L3 and L4 are done (can get a L2 CRC error,
IP length error or TCP XSUM error, etc). Moreover, in the case of a middle
box present, there is no mechanism to verify the IFT header is indeed a
header as the CRC check is statistical in nature. The IFT proposed
mechanism, can make an erroneous decision as to what is header and what is
data based on this statistical probability.

Therefore, it seems perfectly ok to me to let ONE Work Group discuss it. I
have not seen the difference that makes MPA not meet the criteria set in the
RDDP charter. Moreover, no draft is perfect when it first gets to the WG,
and the WG can morph it to get to where it needs to be. More protocols may
have interest in such a service and therefore MPA deserves a broader
discussion. On the flip side, there is no reason why it can't meet the
limited scope of RDDP

Uri




-----Original Message-----
From: Caitlin Bestler [mailto:cait@asomi.com]
Sent: Sunday, October 27, 2002 8:11 AM
To: Black_David@emc.com; rddp@ietf.org
Subject: RE: changes to TCP? (was [rddp] RDDP Atlanta agenda)


On 10/27/02, Black_David@emc.com wrote:

>> I'm confused whether Framing protocols are discussed by
>> RDDP or TSVWG? Pls advise.
>
>The answer is "both" because it depends on what is meant
>by "Framing".  MPA and IFT should both be on the TSVWG
>agenda and TSVWG should meet before RDDP.  IFT will also
>be on the RDDP agenda as it appears to be a good start on
>the following RDDP work item:
>
> 4) A mapping of the direct data placement protocol onto
> TCP, for informational, because TCP's service is a less
> good match to RDDP, including an applicability statement
> of the issues regarding the service available from the
> mapping. 
>
>MPA cannot be taken up in RDDP because it makes changes to
>TCP, specifically TCP sender behavior.
>

How does MPA (or IFT for that matter) change TCP? Nothing
that either sends cannot be accomplished with existing TCP
stacks. (I wouldn't implement that way, but you *could*).

I think a more valid distinction between the roles of RDDP
and TSVWG is that RDDP is only interested in solving this
problem for one protocol, whil e TSVWG is presumably looking
for a general solution.

The RDDP-specific solution might have problem-specific
features, such as enabling out-of-order processing and
providing greater error checking than TCP alone does.

In that sense MPA has either one or two features that are
probably not of wider TSVWG interest (out-of-order and CRC32
protection). IFT has split CRC32 protection. While not
explicitly for DDP, it has hard to imagine a use for
splitting header/payload CRC protection in a wire protocol
other than enablilng cut-through direct placement of the
payload.

Despite the fact that both of these proposals solve problems
that might not be viewed as universal to all protocols, they
are both still very simple. It might make sense to deploy
them for more applications that just DDP.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp


_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 28 11:53:17 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18420
	for <rddp-archive@odin.ietf.org>; Mon, 28 Oct 2002 11:53:17 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9SGtC602535
	for rddp-archive@odin.ietf.org; Mon, 28 Oct 2002 11:55:12 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SGtCv02532
	for <rddp-web-archive@optimus.ietf.org>; Mon, 28 Oct 2002 11:55:12 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18396
	for <rddp-web-archive@ietf.org>; Mon, 28 Oct 2002 11:52:46 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SGsqv02475;
	Mon, 28 Oct 2002 11:54:52 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SGrfv02391
	for <rddp@optimus.ietf.org>; Mon, 28 Oct 2002 11:53:41 -0500
Received: from emulex.emulex.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA18278;
	Mon, 28 Oct 2002 11:51:14 -0500 (EST)
Received: from xbl.ad.emulex.com (xbl.ma.emulex.com [172.16.12.11])
	by emulex.emulex.com (8.9.1a/8.9.1) with ESMTP id IAA00975;
	Mon, 28 Oct 2002 08:53:32 -0800 (PST)
Received: by xbl.ma.emulex.com with Internet Mail Service (5.5.2653.19)
	id <VY387XGH>; Mon, 28 Oct 2002 11:48:13 -0500
Message-ID: <3356669BBE90C448AD4645C843E2BF289B8EDA@xbl.ma.emulex.com>
From: "Williams, Jim" <Jim.Williams@Emulex.com>
To: "'Julian Satran'" <Julian_Satran@il.ibm.com>
Cc: rddp@ietf.org, tsvwg@ietf.org
Subject: RE: [rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
Date: Mon, 28 Oct 2002 11:48:12 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C27EA1.CDCC2DE0"
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C27EA1.CDCC2DE0
Content-Type: text/plain;
	charset="ISO-8859-1"

 

-----Original Message-----
From: Julian Satran [mailto:Julian_Satran@il.ibm.com]
Sent: Friday, October 25, 2002 11:47 AM
To: Williams, Jim
Cc: rddp@ietf.org; rddp-admin@ietf.org; tsvwg@ietf.org
Subject: Re: [rddp] RE: [Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt



Jim, 

Do you have some data about the cost ratio for your point B (initial cost
versus cost/MB)? 

 [...]  

Julo  
 

I don't know that I could shed any more light on memory pricing than any
number of others on these lists.  Also getting too detailed on price
information
is not helpful for designing a protocol expected to outlive any current
pricing.
 
However I would point out that to support 10G with current DDR SDRAM
technology, one would probably need to go at least 64 bits wide on the 
interface.  At this width, once you pay for the first megabyte, you get
the next 31 or 63 megabytes for free.  (I.e. it does not make sense
to buy less than 32 or 64 megabytes given the needed
bandwidth and required bus width to support this.)
 
I would expect that the ratio of minimum practical memory 
size to required bandwidth will only get larger over time as memory
technology advances.
 
The numbers would of course be different if you look at QDR SRAM
or other technologies.  But the basic principle is the same. 

 - Jim 


	"Williams, Jim" <Jim.Williams@emulex.com> 
Sent by: rddp-admin@ietf.org 


25/10/02 17:16   


[...] 

        
        To:        tsvwg@ietf.org, rddp@ietf.org 
        cc:         
        Subject:        [rddp] RE: [Tsvwg] I-D
ACTION:draft-williams-iwarp-ift-00.txt 

       


 B.  Once the cost is incurred of adding external (off ASIC)
     memory of sufficient bandwidth for elasticity, the
     incremental cost of additional megabytes is quite
     low. 
[...] 

 


------_=_NextPart_001_01C27EA1.CDCC2DE0
Content-Type: text/html;
	charset="ISO-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Julian Satran 
  [mailto:Julian_Satran@il.ibm.com]<BR><B>Sent:</B> Friday, October 25, 2002 
  11:47 AM<BR><B>To:</B> Williams, Jim<BR><B>Cc:</B> rddp@ietf.org; 
  rddp-admin@ietf.org; tsvwg@ietf.org<BR><B>Subject:</B> Re: [rddp] RE: [Tsvwg] 
  I-D ACTION:draft-williams-iwarp-ift-00.txt<BR><BR></FONT></DIV>
  <DIV><BR><FONT face=sans-serif size=2>Jim,</FONT> <BR><BR><FONT 
  face=sans-serif size=2>Do you have some data about the cost ratio for your 
  point B (initial cost versus cost/MB)?</FONT>&nbsp;<BR><BR><FONT face=Arial 
  color=#0000ff size=2><SPAN 
  class=348053816-28102002>&nbsp;[...]&nbsp;</SPAN></FONT> <BR><BR><FONT 
  face=sans-serif size=2>Julo</FONT>&nbsp;<SPAN class=348053816-28102002><FONT 
  face=Arial color=#0000ff size=2>&nbsp;</FONT></SPAN></DIV>
  <DIV><SPAN class=348053816-28102002></SPAN>&nbsp;</DIV></BLOCKQUOTE>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff size=2>I 
don't know that I could shed any more light on memory pricing than 
any</FONT></SPAN></DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff size=2>number 
of others on these lists.&nbsp; Also getting too detailed on price 
information</FONT></SPAN></DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff size=2>is not 
helpful for designing a protocol expected to outlive&nbsp;any current 
pricing</FONT></SPAN><SPAN class=348053816-28102002><FONT face=Arial 
color=#0000ff size=2>.</FONT></SPAN></DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff 
size=2>However I would point out that to&nbsp;support 10G with current DDR 
SDRAM</FONT></SPAN></DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff 
size=2>technology,&nbsp;one would probably need to go at least 64 bits wide on 
the&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff 
size=2>interface.&nbsp; At this width,&nbsp;once you pay for the first megabyte, 
you get</FONT></SPAN></DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff size=2>the 
next 31 or 63 megabytes for free.&nbsp;&nbsp;(I.e. it does not make 
sense</FONT></SPAN></DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff size=2>to buy 
less than 32 or 64 megabytes given the needed</FONT></SPAN></DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff 
size=2>bandwidth and required bus&nbsp;width to support 
this.)</FONT></SPAN></DIV>
<DIV><SPAN class=348053816-28102002></SPAN>&nbsp;</DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff size=2>I 
would expect</FONT>&nbsp;<FONT face=Arial color=#0000ff size=2>that the ratio of 
minimum practical memory&nbsp;</FONT></SPAN></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><SPAN class=348053816-28102002><FONT 
size=2>size to required bandwidth will only get larger over time as 
memory</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2><SPAN 
class=348053816-28102002>technology advances.</SPAN></FONT></FONT></DIV>
<DIV><FONT><FONT color=#0000ff size=2><SPAN 
class=348053816-28102002></SPAN></FONT></FONT><SPAN 
class=348053816-28102002><FONT face=Arial color=#0000ff 
size=2>&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff size=2>The 
numbers would of course be different if you look at QDR SRAM</FONT></SPAN></DIV>
<DIV><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff size=2>or 
other technologies.&nbsp; But the basic principle is the 
same.</FONT>&nbsp;</SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><BR><SPAN 
class=348053816-28102002><FONT face=Arial color=#0000ff size=2>&nbsp;- 
Jim&nbsp;</FONT></SPAN><BR></DIV>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
  <TABLE width="100%">
    <TBODY>
    <TR vAlign=top>
      <TD>
      <TD><FONT face=sans-serif size=1><B>"Williams, Jim" 
        &lt;Jim.Williams@emulex.com&gt;</B></FONT> <BR><FONT face=sans-serif 
        size=1>Sent by: rddp-admin@ietf.org</FONT> 
        <P><FONT face=sans-serif size=1>25/10/02 17:16</FONT>&nbsp;<SPAN 
        class=348053816-28102002><FONT face=Arial color=#0000ff 
        size=2>&nbsp;</FONT></SPAN>
        <P><SPAN class=348053816-28102002><FONT face=Arial color=#0000ff 
        size=2>[...]</FONT>&nbsp;</SPAN></P>
      <TD><FONT face=Arial size=1>&nbsp; &nbsp; &nbsp; &nbsp; </FONT><BR><FONT 
        face=sans-serif size=1>&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; 
        &nbsp; &nbsp;tsvwg@ietf.org, rddp@ietf.org</FONT> <BR><FONT 
        face=sans-serif size=1>&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; 
        &nbsp; &nbsp;</FONT> <BR><FONT face=sans-serif size=1>&nbsp; &nbsp; 
        &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;[rddp] RE: [Tsvwg] I-D 
        ACTION:draft-williams-iwarp-ift-00.txt</FONT> <BR><BR><FONT face=Arial 
        size=1>&nbsp; &nbsp; &nbsp; &nbsp;</FONT></TR></TBODY></TABLE><TT>
  <DIV><BR><FONT size=2>&nbsp;B. &nbsp;Once the cost is incurred of adding 
  external (off ASIC)<BR>&nbsp; &nbsp; &nbsp;memory of sufficient bandwidth for 
  elasticity, the<BR>&nbsp; &nbsp; &nbsp;incremental cost of additional 
  megabytes is quite<BR>&nbsp; &nbsp; &nbsp;low.<SPAN 
  class=348053816-28102002><FONT face=Arial 
  color=#0000ff>&nbsp;</FONT></SPAN></FONT></DIV>
  <DIV><FONT size=2><SPAN class=348053816-28102002><FONT face=Arial 
  color=#0000ff>[...]</FONT>&nbsp;</SPAN><BR><BR>&nbsp;</FONT></TT></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C27EA1.CDCC2DE0--
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 28 12:31:39 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA19977
	for <rddp-archive@odin.ietf.org>; Mon, 28 Oct 2002 12:31:39 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9SHXY605250
	for rddp-archive@odin.ietf.org; Mon, 28 Oct 2002 12:33:34 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SHXYv05247
	for <rddp-web-archive@optimus.ietf.org>; Mon, 28 Oct 2002 12:33:34 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA19956
	for <rddp-web-archive@ietf.org>; Mon, 28 Oct 2002 12:31:08 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SHXRv05239;
	Mon, 28 Oct 2002 12:33:27 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9SHWtv05168
	for <rddp@optimus.ietf.org>; Mon, 28 Oct 2002 12:32:55 -0500
Received: from emulex.emulex.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA19898;
	Mon, 28 Oct 2002 12:30:28 -0500 (EST)
Received: from xbl.ad.emulex.com (xbl.ma.emulex.com [172.16.12.11])
	by emulex.emulex.com (8.9.1a/8.9.1) with ESMTP id JAA02291;
	Mon, 28 Oct 2002 09:32:48 -0800 (PST)
Received: by xbl.ma.emulex.com with Internet Mail Service (5.5.2653.19)
	id <VY387XJJ>; Mon, 28 Oct 2002 12:27:28 -0500
Message-ID: <3356669BBE90C448AD4645C843E2BF289B8EDB@xbl.ma.emulex.com>
From: "Williams, Jim" <Jim.Williams@Emulex.com>
To: "'Caitlin Bestler'" <caitlinb@rp.asomi.net>, rddp@ietf.org, tsvwg@ietf.org
Date: Mon, 28 Oct 2002 12:27:25 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"
Subject: [rddp] RE:I-D ACTION:draft-williams-iwarp-ift-00.txt
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>



> -----Original Message-----
> From: Caitlin Bestler [mailto:caitlinb@rp.asomi.net]
> Sent: Friday, October 25, 2002 12:10 PM
> To: rddp@ietf.org; tsvwg@ietf.org
> Cc: Williams, Jim
> Subject: Re: [rddp][Tsvwg] I-D ACTION:draft-williams-iwarp-ift-00.txt
> 
> 
> On 10/25/02, Williams, Jim wrote:
> 
> 
> >
> >This is really the critical core issue we need to discuss 
> >in more depth.
> >
> >My views tend to be as follows.
> >
> >  A.  I think you are underestimating the amount of memory
> >      required for elasticity buffering, and overestimating
> >      the memory required for out of order reassembly.
> >
> >  B.  Once the cost is incurred of adding external (off 
> >       ASIC) memory of sufficient bandwidth for elasticity, 
> >       the incremental cost of additional megabytes is 
> >       quite low.
> 
> True. But particularly at the lower bit rates, on-chip
> memory could easily be adequate for re-assembling split DDP
> segments and buffering host bus access.

I believe an important objective in the protocol design
should be avoiding the need to re-assemble split
DDP segments.  This is an important motivating factor for
a separate header CRC.

The idea is that the first part of the split DDP segment can
be placed without the need to reassemble it.  When the
second part of the split segment arrives, payload CRC
computation resumes where it left off on the first part.
All that needs to be saved in the interim are the header
info and the CRC seed.

> Also consider that during the life of the protocol, the
> scope of on-chip memory is only going to improve.

So will the required memory as bandwidths increase.
It's not clear which will increase faster, but I think
I put my money on network bandwidths.

> >  D.  A product design needs to set performance goals at 
> >       two (at least) different traffic mixes, large
> >      messages, and small messages.  An accelerated NIC
> >      which is able to support line rate with small 
> >       messages is seriously over designed and non cost 
> >       effective.
> >
> >      Supporting line rate at large and medium size 
> >       messages is reasonable, and requires significantly 
> >       lower peak packet processing rates.
> >
> >      The result of this is that for small messages, one
> >      needs to rely on elasticity buffering and end to 
> >      end flow control to avoid large scale dropping of
> >      incoming packets.  With insufficient buffering,
> >      the supported rate for small messages will be 
> >      terrible due to constant dropped packets and 
> >      retransmission timeouts. 
> >
> 
> That is a characteristic of a general TCP optimizer. I do
> not believe that it applies to framing DDP segments. The
> point of the MPA proposal is that it allows each DDP segment
> to be processed on it own as it arrives, and further that in
> virtually every case there will be exactly one DDP segment
> per TCP segment / IP datagram / Ethernet Frame.
>
> Under that scenario the size of the tagged or untagged
> message is totally irrelevant, each segment is placed
> as it arrives.

The size is relevant because it is inversely proportional
to the segment arrival rate. On a 10Gb link, 100 byte
DDP segments can arrive every 100ns (approx).
1000 byte DDP segments can arrive every microsecond.
Doing a direct placement every 100ns is
impractical.  It's probably impossible with
current host bus designs.

Therefore the segments must be held in the 
elasticity buffer, and end to end flow control
must be used to avoid overflowing the buffer.
It's this requirement that drives the size of
the needed buffering.

> [...]
> 
> Caitlin Bestler
> http://asomi.com/CaitlinBestler/
> 
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Mon Oct 28 22:27:16 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA08718
	for <rddp-archive@odin.ietf.org>; Mon, 28 Oct 2002 22:27:16 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9T3TFX03883
	for rddp-archive@odin.ietf.org; Mon, 28 Oct 2002 22:29:15 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9T3TFv03880
	for <rddp-web-archive@optimus.ietf.org>; Mon, 28 Oct 2002 22:29:15 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA08711
	for <rddp-web-archive@ietf.org>; Mon, 28 Oct 2002 22:26:45 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9T3T4v03869;
	Mon, 28 Oct 2002 22:29:04 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9T3SRv03837
	for <rddp@optimus.ietf.org>; Mon, 28 Oct 2002 22:28:27 -0500
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA08701;
	Mon, 28 Oct 2002 22:25:56 -0500 (EST)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9T3Trc30521;
	Mon, 28 Oct 2002 21:29:53 -0600
Date: Mon, 28 Oct 2002 21:28:15 -0600
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: Re: [rddp] RE:I-D ACTION:draft-williams-iwarp-ift-00.txt
To: "Williams, Jim" <Jim.Williams@Emulex.com>
cc: rddp@ietf.org, tsvwg@ietf.org
X-Priority: 3
In-Reply-To: <3356669BBE90C448AD4645C843E2BF289B8EDB@xbl.ma.emulex.com>
Message-ID: <r01050300-1020-75C6DBD0EAEE11D691E8003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/28/02, Williams, Jim wrote:


>
>I believe an important objective in the protocol design
>should be avoiding the need to re-assemble split
>DDP segments.  This is an important motivating factor for
>a separate header CRC.
>
>The idea is that the first part of the split DDP segment
>can be placed without the need to reassemble it.  When the
>second part of the split segment arrives, payload CRC
>computation resumes where it left off on the first part.
>All that needs to be saved in the interim are the header
>info and the CRC seed.
>
Good point. It also clarifies the objective for keeping the
SCTP mapping equivalent. If the SCTP mapping does not allow
fragmentation of chunks then there is no need to protect
just the header. Otherwise, the DDP header and the payload
would have to be two different chunks.



>> 
>> That is a characteristic of a general TCP optimizer. I
>> do not believe that it applies to framing DDP segments.
>> The point of the MPA proposal is that it allows each DDP
>> segment to be processed on it own as it arrives, and
>> further that in virtually every case there will be
>> exactly one DDP segment per TCP segment / IP datagram /
>> Ethernet Frame.
>>
>> Under that scenario the size of the tagged or untagged
>> message is totally irrelevant, each segment is placed
>> as it arrives.
>
>The size is relevant because it is inversely proportional
>to the segment arrival rate. On a 10Gb link, 100 byte
>DDP segments can arrive every 100ns (approx).
>1000 byte DDP segments can arrive every microsecond.
>Doing a direct placement every 100ns is
>impractical.  It's probably impossible with
>current host bus designs.
>
>Therefore the segments must be held in the 
>elasticity buffer, and end to end flow control
>must be used to avoid overflowing the buffer.
>It's this requirement that drives the size of
>the needed buffering.
>

As far as the RDDP engine is concerned, data can be placed
immediately as each segment is processed. The interactions
with the host bus controller is a detail of cache
management.

The elasticity buffer you are citing is an artifact of *one*
type of implementation with one type of NIC / host
interface.

Protocol decisions should still be valid even when DDP
support is designed into the motherboard, or is part of a
distributed cache system, etc.

The point is that each DDP segment is placeable as soon
as it is received, but the flushing of that placement to
host memory is subject to a great deal of implementation
optimization (and hence variation). The only requirement is
that it be placed *before* the following completion is
reported to the consumer.

Because the mechanics of placement is so flexible, and so
open to optimization, I do not think we should be making
other protocol design decisions based on the artifacts of
one way of interfacing the DDP engine and the host.

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct 29 11:07:36 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA10907
	for <rddp-archive@odin.ietf.org>; Tue, 29 Oct 2002 11:07:36 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9TG9UD22117
	for rddp-archive@odin.ietf.org; Tue, 29 Oct 2002 11:09:30 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9TG9Uv22114
	for <rddp-web-archive@optimus.ietf.org>; Tue, 29 Oct 2002 11:09:30 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA10902
	for <rddp-web-archive@ietf.org>; Tue, 29 Oct 2002 11:07:05 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9TG9Gv22096;
	Tue, 29 Oct 2002 11:09:16 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9TG86v22043
	for <rddp@optimus.ietf.org>; Tue, 29 Oct 2002 11:08:06 -0500
Received: from thebe.your-site.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA10771
	for <rddp@ietf.org>; Tue, 29 Oct 2002 11:05:41 -0500 (EST)
Received: from 192.168.0.2 (64-144-5-25.client.dsl.net [64.144.5.25])
	by thebe.your-site.com (Postfix) with ESMTP
	id 3F1463211F; Tue, 29 Oct 2002 11:08:00 -0500 (EST)
Date: Tue, 29 Oct 2002 10:08:00 -0600
From: Caitlin Bestler <cait@asomi.com>
To: rddp@ietf.org
X-Priority: 3
Message-ID: <r01050300-1020-98FE1560EB5811D6AA29003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Subject: [rddp] SCTP Multi-homing issues
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

The multi-homing capabilities of SCTP raises some questions
for DDP and the accessibility of host memory across multiple
interfaces.

An SCTP endpoint on a multi-homed host is a collection of
eligible IP addresses. Presumably these are on different
physical interfaces, doing otherwise just slows down the
failover process that is supposed to provide fault tolerance
for network failures.

This raises a few possibilities:

-- An RDMA/DDP SCTP endpoint may only select IP addresses
   that are managed by the same RNIC. This would represent
   a restriction on RDMA/DDP SCTP associations that would
   not apply to other SCTP associations.
   
-- All STags enabled for any stream in the association must
    be enabled for ALL RNICs that are part of the SCTP
    endpoint. This would require that SCTP RNICs accept
    host processor assigned STags.


If my understanding of the feature is correct, an SCTP
endpoint must be ready to recieve packets on any of the
eligible interfaces at any time. This is a sharp contrast to
automatic path migration under InfiniBand. It also mandates
full real-time duplication of all STag related resources on
every interface that is part of an SCTP endpoint. This is
clearly undesirable if the alternate interface was intended
solely as a fallback (i.e., a primary interfacewould carry
the entire traffic, as opposed to having n interfaces load
balance the traffic and willingly reduce to n-1 interfaces
with a reduced capacity).
 


In my opinion, many to most RDMA ULPs would prefer to handle
path migration on their own. This is especially true of
those that are using RDMA to achieve very low predictable
latencies. For those ULPs, restricting an SCTP endpoint to
the scope where the hardware can pool STag resources "for
free" would be the optimal choice.

For others, fully conforming to standard SCTP behavior with
its fault tolerance and congestion management would be
preferred.

Does anyone else have any thoughts on this tradeoff?

    
    

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct 29 12:42:22 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA15880
	for <rddp-archive@odin.ietf.org>; Tue, 29 Oct 2002 12:42:22 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9THiI727725
	for rddp-archive@odin.ietf.org; Tue, 29 Oct 2002 12:44:18 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9THiIv27722
	for <rddp-web-archive@optimus.ietf.org>; Tue, 29 Oct 2002 12:44:18 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA15858
	for <rddp-web-archive@ietf.org>; Tue, 29 Oct 2002 12:41:51 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9THi6v27709;
	Tue, 29 Oct 2002 12:44:06 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9THhiv27695
	for <rddp@optimus.ietf.org>; Tue, 29 Oct 2002 12:43:44 -0500
Received: from emulex.emulex.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA15837
	for <rddp@ietf.org>; Tue, 29 Oct 2002 12:41:16 -0500 (EST)
Received: from xbl.ad.emulex.com (xbl.ma.emulex.com [172.16.12.11])
	by emulex.emulex.com (8.9.1a/8.9.1) with ESMTP id JAA27878
	for <rddp@ietf.org>; Tue, 29 Oct 2002 09:43:38 -0800 (PST)
Received: by xbl.ma.emulex.com with Internet Mail Service (5.5.2653.19)
	id <VY387ZLT>; Tue, 29 Oct 2002 12:38:22 -0500
Message-ID: <3356669BBE90C448AD4645C843E2BF289B8EDF@xbl.ma.emulex.com>
From: "Williams, Jim" <Jim.Williams@Emulex.com>
To: rddp@ietf.org
Date: Tue, 29 Oct 2002 12:38:21 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"
Subject: [rddp] RE:  SCTP Multi-homing issues
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>



> -----Original Message-----
> From: Caitlin Bestler [mailto:cait@asomi.com]
> Sent: Tuesday, October 29, 2002 11:08 AM
> To: rddp@ietf.org
> Subject: [rddp] SCTP Multi-homing issues
> 
> 
> The multi-homing capabilities of SCTP raises some questions
> for DDP and the accessibility of host memory across multiple
> interfaces.
> 
> An SCTP endpoint on a multi-homed host is a collection of
> eligible IP addresses. Presumably these are on different
> physical interfaces, doing otherwise just slows down the
> failover process that is supposed to provide fault tolerance
> for network failures.
> 
> This raises a few possibilities:
> 
> -- An RDMA/DDP SCTP endpoint may only select IP addresses
>    that are managed by the same RNIC. This would represent
>    a restriction on RDMA/DDP SCTP associations that would
>    not apply to other SCTP associations.
>    
> -- All STags enabled for any stream in the association must
>     be enabled for ALL RNICs that are part of the SCTP
>     endpoint. This would require that SCTP RNICs accept
>     host processor assigned STags.

A third alternative is that the RNIC is a separate
endpoint (SCTP or TCP), with its own IP address
distinct from the host's IP addresses.  Therefore
multiple RNICs are separate endpoints and not
eligible to part of the same SCTP association.

If you take the other approach where the RNIC shares
an IP address with the host network stack, you are
left with a list of difficult problems.
Examples of the types of problems that occur include:

    How does the RNIC derive the ID field in the IP header
    so it doesn't collide with host generated IDs?
    
    What happens if the host is configured as a router
    and a packet destined for a connection accelerated
    by a given RNIC arrives on a different NIC?
   
    How do you manage the connections (SNMP etc.) to give
    a consistent view of statistics when some connections
    are offloaded by the RNIC and others run on the host
    stack?
    
    What happens if the host attempts to use link
    aggregation across two different NICs?

    The SCTP issues you raise above.

There may be practical solutions to all these problems,
but the number and complexity of such problems is troubling.
I would be interested in hearing how others perceive
these issues.
    
These problems go away if the RNIC is a separate endpoint
from the host.  However that means fail over
must be done at the application level,
because fail over at the RDMA, DDP, or transport
layer does not work.

 
> If my understanding of the feature is correct, an SCTP
> endpoint must be ready to receive packets on any of the
> eligible interfaces at any time. This is a sharp contrast to
> automatic path migration under InfiniBand. It also mandates
> full real-time duplication of all STag related resources on
> every interface that is part of an SCTP endpoint. This is
> clearly undesirable if the alternate interface was intended
> solely as a fallback (i.e., a primary interfacewould carry
> the entire traffic, as opposed to having n interfaces load
> balance the traffic and willingly reduce to n-1 interfaces
> with a reduced capacity).
>  
> In my opinion, many to most RDMA ULPs would prefer to handle
> path migration on their own. This is especially true of
> those that are using RDMA to achieve very low predictable
> latencies. For those ULPs, restricting an SCTP endpoint to
> the scope where the hardware can pool STag resources "for
> free" would be the optimal choice.
> 
> For others, fully conforming to standard SCTP behavior with
> its fault tolerance and congestion management would be
> preferred.
> 
> Does anyone else have any thoughts on this tradeoff?
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Tue Oct 29 16:25:22 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA26177
	for <rddp-archive@odin.ietf.org>; Tue, 29 Oct 2002 16:25:22 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9TLRJJ07264
	for rddp-archive@odin.ietf.org; Tue, 29 Oct 2002 16:27:19 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9TLRJv07261
	for <rddp-web-archive@optimus.ietf.org>; Tue, 29 Oct 2002 16:27:19 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA26103
	for <rddp-web-archive@ietf.org>; Tue, 29 Oct 2002 16:24:51 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9TLR8v07253;
	Tue, 29 Oct 2002 16:27:08 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9TLQov07231
	for <rddp@optimus.ietf.org>; Tue, 29 Oct 2002 16:26:50 -0500
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA26089
	for <rddp@ietf.org>; Tue, 29 Oct 2002 16:24:22 -0500 (EST)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9TLSLc00906;
	Tue, 29 Oct 2002 15:28:21 -0600
Date: Tue, 29 Oct 2002 15:26:42 -0600
From: Caitlin Bestler <caitlinb@rp.asomi.net>
Subject: Re: [rddp] RE:  SCTP Multi-homing issues
To: "Williams, Jim" <Jim.Williams@Emulex.com>, rddp@ietf.org
X-Priority: 3
In-Reply-To: <3356669BBE90C448AD4645C843E2BF289B8EDF@xbl.ma.emulex.com>
Message-ID: <r01050300-1020-1E81ADFCEB8511D6AA29003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/29/02, Williams, Jim wrote:

>
>
>> -----Original Message-----
>> From: Caitlin Bestler [mailto:cait@asomi.com]
>> Sent: Tuesday, October 29, 2002 11:08 AM
>> To: rddp@ietf.org
>> Subject: [rddp] SCTP Multi-homing issues
>> 
>> 
>> The multi-homing capabilities of SCTP raises some
questions
>> for DDP and the accessibility of host memory across
multiple
>> interfaces.
>> 
>> An SCTP endpoint on a multi-homed host is a collection of
>> eligible IP addresses. Presumably these are on different
>> physical interfaces, doing otherwise just slows down the
>> failover process that is supposed to provide fault
tolerance
>> for network failures.
>> 
>> This raises a few possibilities:
>> 
>> -- An RDMA/DDP SCTP endpoint may only select IP addresses
>>    that are managed by the same RNIC. This would
represent
>>    a restriction on RDMA/DDP SCTP associations that would
>>    not apply to other SCTP associations.
>>    
>> -- All STags enabled for any stream in the association
must
>>     be enabled for ALL RNICs that are part of the SCTP
>>     endpoint. This would require that SCTP RNICs accept
>>     host processor assigned STags.
>
>A third alternative is that the RNIC is a separate
>endpoint (SCTP or TCP), with its own IP address
>distinct from the host's IP addresses.  Therefore
>multiple RNICs are separate endpoints and not
>eligible to part of the same SCTP association.
>

In the context of the question raised above, that's just a
subset of the first case: the endpoint is limited as to
which IP addresses it may use.

>If you take the other approach where the RNIC shares
>an IP address with the host network stack, you are
>left with a list of difficult problems.
>Examples of the types of problems that occur include:
>
>    How does the RNIC derive the ID field in the IP header
>    so it doesn't collide with host generated IDs?

    One approach is that the RNIC does not truly own the
    connection/association, it merely handles most of the
    packets. Hence critical setup items, such as the choice
    of IP addresses or the SCTP verification tag are under
    control of the host processor.
    
    Having the RNIC take full responsibility for the
    connection/association is nice, but hardly necessary
    to ensure performance. Many aspects are only handled
    once per connection.
    
>    
>    What happens if the host is configured as a router
>    and a packet destined for a connection accelerated
>    by a given RNIC arrives on a different NIC?
>   

    The ULP must place a stream/connection in RDMA/DDP mode. 
    It  can only do so if their is an association/connection
    with this host. IP packets that are for other machines 
    are not targeting an association/connection on this 
    host, and hence cannot be subject to RDMA/DDP 
    processing.
    
>    How do you manage the connections (SNMP etc.) to give
>    a consistent view of statistics when some connections
>    are offloaded by the RNIC and others run on the host
>    stack?
> 
    A necessary local interface, but not necessaarily one
    that requires standardization.
    
    Giving the RNIC its own IP address, and own MIB, is
    certainly one excellent solution to this problem.
       
>    What happens if the host attempts to use link
>    aggregation across two different NICs?
>
    Link  aggregation is not defined for TCP. The host
    would have to have an internal IP address and 'route'
    packets via more than one external interface.
    
    SCTP specifies that 'By default, an endpoint SHOULD 
    always transmit to the primary path, unless the SCTP 
    user explicitly specifies the destination transport
    address (and possibly source transport address) to use.'
    
    Which means that link aggregation could easily happen
    at *either* the ULP or SCTP layers.
    
>    The SCTP issues you raise above.
>

Implementing DDP/multi-home SCTP is actually not that
frightening, as long as all of the issues are defined.
Each RNIC would be responsible for placement, but completion
processign (at both the SCTP and RDMA/DDP layers) would have
to be a common process.

There are many ways to provide that common process, and
ensure that it is efficient enough. The real issue is the
duplication of STag resources and the fact that for an STag
to be meaningful to the ULP it must be valid on all RNICs
that might be used for an association.




>    
>These problems go away if the RNIC is a separate endpoint
>from the host.  However that means fail over must be done
>at the application level, because fail over at the RDMA,
>DDP, or transport layer does not work.
>
Failover of the primary path to an alternate path within an
SCTP association would not create any problem that I can
think of.


Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Wed Oct 30 17:20:50 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA15900
	for <rddp-archive@odin.ietf.org>; Wed, 30 Oct 2002 17:20:50 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9UMMnd07409
	for rddp-archive@odin.ietf.org; Wed, 30 Oct 2002 17:22:49 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9UMMmv07406
	for <rddp-web-archive@optimus.ietf.org>; Wed, 30 Oct 2002 17:22:48 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA15877
	for <rddp-web-archive@ietf.org>; Wed, 30 Oct 2002 17:20:19 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9UMMYv07367;
	Wed, 30 Oct 2002 17:22:34 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9UMLEv07295
	for <rddp@optimus.ietf.org>; Wed, 30 Oct 2002 17:21:14 -0500
Received: from emulex.emulex.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA15809;
	Wed, 30 Oct 2002 17:18:44 -0500 (EST)
Received: from xbl.ad.emulex.com (xbl.ma.emulex.com [172.16.12.11])
	by emulex.emulex.com (8.9.1a/8.9.1) with ESMTP id OAA01127;
	Wed, 30 Oct 2002 14:21:00 -0800 (PST)
Received: by xbl.ma.emulex.com with Internet Mail Service (5.5.2653.19)
	id <VY3877GL>; Wed, 30 Oct 2002 17:15:47 -0500
Message-ID: <3356669BBE90C448AD4645C843E2BF289B8EE3@xbl.ma.emulex.com>
From: "Williams, Jim" <Jim.Williams@Emulex.com>
To: "'Caitlin Bestler'" <caitlinb@rp.asomi.net>
Cc: rddp@ietf.org, tsvwg@ietf.org
Date: Wed, 30 Oct 2002 17:15:37 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"
Subject: [rddp] RE:I-D ACTION:draft-williams-iwarp-ift-00.txt
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>



> -----Original Message-----
> From: Caitlin Bestler [mailto:caitlinb@rp.asomi.net]
> Sent: Monday, October 28, 2002 10:28 PM
> To: Williams, Jim
> Cc: rddp@ietf.org; tsvwg@ietf.org
> Subject: Re: [rddp] RE:I-D ACTION:draft-williams-iwarp-ift-00.txt
>
> [...]
> 
> The elasticity buffer you are citing is an artifact of *one*
> type of implementation with one type of NIC / host
> interface.
> 
> Protocol decisions should still be valid even when DDP
> support is designed into the motherboard, or is part of a
> distributed cache system, etc.
> 
> The point is that each DDP segment is placeable as soon
> as it is received, but the flushing of that placement to
> host memory is subject to a great deal of implementation
> optimization (and hence variation). The only requirement is
> that it be placed *before* the following completion is
> reported to the consumer.
> 
> Because the mechanics of placement is so flexible, and so
> open to optimization, I do not think we should be making
> other protocol design decisions based on the artifacts of
> one way of interfacing the DDP engine and the host.

I agree with your last sentence.  I disagree that it applies
in this case.  Implementation concerns should not drive
protocol definitions if they are an artifact of one
type of implementation.  Implementation concerns
are an important driving factor if they are inherent
in the protocol itself and most reasonable implementations
of that protocol.

When a DDP packet is received, there are some fundamental
things that need to be done before the data can be placed.
These things need to be done independent of the type
of implementation.

  1.  The IP addresses and port numbers must be looked
      up in an associative array to locate the connection
      context.

  2.  The connection context must be referenced.

  3.  PAWS check must be done to determine is packet is valid,
      and sequence number must be checked to insure it is
      within the valid window.  This is done using information
      contained in the context.

  4.  The memory buffer keys must be checked for validity
      and permission, and the physical destination address
      determined.

Some of these involve round trips to large memory structures.
If the number of active connections is large, one can't
necessarily depend on caches.

Is it theoretically possible to do all this and still process
packets at a rate of one every 100ns?  Absolutely.  Is it 
more economical to do this than to add a reasonable amount
of buffer memory and process packets at a rate of one
every 500ns or 1000ns?  My experience would indicate not.
Not even close.

I believe the MPA draft as currently proposed adds considerable
complexity to the protocol, and is considerably more intrusive
on how TCP should be implemented.  It also is quite non-optimal
for implementation that do not attempt to do out of order
data placement.  It therefore requires significant justification
with respect to how it can enable more cost effective 
implementations.

I look forward to hearing more detailed arguments from MPA
proponents describing how MPA will enable more cost
effective implementations.

 - Jim

_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Wed Oct 30 22:11:26 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA23954
	for <rddp-archive@odin.ietf.org>; Wed, 30 Oct 2002 22:11:25 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9V3DQJ23065
	for rddp-archive@odin.ietf.org; Wed, 30 Oct 2002 22:13:26 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9V3DQv23062
	for <rddp-web-archive@optimus.ietf.org>; Wed, 30 Oct 2002 22:13:26 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA23934
	for <rddp-web-archive@ietf.org>; Wed, 30 Oct 2002 22:10:54 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9V3D7v23051;
	Wed, 30 Oct 2002 22:13:07 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9V3C2v23022
	for <rddp@optimus.ietf.org>; Wed, 30 Oct 2002 22:12:02 -0500
Received: from ztxmail04.ztx.compaq.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA23929;
	Wed, 30 Oct 2002 22:09:30 -0500 (EST)
Received: from cceexg11.americas.cpqcorp.net (cceexg11.americas.cpqcorp.net [16.110.250.125])
	by ztxmail04.ztx.compaq.com (Postfix) with ESMTP
	id 626C42819; Wed, 30 Oct 2002 21:11:52 -0600 (CST)
Received: from cceexc18.americas.cpqcorp.net ([16.110.250.64]) by cceexg11.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966);
	 Wed, 30 Oct 2002 21:11:48 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Date: Wed, 30 Oct 2002 21:11:47 -0600
Message-ID: <4D027986353D1341ADA4F2A4F8A1707628687F96@cceexc18.americas.cpqcorp.net>
Thread-Topic: [Tsvwg] RE:I-D ACTION:draft-williams-iwarp-ift-00.txt
Thread-Index: AcKAYwOicNJvxFj3R+qgnhQcDGRJ/wACwusw
From: "Culley, Paul" <Paul.Culley@hp.com>
To: "Williams, Jim" <Jim.Williams@emulex.com>,
        "Caitlin Bestler" <caitlinb@rp.asomi.net>
Cc: <rddp@ietf.org>, <tsvwg@ietf.org>
X-OriginalArrivalTime: 31 Oct 2002 03:11:48.0084 (UTC) FILETIME=[3FE90340:01C2808B]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by www1.ietf.org id g9V3C2v23023
Subject: [rddp] RE: [Tsvwg] RE:I-D ACTION:draft-williams-iwarp-ift-00.txt
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit

embedded...

Paul Culley
HP Sr. Fellow
281-514-5543


-----Original Message-----
From: Williams, Jim [mailto:Jim.Williams@emulex.com]
Sent: Wednesday, October 30, 2002 4:16 PM
To: 'Caitlin Bestler'
Cc: rddp@ietf.org; tsvwg@ietf.org
Subject: [Tsvwg] RE:I-D ACTION:draft-williams-iwarp-ift-00.txt




> -----Original Message-----
> From: Caitlin Bestler [mailto:caitlinb@rp.asomi.net]
> Sent: Monday, October 28, 2002 10:28 PM
> To: Williams, Jim
> Cc: rddp@ietf.org; tsvwg@ietf.org
> Subject: Re: [rddp] RE:I-D ACTION:draft-williams-iwarp-ift-00.txt
>
> [...]
> 
> The elasticity buffer you are citing is an artifact of *one*
> type of implementation with one type of NIC / host
> interface.
> 
> Protocol decisions should still be valid even when DDP
> support is designed into the motherboard, or is part of a
> distributed cache system, etc.
> 
> The point is that each DDP segment is placeable as soon
> as it is received, but the flushing of that placement to
> host memory is subject to a great deal of implementation
> optimization (and hence variation). The only requirement is
> that it be placed *before* the following completion is
> reported to the consumer.
> 
> Because the mechanics of placement is so flexible, and so
> open to optimization, I do not think we should be making
> other protocol design decisions based on the artifacts of
> one way of interfacing the DDP engine and the host.

I agree with your last sentence.  I disagree that it applies
in this case.  Implementation concerns should not drive
protocol definitions if they are an artifact of one
type of implementation.  Implementation concerns
are an important driving factor if they are inherent
in the protocol itself and most reasonable implementations
of that protocol.

When a DDP packet is received, there are some fundamental
things that need to be done before the data can be placed.
These things need to be done independent of the type
of implementation.

  1.  The IP addresses and port numbers must be looked
      up in an associative array to locate the connection
      context.

  2.  The connection context must be referenced.

  3.  PAWS check must be done to determine is packet is valid,
      and sequence number must be checked to insure it is
      within the valid window.  This is done using information
      contained in the context.

  4.  The memory buffer keys must be checked for validity
      and permission, and the physical destination address
      determined.

Some of these involve round trips to large memory structures.
If the number of active connections is large, one can't
necessarily depend on caches.

Is it theoretically possible to do all this and still process
packets at a rate of one every 100ns?  Absolutely.  Is it 
more economical to do this than to add a reasonable amount
of buffer memory and process packets at a rate of one
every 500ns or 1000ns?  My experience would indicate not.
Not even close.

<prc> There are vendors of NICs that do not agree with you...  And if you can only process packets every 1000 ns, a 10Gigabit NIC could only sustain about 4 gigabits throughput, not a very good NIC.  (using 80%bw for large 1500 byte packets, 20%bw for small 100 byte packets)
<prc>

I believe the MPA draft as currently proposed adds considerable
complexity to the protocol, and is considerably more intrusive
on how TCP should be implemented.  It also is quite non-optimal
for implementation that do not attempt to do out of order
data placement.  It therefore requires significant justification
with respect to how it can enable more cost effective 
implementations.

<prc> In what way is MPA non-optimal for implementations that choose to do in-order?  The only things that come to mind are the segmentation alignment requirements at the transmitter, (weren't you a proponent of this type of alignment in prior framing drafts?) and a requirement to remove markers at the receiver.  Neither seems to be particularly difficult to do in an in-order NIC, but without these features, it is not possible to reliably do an out of order NIC.  Seems like we should enable as wide a range of NIC implementations as possible...
<prc>

I look forward to hearing more detailed arguments from MPA
proponents describing how MPA will enable more cost
effective implementations.

 - Jim

_______________________________________________
tsvwg mailing list
tsvwg@ietf.org
https://www1.ietf.org/mailman/listinfo/tsvwg
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 31 12:21:05 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA02221
	for <rddp-archive@odin.ietf.org>; Thu, 31 Oct 2002 12:21:05 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9VHN2i14494
	for rddp-archive@odin.ietf.org; Thu, 31 Oct 2002 12:23:02 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9VHN1v14491
	for <rddp-web-archive@optimus.ietf.org>; Thu, 31 Oct 2002 12:23:01 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA02201
	for <rddp-web-archive@ietf.org>; Thu, 31 Oct 2002 12:20:34 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9VHMsv14468;
	Thu, 31 Oct 2002 12:22:54 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9VHLDv14355
	for <rddp@optimus.ietf.org>; Thu, 31 Oct 2002 12:21:13 -0500
Received: from emulex.emulex.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA02137;
	Thu, 31 Oct 2002 12:18:45 -0500 (EST)
Received: from xbl.ad.emulex.com (xbl.ma.emulex.com [172.16.12.11])
	by emulex.emulex.com (8.9.1a/8.9.1) with ESMTP id JAA19986;
	Thu, 31 Oct 2002 09:21:07 -0800 (PST)
Received: by xbl.ma.emulex.com with Internet Mail Service (5.5.2653.19)
	id <VY3878YD>; Thu, 31 Oct 2002 12:15:56 -0500
Message-ID: <3356669BBE90C448AD4645C843E2BF289B8EE7@xbl.ma.emulex.com>
From: "Williams, Jim" <Jim.Williams@Emulex.com>
To: rddp@ietf.org, tsvwg@ietf.org
Date: Thu, 31 Oct 2002 12:15:55 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"
Subject: [rddp] Another Possible Argument for IFT over MPA
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

I did not include this argument in the 
draft because I am unsure of its validity.
I would hope, though, to get some feedback
from this group as to whether this makes
sense or not.

The argument is based on how best to deal
with out of order received packets.  The
primary reason for out of order received
packets is that often packets are dropped
due to congestion and must be retransmitted.
The receiver will see a gap in the received
stream of data, which will be filled in
later when the dropped packet is retransmitted.

MPA proposes to address this problem by
providing a more efficient mechanism for 
dealing with these out of order packets.
It does so by adding complexity at the
application layer (above the transport),
and requiring implementations wishing
to exploit this feature to merge the
TCP, MPA, and DDP layers.

ECN addresses the same problem in a very
different way.  It allows routers to control
congestion without the need to drop packets.
Theoretically, if ECN is widely deployed
and used, dropped packets could become
sufficiently rare that it would not be
important for end points to handle them
efficiently.

ECN seems like a much
simpler, cleaner, and preferable way
to address this problem.  Given the choice,
it would make sense that this is the
direction in which the internet architecture
should be driven.

What I am not clear on is what is the rate
of adoption of ECN within the internet
switching infrastructure, and to what
extent can we realistically expect this
to drive down the packet drop rate for
endpoints that support ECN.

Feedback from anyone knowledgeable about
ECN and about internet architectural
direction in general would be quite
valuable.

Thanks, Jim Williams

Drafts under discussion:

  http://www.ietf.org/internet-drafts/draft-williams-iwarp-ift-00.txt

  http://www.ietf.org/internet-drafts/draft-culley-iwarp-mpa-00.txt



_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 31 13:00:21 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA04945
	for <rddp-archive@odin.ietf.org>; Thu, 31 Oct 2002 13:00:21 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9VI2Ir17661
	for rddp-archive@odin.ietf.org; Thu, 31 Oct 2002 13:02:18 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9VI2Iv17658
	for <rddp-web-archive@optimus.ietf.org>; Thu, 31 Oct 2002 13:02:18 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA04879
	for <rddp-web-archive@ietf.org>; Thu, 31 Oct 2002 12:59:50 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9VI2Bv17638;
	Thu, 31 Oct 2002 13:02:11 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9VI0Xv17457
	for <rddp@optimus.ietf.org>; Thu, 31 Oct 2002 13:00:33 -0500
Received: from emulex.emulex.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA04757;
	Thu, 31 Oct 2002 12:58:04 -0500 (EST)
Received: from xbl.ad.emulex.com (xbl.ma.emulex.com [172.16.12.11])
	by emulex.emulex.com (8.9.1a/8.9.1) with ESMTP id KAA21396;
	Thu, 31 Oct 2002 10:00:18 -0800 (PST)
Received: by xbl.ma.emulex.com with Internet Mail Service (5.5.2653.19)
	id <VY387864>; Thu, 31 Oct 2002 12:55:08 -0500
Message-ID: <3356669BBE90C448AD4645C843E2BF289B8EE9@xbl.ma.emulex.com>
From: "Williams, Jim" <Jim.Williams@Emulex.com>
To: "'Joe Touch'" <touch@ISI.EDU>
Cc: rddp@ietf.org, tsvwg@ietf.org
Date: Thu, 31 Oct 2002 12:54:57 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"
Subject: [rddp] RE: [Tsvwg] Another Possible Argument for IFT over MPA
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>

> -----Original Message-----
> From: Joe Touch [mailto:touch@ISI.EDU]
> 
> [...]
>
> A secondary reason is that IP does not guarantee in-order delivery.

True.  But I am assuming that it is quite rare
in practice that IP actually delivers out of order.  Is
this correct?

> [...]
> 
> Down != 0. Even ECN drops packets.

True again.  But if dropped packets are sufficiently
rare, the endpoint can handle them inefficiently
(but correctly) without significantly affecting
overall performance.  Hence my concern about
how rare they will actually be.
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



From mailnull@www1.ietf.org  Thu Oct 31 17:10:18 2002
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA17555
	for <rddp-archive@odin.ietf.org>; Thu, 31 Oct 2002 17:10:18 -0500 (EST)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id g9VMCGo02282
	for rddp-archive@odin.ietf.org; Thu, 31 Oct 2002 17:12:16 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9VMCGv02279
	for <rddp-web-archive@optimus.ietf.org>; Thu, 31 Oct 2002 17:12:16 -0500
Received: from www1.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA17542
	for <rddp-web-archive@ietf.org>; Thu, 31 Oct 2002 17:09:47 -0500 (EST)
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9VMC7v02263;
	Thu, 31 Oct 2002 17:12:07 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id g9VMBBv02227
	for <rddp@optimus.ietf.org>; Thu, 31 Oct 2002 17:11:11 -0500
Received: from rp.asomi.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA17522;
	Thu, 31 Oct 2002 17:08:41 -0500 (EST)
Received: from 192.168.0.2 (g4.asomi.net [192.168.0.2])
	by rp.asomi.net (8.11.3/8.11.2/SuSE Linux 8.11.1-0.5) with ESMTP id g9VMCmc08179;
	Thu, 31 Oct 2002 16:12:48 -0600
Date: Thu, 31 Oct 2002 16:11:07 -0600
From: Caitlin Bestler <caitlinb@rp.asomi.net>
To: "Williams, Jim" <Jim.Williams@emulex.com>
cc: rddp@ietf.org, tsvwg@ietf.org
X-Priority: 3
In-Reply-To: <3356669BBE90C448AD4645C843E2BF289B8EE3@xbl.ma.emulex.com>
Message-ID: <r01050300-1020-A7C6980CED1D11D6B05A003065D48EE0@[192.168.0.2]>
MIME-Version: 1.0
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Mailer: Mailsmith 1.5.3 (Blindsider)
Content-Transfer-Encoding: 7bit
Subject: [rddp] Re: [Tsvwg] RE:I-D ACTION:draft-williams-iwarp-ift-00.txt
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On 10/30/02, Williams, Jim wrote:


>
>I agree with your last sentence.  I disagree that it
>applies in this case.  Implementation concerns should not
>drive protocol definitions if they are an artifact of one
>type of implementation.  Implementation concerns are an
>important driving factor if they are inherent in the
>protocol itself and most reasonable implementations of
>that protocol.
>
>When a DDP packet is received, there are some fundamental
>things that need to be done before the data can be placed.
>These things need to be done independent of the type
>of implementation.
>
>  1.  The IP addresses and port numbers must be looked
>      up in an associative array to locate the connection
>      context.
>
>  2.  The connection context must be referenced.
>
>  3.  PAWS check must be done to determine is packet is 
>       valid, and sequence number must be checked to insure 
>       it is within the valid window.  This is done using 
>       information contained in the context.
>
>  4.  The memory buffer keys must be checked for validity
>      and permission, and the physical destination address
>      determined.
>
>Some of these involve round trips to large memory
>structures. If the number of active connections is large,
>one can't necessarily depend on caches.
>
There is less data here that it might appear, particularly
if the connection is identified through a CAM mechanism.

The connection hash table (presumably in the CAM) is the
largest table: Source IP+Port, Destination IP+Port and the
resulting Context. The number of Destination IPs supported
can be limited to reduce the entry size even further,
especially versus IPv6.

The only required per connection data is the receive window
and the protection domain.

Per STag data: the limits, memory map pointer and pd.

Further, these lookups can execute in parallel (if the STag
is a unique key that leads to a validating PD rather than
the PD + STag forming the key). If the connection hash is
managed by a CAM, parallel execution is not only possible
but natural.

In general, use of memory for lookup has far less impact
that its use as a holding buffer. Holding buffers require
round trips of the entire contents. Table lookups access a
few bytes per packet. Even if the data is held in external
RAM, it would not have to have the same width/frequency as
external RAM being used to round-trip the data would.

>Is it theoretically possible to do all this and still
>process packets at a rate of one every 100ns?  Absolutely.
> Is it more economical to do this than to add a reasonable
>amount of buffer memory and process packets at a rate of
>one every 500ns or 1000ns?  My experience would indicate
>not. Not even close.
>

For many designs you are correct, especially when the design
is optimizing plain TCP as well as RDDP.

The question is relative burden. While MPA markers are ugly,
I do not perceive them as being anything other than a
nuisance. They have to be dealt with, but they will not be
crippling to a NIC that was adopting a use-large-buffer-to-
process-packets-in-order strategy.

On the flip side, the abscence of markers would be a killer
for NICs that wanted to process packets at wire speed
without using external memory as a holding buffer.

>I believe the MPA draft as currently proposed adds
>considerable complexity to the protocol, and is
>considerably more intrusive on how TCP should be
>implemented.  It also is quite non-optimal for
>implementation that do not attempt to do out of order data
>placement.  It therefore requires significant
>justification with respect to how it can enable more cost
>effective implementations.
>

I think this is a key area of differing evaluations. MPA is
not pretty, but exactly where do you see it adding
"considerable complexity"?

Caitlin Bestler
http://asomi.com/CaitlinBestler/
_______________________________________________
rddp mailing list
rddp@ietf.org
https://www1.ietf.org/mailman/listinfo/rddp



