From rddp-bounces@ietf.org  Tue Sep 21 19:39:42 2004
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA13023
	for <rddp-web-archive@ietf.org>; Tue, 21 Sep 2004 19:39:42 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1C9uL4-0001G2-6Q
	for rddp-web-archive@ietf.org; Tue, 21 Sep 2004 19:46:26 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1C9uDK-00021z-8q; Tue, 21 Sep 2004 19:38:26 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1C9uCG-0001m3-V6
	for rddp@megatron.ietf.org; Tue, 21 Sep 2004 19:37:20 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA12900
	for <rddp@ietf.org>; Tue, 21 Sep 2004 19:37:17 -0400 (EDT)
Received: from mail.ttlc.net ([66.94.32.4] helo=lampreynetworks.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1C9uIZ-0001Dm-Bq
	for rddp@ietf.org; Tue, 21 Sep 2004 19:44:01 -0400
Received: from i8600 [24.61.195.169] by lampreynetworks.com with ESMTP
	(SMTPD32-7.07) id AB249100056; Tue, 21 Sep 2004 19:37:08 -0400
From: "Barry Reinhold" <bbr@lampreynetworks.com>
To: "RDDP" <rddp@ietf.org>
Date: Tue, 21 Sep 2004 19:37:01 -0400
Message-ID: <000301c4a033$e88f53e0$c282a8c0@i8600>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Importance: Normal
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0fa76816851382eb71b0a882ccdc29ac
Content-Transfer-Encoding: 7bit
Subject: [rddp] Proper value for embedded marker when FPDU is preceded by a
	marker
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IETF Remote Direct Data Placement \(rddp\) WG" <rddp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
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>
Sender: rddp-bounces@ietf.org
Errors-To: rddp-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: b280b4db656c3ca28dd62e5e0b03daa8
Content-Transfer-Encoding: 7bit

Clause 7.1 in MPA states:

   "An FPDUPTR value of 0x0000 is a special case - it is used when the
   marker falls exactly between FPDUs.  In this case, the marker MUST be
   placed in the following FPDU and viewed as being part of that FPDU
   (e.g. for CRC calculation). Thus an FPDUPTR value of 0x0000 means
   that immediately following the marker is an FPDU header."

When a marker falls between FPDUs, and is "viewed as being part of that
FPDU", is it considered to be part of the FPDU in terms of the values
placed in other markers? That is, if I have a second marker in the FPDU
that has a marker right before the start of the FPDU, is the value in my
second marker point me to the start of the first marker or to the start
of the "real" FPDU.

By example:

|FPDU-start....FPDU-end|MARKER|FPDU-start....MARKER2....FPDU-end|
                       ^      ^
                       |      |
                       |      |
                       A      B

Does the back pointer in MARKER2 point to A or to B?


This issue has already been discussed a bit on another reflector - and
Pat Thaler has observed the following:

+++++++++++++++++++++++++++++++++++

I don't think we thought about this issue. It may be better to have the
marker point to location A. My rationale: 

We are always having to keep an eye on which location has a marker and
skip it so it doesn't save anything to have the markers point at B. 

On the other hand, if we get data out of sequence and unaligned so we
are having to use the markers to find the start of data, we will have to
know where to start the CRC check on the marker we find for that frame.
If the rule is the marker has to point at B, then we will always have to
check to see if B is just after a marker location to know where to start
the CRC calculation.

Another point: We are using markers to find out where we are right? I
expect one would look at the earliest marker one has in the stream
first. Looking at the stream, if what we have received starts here or
earlier,
                         |
                         V
> |FPDU-start....FPDU-end|MARKER1|FPDU-start....MARKER2....FPDU-end|
>                        ^      ^
>                        |      |
>                        |      |
>                        A      B

Then we will have looked at MARKER1 anyway and MARKER2 won't matter and
we wouldn't do any extra math. Lets say instead that what we got started
at B. If we get MARKER2 and it points to B, it would be natural to try
to process the frame because we have the start. But we can't do that
because we don't have MARKER1 so we can't do the CRC. We would have to
do the math to check whether there was a marker immediately proceeding
before we could even decide whether to process the frame.

If markers always point to the frame start (meaning start including the
marker position), then we never have to do an extra checking step.

Regards,
Pat
Barry Reinhold
Lamprey Networks
bbr@lampreynetworks.com
(603) 868-8411
 




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


From rddp-bounces@ietf.org  Wed Sep 22 12:41:17 2004
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA22414
	for <rddp-web-archive@ietf.org>; Wed, 22 Sep 2004 12:41:17 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CAAHo-0002XD-OY
	for rddp-web-archive@ietf.org; Wed, 22 Sep 2004 12:48:11 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CAA8b-0001lD-P4; Wed, 22 Sep 2004 12:38:37 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CAA35-0000Ta-Lj
	for rddp@megatron.ietf.org; Wed, 22 Sep 2004 12:32:55 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA21695
	for <rddp@ietf.org>; Wed, 22 Sep 2004 12:32:52 -0400 (EDT)
Received: from magic.adaptec.com ([216.52.22.17])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CAA9e-0002LD-6V
	for rddp@ietf.org; Wed, 22 Sep 2004 12:39:45 -0400
Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11])
	by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id i8MGWKW24005
	for <rddp@ietf.org>; Wed, 22 Sep 2004 09:32:20 -0700
Received: from aime2k02.adaptec.com (aime2k02.adaptec.com [10.25.8.42])
	by redfish.adaptec.com (8.11.6/8.11.6) with ESMTP id i8MGWKm29883
	for <rddp@ietf.org>; Wed, 22 Sep 2004 09:32:20 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [rddp] Proper value for embedded marker when FPDU is preceded by
	amarker
Date: Wed, 22 Sep 2004 09:32:20 -0700
Message-ID: <B38A3B4F283DBA419282705B57A2425B022E58CF@aime2k02.adaptec.com>
Thread-Topic: [rddp] Proper value for embedded marker when FPDU is preceded by
	amarker
Thread-Index: AcSgNHaOwx4WP4CSTSSEZ9ZxbErDgQAihV/Q
From: "Carrier, John" <John_Carrier@adaptec.com>
To: "RDDP" <rddp@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2086112c730e13d5955355df27e3074b
Content-Transfer-Encoding: quoted-printable
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IETF Remote Direct Data Placement \(rddp\) WG" <rddp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
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>
Sender: rddp-bounces@ietf.org
Errors-To: rddp-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 22bbb45ef41b733eb2d03ee71ece8243
Content-Transfer-Encoding: quoted-printable


I agree with Pat's explanation.=20

I think we should clarify the text in the MPA spec by clearly stating =
that these markers "are part of the FPDU" not just "viewed as part of =
the FPDU". =20

As a result, since markers point back to the first byte of the FPDU, an =
MPA receiver that uses a marker with a non-zero FPDUPTR to find the =
start of the FPDU must check that the start of the FPDU is not another =
marker before interpreting the FPDU's ULPDU_length field.  =20

I think, since ULPDU_length=3D0 isn't ruled out by the spec, the only =
way to do this is to check that the FPDUPTR is not a multiple of the =
marker interval.

--jc


> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org]On Behalf Of
> Barry Reinhold
> Sent: Tuesday, September 21, 2004 4:37 PM
> To: RDDP
> Subject: [rddp] Proper value for embedded marker when FPDU is preceded
> by amarker
>=20
>=20
> Clause 7.1 in MPA states:
>=20
>    "An FPDUPTR value of 0x0000 is a special case - it is used when the
>    marker falls exactly between FPDUs.  In this case, the=20
> marker MUST be
>    placed in the following FPDU and viewed as being part of that FPDU
>    (e.g. for CRC calculation). Thus an FPDUPTR value of 0x0000 means
>    that immediately following the marker is an FPDU header."
>=20
> When a marker falls between FPDUs, and is "viewed as being=20
> part of that
> FPDU", is it considered to be part of the FPDU in terms of the values
> placed in other markers? That is, if I have a second marker=20
> in the FPDU
> that has a marker right before the start of the FPDU, is the=20
> value in my
> second marker point me to the start of the first marker or to=20
> the start
> of the "real" FPDU.
>=20
> By example:
>=20
> |FPDU-start....FPDU-end|MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^      ^
>                        |      |
>                        |      |
>                        A      B
>=20
> Does the back pointer in MARKER2 point to A or to B?
>=20
>=20
> This issue has already been discussed a bit on another reflector - and
> Pat Thaler has observed the following:
>=20
> +++++++++++++++++++++++++++++++++++
>=20
> I don't think we thought about this issue. It may be better=20
> to have the
> marker point to location A. My rationale:=20
>=20
> We are always having to keep an eye on which location has a marker and
> skip it so it doesn't save anything to have the markers point at B.=20
>=20
> On the other hand, if we get data out of sequence and unaligned so we
> are having to use the markers to find the start of data, we=20
> will have to
> know where to start the CRC check on the marker we find for=20
> that frame.
> If the rule is the marker has to point at B, then we will=20
> always have to
> check to see if B is just after a marker location to know=20
> where to start
> the CRC calculation.
>=20
> Another point: We are using markers to find out where we are right? I
> expect one would look at the earliest marker one has in the stream
> first. Looking at the stream, if what we have received starts here or
> earlier,
>                          |
>                          V
> > |FPDU-start....FPDU-end|MARKER1|FPDU-start....MARKER2....FPDU-end|
> >                        ^      ^
> >                        |      |
> >                        |      |
> >                        A      B
>=20
> Then we will have looked at MARKER1 anyway and MARKER2 won't=20
> matter and
> we wouldn't do any extra math. Lets say instead that what we=20
> got started
> at B. If we get MARKER2 and it points to B, it would be natural to try
> to process the frame because we have the start. But we can't do that
> because we don't have MARKER1 so we can't do the CRC. We would have to
> do the math to check whether there was a marker immediately proceeding
> before we could even decide whether to process the frame.
>=20
> If markers always point to the frame start (meaning start=20
> including the
> marker position), then we never have to do an extra checking step.
>=20
> Regards,
> Pat
> Barry Reinhold
> Lamprey Networks
> bbr@lampreynetworks.com
> (603) 868-8411
> =20
>=20
>=20
>=20
>=20
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
>=20

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


From rddp-bounces@ietf.org  Wed Sep 22 13:21:20 2004
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA25193
	for <rddp-web-archive@ietf.org>; Wed, 22 Sep 2004 13:21:20 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CAAub-0003IA-NM
	for rddp-web-archive@ietf.org; Wed, 22 Sep 2004 13:28:14 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CAAl5-0001YY-MA; Wed, 22 Sep 2004 13:18:23 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CAAhh-0000Gm-Bo
	for rddp@megatron.ietf.org; Wed, 22 Sep 2004 13:14:53 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA24464
	for <rddp@ietf.org>; Wed, 22 Sep 2004 13:14:49 -0400 (EDT)
From: pat_thaler@agilent.com
Received: from msgbas1tx.cos.agilent.com ([192.25.240.37]
	helo=msgbas2x.cos.agilent.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CAAo9-00037F-7i
	for rddp@ietf.org; Wed, 22 Sep 2004 13:21:43 -0400
Received: from enccos5.cos.agilent.com (enccos5.cos.agilent.com
	[130.29.152.94])
	by msgbas2x.cos.agilent.com (Postfix) with SMTP id 3C63B8045
	for <rddp@ietf.org>; Wed, 22 Sep 2004 11:14:38 -0600 (MDT)
Received: from relcos2.cos.agilent.com (130.29.152.237)
	by enccos5.cos.agilent.com (Sigaba Gateway v3.83)
	with ESMTP id 274092; Wed, 22 Sep 2004 11:15:08 -0600
Received: from wcosvs02.cos.agilent.com (wcosvs02.cos.agilent.com
	[130.29.152.188])
	by relcos2.cos.agilent.com (Postfix) with ESMTP id 04DA2CE
	for <rddp@ietf.org>; Wed, 22 Sep 2004 11:14:38 -0600 (MDT)
Received: from wcosbh22.cos.agilent.com ([130.29.152.178]) by
	wcosvs02.cos.agilent.com with InterScan Messaging Security
	Suite; Wed, 22 Sep 2004 11:14:36 -0600
Received: from wcosmb08.cos.agilent.com ([130.29.155.231]) by
	wcosbh22.cos.agilent.com with Microsoft SMTPSVC(5.0.2195.6713); 
	Wed, 22 Sep 2004 11:14:36 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [rddp] Proper value for embedded marker when FPDU is preceded
	byamarker
Date: Wed, 22 Sep 2004 11:14:36 -0600
Message-ID: <3F23D77DF376BA4290EB1D0AA297A61F3FC795@wcosmb08.cos.agilent.com>
Thread-Topic: [rddp] Proper value for embedded marker when FPDU is preceded
	byamarker
Thread-Index: AcSgNHaOwx4WP4CSTSSEZ9ZxbErDgQAihV/QAAF5IRA=
To: <John_Carrier@adaptec.com>, <rddp@ietf.org>
X-OriginalArrivalTime: 22 Sep 2004 17:14:36.0640 (UTC)
	FILETIME=[A2F94E00:01C4A0C7]
X-Spam-Score: 0.3 (/)
X-Scan-Signature: 03169bfe4792634a390035a01a6c6d2f
Content-Transfer-Encoding: quoted-printable
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IETF Remote Direct Data Placement \(rddp\) WG" <rddp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
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>
Sender: rddp-bounces@ietf.org
Errors-To: rddp-bounces@ietf.org
X-Spam-Score: 0.3 (/)
X-Scan-Signature: 3fbd9b434023f8abfcb1532abaec7a21
Content-Transfer-Encoding: quoted-printable

I just want to point out that the processing of FPDUs is always having =
to know where markers are and skip over them in preparing what it will =
pass up to DDP. Therefore, the situation we are discussing doesn't =
require any extra checking. The implementation is just doing the same =
thing it would do during in order processing where an FPDU ends.=20

To ensure that the MPA spec is clear about the value of markers in the =
case where an FPDU begins with a marker, we should add the following to =
the end of the paragraph discussing the FPDUPTR value of 0x0000 in 5.1:=20
"When a marker contains the FPDUPTR value of 0x0000, the beginning of =
that marker is  the beginning of the FPDU and its location in the TCP =
stream is used to determine the FPDUPTR value for any subsequent markers =
in the FPDU."=20

Regards,
Pat

-----Original Message-----
From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org]On Behalf Of
Carrier, John
Sent: Wednesday, 22 September, 2004 9:32 AM
To: RDDP
Subject: RE: [rddp] Proper value for embedded marker when FPDU is
preceded byamarker



I agree with Pat's explanation.=20

I think we should clarify the text in the MPA spec by clearly stating =
that these markers "are part of the FPDU" not just "viewed as part of =
the FPDU". =20

As a result, since markers point back to the first byte of the FPDU, an =
MPA receiver that uses a marker with a non-zero FPDUPTR to find the =
start of the FPDU must check that the start of the FPDU is not another =
marker before interpreting the FPDU's ULPDU_length field.  =20

I think, since ULPDU_length=3D0 isn't ruled out by the spec, the only =
way to do this is to check that the FPDUPTR is not a multiple of the =
marker interval.

--jc


> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org]On Behalf Of
> Barry Reinhold
> Sent: Tuesday, September 21, 2004 4:37 PM
> To: RDDP
> Subject: [rddp] Proper value for embedded marker when FPDU is preceded
> by amarker
>=20
>=20
> Clause 7.1 in MPA states:
>=20
>    "An FPDUPTR value of 0x0000 is a special case - it is used when the
>    marker falls exactly between FPDUs.  In this case, the=20
> marker MUST be
>    placed in the following FPDU and viewed as being part of that FPDU
>    (e.g. for CRC calculation). Thus an FPDUPTR value of 0x0000 means
>    that immediately following the marker is an FPDU header."
>=20
> When a marker falls between FPDUs, and is "viewed as being=20
> part of that
> FPDU", is it considered to be part of the FPDU in terms of the values
> placed in other markers? That is, if I have a second marker=20
> in the FPDU
> that has a marker right before the start of the FPDU, is the=20
> value in my
> second marker point me to the start of the first marker or to=20
> the start
> of the "real" FPDU.
>=20
> By example:
>=20
> |FPDU-start....FPDU-end|MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^      ^
>                        |      |
>                        |      |
>                        A      B
>=20
> Does the back pointer in MARKER2 point to A or to B?
>=20
>=20
> This issue has already been discussed a bit on another reflector - and
> Pat Thaler has observed the following:
>=20
> +++++++++++++++++++++++++++++++++++
>=20
> I don't think we thought about this issue. It may be better=20
> to have the
> marker point to location A. My rationale:=20
>=20
> We are always having to keep an eye on which location has a marker and
> skip it so it doesn't save anything to have the markers point at B.=20
>=20
> On the other hand, if we get data out of sequence and unaligned so we
> are having to use the markers to find the start of data, we=20
> will have to
> know where to start the CRC check on the marker we find for=20
> that frame.
> If the rule is the marker has to point at B, then we will=20
> always have to
> check to see if B is just after a marker location to know=20
> where to start
> the CRC calculation.
>=20
> Another point: We are using markers to find out where we are right? I
> expect one would look at the earliest marker one has in the stream
> first. Looking at the stream, if what we have received starts here or
> earlier,
>                          |
>                          V
> > |FPDU-start....FPDU-end|MARKER1|FPDU-start....MARKER2....FPDU-end|
> >                        ^      ^
> >                        |      |
> >                        |      |
> >                        A      B
>=20
> Then we will have looked at MARKER1 anyway and MARKER2 won't=20
> matter and
> we wouldn't do any extra math. Lets say instead that what we=20
> got started
> at B. If we get MARKER2 and it points to B, it would be natural to try
> to process the frame because we have the start. But we can't do that
> because we don't have MARKER1 so we can't do the CRC. We would have to
> do the math to check whether there was a marker immediately proceeding
> before we could even decide whether to process the frame.
>=20
> If markers always point to the frame start (meaning start=20
> including the
> marker position), then we never have to do an extra checking step.
>=20
> Regards,
> Pat
> Barry Reinhold
> Lamprey Networks
> bbr@lampreynetworks.com
> (603) 868-8411
> =20
>=20
>=20
>=20
>=20
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
>=20

_______________________________________________
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 rddp-bounces@ietf.org  Wed Sep 22 13:41:17 2004
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA26414
	for <rddp-web-archive@ietf.org>; Wed, 22 Sep 2004 13:41:17 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CABDt-0003co-UY
	for rddp-web-archive@ietf.org; Wed, 22 Sep 2004 13:48:10 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CAB1X-00065c-CJ; Wed, 22 Sep 2004 13:35:23 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CAAyW-0003bp-NP
	for rddp@megatron.ietf.org; Wed, 22 Sep 2004 13:32:16 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA25907
	for <rddp@ietf.org>; Wed, 22 Sep 2004 13:32:13 -0400 (EDT)
Received: from mms2.broadcom.com ([63.70.210.59])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CAB56-0003Sq-Ms
	for rddp@ietf.org; Wed, 22 Sep 2004 13:39:07 -0400
Received: from 63.70.210.1 by mms2.broadcom.com with ESMTP (Broadcom
	SMTP Relay (MMS v5.6.0)); Wed, 22 Sep 2004 10:28:30 -0700
X-Server-Uuid: 011F2A72-58F1-4BCE-832F-B0D661E896E8
Received: from nt-irva-0740.brcm.ad.broadcom.com (
	nt-irva-0740.brcm.ad.broadcom.com [10.8.194.53]) by
	mon-irva-10.broadcom.com (8.9.1/8.9.1) with ESMTP id KAA11368; Wed, 22
	Sep 2004 10:28:30 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [rddp] Proper value for embedded marker when FPDU is
	preceded by a marker
Date: Wed, 22 Sep 2004 10:28:15 -0700
Message-ID: <BFF68BEA7C79B949AF6EA9B7BEF7066D01900840@NT-IRVA-0740.brcm.ad.broadcom.com>
Thread-Topic: [rddp] Proper value for embedded marker when FPDU is
	preceded by a marker
Thread-Index: AcSgNQZKSkwW6j0oQaaIzTRE2/NOoAAk+qqA
From: "Uri Elzur" <uri@broadcom.com>
To: "Barry Reinhold" <bbr@lampreynetworks.com>, RDDP <rddp@ietf.org>
X-WSS-ID: 6D4F69B42FO1974901-01-01
Content-Type: text/plain;
 charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 42e3ed3f10a1d8bef690f09da16f507a
Content-Transfer-Encoding: quoted-printable
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IETF Remote Direct Data Placement \(rddp\) WG" <rddp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
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>
Sender: rddp-bounces@ietf.org
Errors-To: rddp-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d2b46e3b2dfbff2088e0b72a54104985
Content-Transfer-Encoding: quoted-printable

Having MARKER2 (below) point to FPDU-start (B), rather than to
Zero-Marker (A), provides for a consistent computation of the marker
value on transmit (backwards delta to FPDU-start or zero, no corner case
of check for Marker-Zero preceding FPDU-Start) and makes the algorithm
for finding the FPDU-start in a received frame, invariant of frame
format and of this corner case in particular. (note, in any case
Zero-Marker is part of the FPDU for CRC calc purposes, as correctly
stated in the draft and also that there is no saving of arithmetic steps
for both approaches)
=20
Receiver algorithm:=20

1. When aligned, receiver gets both markers as part of the FPDU and can
ignore them.=20

2. It becomes more interesting when FPDU is not aligned or out of order.
Receiver has to first find a marker. For the general case, the marker
arithmetic is:
=20
	X. if non zero then subtract marker value from TCP seq to get
FPDU-Start
		X.1 If FPDU-Start is 4 bytes after a marker location,
include marker-			zero in CRC calc.=20
			Arithmetic is if (seq - marker_offset)mod 512 =3D
4, then include 			prev 4 bytes in CRC calc
	Y. if zero, FPDU-Start follows immediately.

 Now in the corner case, where the receiver has received the FPDU from
point B, it  =20


|FPDU-start....FPDU-end|Zero-MARKER|FPDU-start....MARKER2....FPDU-end|
                       ^           ^
                       |           |
                       |           |
                       A           B
still has to find the PDU boundaries first. Even if MARKER2 points to A,
receiver can tell it misses the beginning of the FPDU but it still has
to compute X.1 above, as it will have to find out it needs to skip 4
bytes to get to FPDU-Start. But now the XMT algorithm is more
complicated see above.   =20

As for the draft, I'm not sure if we have the X.1 arithmetic described
any where.
=20


Uri  ("Oo-ree")=20

W: (949)-926-6432=20
C:  (949)-292-6098=20


-----Original Message-----
From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org] On Behalf Of
Barry Reinhold
Sent: Tuesday, September 21, 2004 4:37 PM
To: RDDP
Subject: [rddp] Proper value for embedded marker when FPDU is preceded
by a marker

Clause 7.1 in MPA states:

   "An FPDUPTR value of 0x0000 is a special case - it is used when the
   marker falls exactly between FPDUs.  In this case, the marker MUST be
   placed in the following FPDU and viewed as being part of that FPDU
   (e.g. for CRC calculation). Thus an FPDUPTR value of 0x0000 means
   that immediately following the marker is an FPDU header."

When a marker falls between FPDUs, and is "viewed as being part of that
FPDU", is it considered to be part of the FPDU in terms of the values
placed in other markers? That is, if I have a second marker in the FPDU
that has a marker right before the start of the FPDU, is the value in my
second marker point me to the start of the first marker or to the start
of the "real" FPDU.

By example:

|FPDU-start....FPDU-end|MARKER|FPDU-start....MARKER2....FPDU-end|
                       ^      ^
                       |      |
                       |      |
                       A      B

Does the back pointer in MARKER2 point to A or to B?


This issue has already been discussed a bit on another reflector - and
Pat Thaler has observed the following:

+++++++++++++++++++++++++++++++++++

I don't think we thought about this issue. It may be better to have the
marker point to location A. My rationale:=20

We are always having to keep an eye on which location has a marker and
skip it so it doesn't save anything to have the markers point at B.=20

On the other hand, if we get data out of sequence and unaligned so we
are having to use the markers to find the start of data, we will have to
know where to start the CRC check on the marker we find for that frame.
If the rule is the marker has to point at B, then we will always have to
check to see if B is just after a marker location to know where to start
the CRC calculation.

Another point: We are using markers to find out where we are right? I
expect one would look at the earliest marker one has in the stream
first. Looking at the stream, if what we have received starts here or
earlier,
                         |
                         V
> |FPDU-start....FPDU-end|MARKER1|FPDU-start....MARKER2....FPDU-end|
>                        ^      ^
>                        |      |
>                        |      |
>                        A      B

Then we will have looked at MARKER1 anyway and MARKER2 won't matter and
we wouldn't do any extra math. Lets say instead that what we got started
at B. If we get MARKER2 and it points to B, it would be natural to try
to process the frame because we have the start. But we can't do that
because we don't have MARKER1 so we can't do the CRC. We would have to
do the math to check whether there was a marker immediately proceeding
before we could even decide whether to process the frame.

If markers always point to the frame start (meaning start including the
marker position), then we never have to do an extra checking step.

Regards,
Pat
Barry Reinhold
Lamprey Networks
bbr@lampreynetworks.com
(603) 868-8411
=20




_______________________________________________
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 rddp-bounces@ietf.org  Wed Sep 22 17:27:43 2004
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA17347
	for <rddp-web-archive@ietf.org>; Wed, 22 Sep 2004 17:27:42 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CAEl4-0000pW-DF
	for rddp-web-archive@ietf.org; Wed, 22 Sep 2004 17:34:38 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CAEYQ-00030u-6i; Wed, 22 Sep 2004 17:21:34 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CAELq-0000na-MZ
	for rddp@megatron.ietf.org; Wed, 22 Sep 2004 17:08:34 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA16004
	for <rddp@ietf.org>; Wed, 22 Sep 2004 17:08:31 -0400 (EDT)
Received: from magic.adaptec.com ([216.52.22.17])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CAESU-0000Uh-75
	for rddp@ietf.org; Wed, 22 Sep 2004 17:15:26 -0400
Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11])
	by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id i8ML82W20976
	for <rddp@ietf.org>; Wed, 22 Sep 2004 14:08:02 -0700
Received: from aime2k02.adaptec.com (aime2k02.adaptec.com [10.25.8.42])
	by redfish.adaptec.com (8.11.6/8.11.6) with ESMTP id i8ML82m03336
	for <rddp@ietf.org>; Wed, 22 Sep 2004 14:08:02 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [rddp] Proper value for embedded marker when FPDU ispreceded by a
	marker
Date: Wed, 22 Sep 2004 14:08:01 -0700
Message-ID: <B38A3B4F283DBA419282705B57A2425B022E594B@aime2k02.adaptec.com>
Thread-Topic: [rddp] Proper value for embedded marker when FPDU ispreceded by
	a marker
Thread-Index: AcSgNQZKSkwW6j0oQaaIzTRE2/NOoAAk+qqAAAEqbzA=
From: "Carrier, John" <John_Carrier@adaptec.com>
To: "RDDP" <rddp@ietf.org>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 311e798ce51dbeacf5cdfcc8e9fda21b
Content-Transfer-Encoding: quoted-printable
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IETF Remote Direct Data Placement \(rddp\) WG" <rddp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
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>
Sender: rddp-bounces@ietf.org
Errors-To: rddp-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 140baa79ca42e6b0e2b4504291346186
Content-Transfer-Encoding: quoted-printable

Uri,

The spec does not say that the Marker of zero is included only for CRC =
calculation.  It says that the marker of zero is part of the FPDU and =
only mentions the CRC calculation parenthetically:

 "In this case, the marker MUST be placed in the following FPDU and=20
  viewed as being part of that FPDU (e.g. for CRC calculation)."

I think it's easier to say that the CRC calculation always starts from =
the beginning of the FPDU.  The only question for the MPA receiver is =
whether the FPDU starts with a marker or the ULPDU_Length field.  But as =
Pat pointed out, the receiver already knows where the markers will be =
since it has to strip them out before passing to the ULPDU to DDP.=20

This shouldn't complicate a transmitter sending aligned FPDUs because =
the marker of zero is part of the FPDU being sent.  Hence, the FPDUPTR =
in all markers in the aligned FPDU will point to the first byte of the =
segment MPA passes to TCP. =20

--jc

> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org]On Behalf Of
> Uri Elzur
> Sent: Wednesday, September 22, 2004 10:28 AM
> To: Barry Reinhold; RDDP
> Subject: RE: [rddp] Proper value for embedded marker when FPDU
> ispreceded by a marker
>=20
>=20
> Having MARKER2 (below) point to FPDU-start (B), rather than to
> Zero-Marker (A), provides for a consistent computation of the marker
> value on transmit (backwards delta to FPDU-start or zero, no=20
> corner case
> of check for Marker-Zero preceding FPDU-Start) and makes the algorithm
> for finding the FPDU-start in a received frame, invariant of frame
> format and of this corner case in particular. (note, in any case
> Zero-Marker is part of the FPDU for CRC calc purposes, as correctly
> stated in the draft and also that there is no saving of=20
> arithmetic steps
> for both approaches)
> =20
> Receiver algorithm:=20
>=20
> 1. When aligned, receiver gets both markers as part of the=20
> FPDU and can
> ignore them.=20
>=20
> 2. It becomes more interesting when FPDU is not aligned or=20
> out of order.
> Receiver has to first find a marker. For the general case, the marker
> arithmetic is:
> =20
> 	X. if non zero then subtract marker value from TCP seq to get
> FPDU-Start
> 		X.1 If FPDU-Start is 4 bytes after a marker location,
> include marker-			zero in CRC calc.=20
> 			Arithmetic is if (seq - marker_offset)mod 512 =3D
> 4, then include 			prev 4 bytes in CRC calc
> 	Y. if zero, FPDU-Start follows immediately.
>=20
>  Now in the corner case, where the receiver has received the FPDU from
> point B, it  =20
>=20
>=20
> |FPDU-start....FPDU-end|Zero-MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^           ^
>                        |           |
>                        |           |
>                        A           B
> still has to find the PDU boundaries first. Even if MARKER2=20
> points to A,
> receiver can tell it misses the beginning of the FPDU but it still has
> to compute X.1 above, as it will have to find out it needs to skip 4
> bytes to get to FPDU-Start. But now the XMT algorithm is more
> complicated see above.   =20
>=20
> As for the draft, I'm not sure if we have the X.1 arithmetic described
> any where.
> =20
>=20
>=20
> Uri  ("Oo-ree")=20
>=20
> W: (949)-926-6432=20
> C:  (949)-292-6098=20
>=20
>=20
> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org] On=20
> Behalf Of
> Barry Reinhold
> Sent: Tuesday, September 21, 2004 4:37 PM
> To: RDDP
> Subject: [rddp] Proper value for embedded marker when FPDU is preceded
> by a marker
>=20
> Clause 7.1 in MPA states:
>=20
>    "An FPDUPTR value of 0x0000 is a special case - it is used when the
>    marker falls exactly between FPDUs.  In this case, the=20
> marker MUST be
>    placed in the following FPDU and viewed as being part of that FPDU
>    (e.g. for CRC calculation). Thus an FPDUPTR value of 0x0000 means
>    that immediately following the marker is an FPDU header."
>=20
> When a marker falls between FPDUs, and is "viewed as being=20
> part of that
> FPDU", is it considered to be part of the FPDU in terms of the values
> placed in other markers? That is, if I have a second marker=20
> in the FPDU
> that has a marker right before the start of the FPDU, is the=20
> value in my
> second marker point me to the start of the first marker or to=20
> the start
> of the "real" FPDU.
>=20
> By example:
>=20
> |FPDU-start....FPDU-end|MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^      ^
>                        |      |
>                        |      |
>                        A      B
>=20
> Does the back pointer in MARKER2 point to A or to B?
>=20
>=20
> This issue has already been discussed a bit on another reflector - and
> Pat Thaler has observed the following:
>=20
> +++++++++++++++++++++++++++++++++++
>=20
> I don't think we thought about this issue. It may be better=20
> to have the
> marker point to location A. My rationale:=20
>=20
> We are always having to keep an eye on which location has a marker and
> skip it so it doesn't save anything to have the markers point at B.=20
>=20
> On the other hand, if we get data out of sequence and unaligned so we
> are having to use the markers to find the start of data, we=20
> will have to
> know where to start the CRC check on the marker we find for=20
> that frame.
> If the rule is the marker has to point at B, then we will=20
> always have to
> check to see if B is just after a marker location to know=20
> where to start
> the CRC calculation.
>=20
> Another point: We are using markers to find out where we are right? I
> expect one would look at the earliest marker one has in the stream
> first. Looking at the stream, if what we have received starts here or
> earlier,
>                          |
>                          V
> > |FPDU-start....FPDU-end|MARKER1|FPDU-start....MARKER2....FPDU-end|
> >                        ^      ^
> >                        |      |
> >                        |      |
> >                        A      B
>=20
> Then we will have looked at MARKER1 anyway and MARKER2 won't=20
> matter and
> we wouldn't do any extra math. Lets say instead that what we=20
> got started
> at B. If we get MARKER2 and it points to B, it would be natural to try
> to process the frame because we have the start. But we can't do that
> because we don't have MARKER1 so we can't do the CRC. We would have to
> do the math to check whether there was a marker immediately proceeding
> before we could even decide whether to process the frame.
>=20
> If markers always point to the frame start (meaning start=20
> including the
> marker position), then we never have to do an extra checking step.
>=20
> Regards,
> Pat
> Barry Reinhold
> Lamprey Networks
> bbr@lampreynetworks.com
> (603) 868-8411
> =20
>=20
>=20
>=20
>=20
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
>=20
>=20
>=20
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
>=20

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


From rddp-bounces@ietf.org  Thu Sep 23 15:09:57 2004
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA12052
	for <rddp-web-archive@ietf.org>; Thu, 23 Sep 2004 15:09:57 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CAZ5T-0007Mv-Sn
	for rddp-web-archive@ietf.org; Thu, 23 Sep 2004 15:17:04 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CAYox-0006aK-Ch; Thu, 23 Sep 2004 14:59:59 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CAYXe-0000KZ-Vy
	for rddp@megatron.ietf.org; Thu, 23 Sep 2004 14:42:07 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA09103
	for <rddp@ietf.org>; Thu, 23 Sep 2004 14:42:04 -0400 (EDT)
Received: from mms2.broadcom.com ([63.70.210.59])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CAYeU-0006gg-Bl
	for rddp@ietf.org; Thu, 23 Sep 2004 14:49:11 -0400
Received: from 63.70.210.1 by mms2.broadcom.com with ESMTP (Broadcom
	SMTP Relay (MMS v5.6.0)); Thu, 23 Sep 2004 11:39:40 -0700
X-Server-Uuid: 011F2A72-58F1-4BCE-832F-B0D661E896E8
Received: from nt-irva-0740.brcm.ad.broadcom.com (
	nt-irva-0740.brcm.ad.broadcom.com [10.8.194.53]) by
	mon-irva-10.broadcom.com (8.9.1/8.9.1) with ESMTP id LAA28468; Thu, 23
	Sep 2004 11:39:41 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [rddp] Proper value for embedded marker when FPDU
	ispreceded by a marker
Date: Thu, 23 Sep 2004 11:39:36 -0700
Message-ID: <BFF68BEA7C79B949AF6EA9B7BEF7066D01900889@NT-IRVA-0740.brcm.ad.broadcom.com>
Thread-Topic: [rddp] Proper value for embedded marker when FPDU
	ispreceded by a marker
Thread-Index: AcSgNQZKSkwW6j0oQaaIzTRE2/NOoAAk+qqAAAEqbzAAMwLAoA==
From: "Uri Elzur" <uri@broadcom.com>
To: "Carrier, John" <John_Carrier@adaptec.com>, RDDP <rddp@ietf.org>
X-WSS-ID: 6D4DC7E62FO2327006-01-01
Content-Type: text/plain;
 charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a1f9797ba297220533cb8c3f4bc709a8
Content-Transfer-Encoding: quoted-printable
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IETF Remote Direct Data Placement \(rddp\) WG" <rddp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
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>
Sender: rddp-bounces@ietf.org
Errors-To: rddp-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 6907f330301e69261fa73bed91449a20
Content-Transfer-Encoding: quoted-printable

Hi John

Only reference to this special case of zero marker inclusion is the
parenthetical reference to CRC, nothing else. I guess the spec can enjoy
use of better wording, sigh.=20

I think we all agree the receiver has to run same arithmetic and same
complexity whether Marker2 points to A or B. Hence, we differ on
transmitter complexity.

However, it also means that all the other markers if present in the FPDU
have values computed as usual i.e. pointing to ULPDU_Length.=20

One way to get to this, is by refreshing our memories on the algorithm
and how we got to the zero marker. In general we wanted a back pointing
marker to point to the first byte of the FPDU i.e. ULPDU_Length field,
such that the receiver can identify the first byte of the FPDU i.e.
ULPDU_Length, when receiving out of order frames. Then we noticed that
in the case a marker falls right after CRC, we can't guarantee it can be
part of the previous FPDU. so to create a deterministic receiver
algorithm (i.e. receiver can always tell what TCP bytes are included in
CRC compute..), we decided to ALWAYS have that marker in front of next
FPDU and assign a special value of zero to it. We did not decide,
however to change the computation of all other markers...they still
point to the ULPDU_Length field
=20


Uri  ("Oo-ree")=20

W: (949)-926-6432=20
C:  (949)-292-6098=20


-----Original Message-----
From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org] On Behalf Of
Carrier, John
Sent: Wednesday, September 22, 2004 2:08 PM
To: RDDP
Subject: RE: [rddp] Proper value for embedded marker when FPDU
ispreceded by a marker

Uri,

The spec does not say that the Marker of zero is included only for CRC
calculation.  It says that the marker of zero is part of the FPDU and
only mentions the CRC calculation parenthetically:

 "In this case, the marker MUST be placed in the following FPDU and
  viewed as being part of that FPDU (e.g. for CRC calculation)."

I think it's easier to say that the CRC calculation always starts from
the beginning of the FPDU.  The only question for the MPA receiver is
whether the FPDU starts with a marker or the ULPDU_Length field.  But as
Pat pointed out, the receiver already knows where the markers will be
since it has to strip them out before passing to the ULPDU to DDP.=20

This shouldn't complicate a transmitter sending aligned FPDUs because
the marker of zero is part of the FPDU being sent.  Hence, the FPDUPTR
in all markers in the aligned FPDU will point to the first byte of the
segment MPA passes to TCP. =20

--jc

> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org]On Behalf Of

> Uri Elzur
> Sent: Wednesday, September 22, 2004 10:28 AM
> To: Barry Reinhold; RDDP
> Subject: RE: [rddp] Proper value for embedded marker when FPDU=20
> ispreceded by a marker
>=20
>=20
> Having MARKER2 (below) point to FPDU-start (B), rather than to=20
> Zero-Marker (A), provides for a consistent computation of the marker=20
> value on transmit (backwards delta to FPDU-start or zero, no corner=20
> case of check for Marker-Zero preceding FPDU-Start) and makes the=20
> algorithm for finding the FPDU-start in a received frame, invariant of

> frame format and of this corner case in particular. (note, in any case

> Zero-Marker is part of the FPDU for CRC calc purposes, as correctly=20
> stated in the draft and also that there is no saving of arithmetic=20
> steps for both approaches)
> =20
> Receiver algorithm:=20
>=20
> 1. When aligned, receiver gets both markers as part of the FPDU and=20
> can ignore them.
>=20
> 2. It becomes more interesting when FPDU is not aligned or out of=20
> order.
> Receiver has to first find a marker. For the general case, the marker=20
> arithmetic is:
> =20
> 	X. if non zero then subtract marker value from TCP seq to get=20
> FPDU-Start
> 		X.1 If FPDU-Start is 4 bytes after a marker location,
> include marker-			zero in CRC calc.=20
> 			Arithmetic is if (seq - marker_offset)mod 512 =3D
> 4, then include 			prev 4 bytes in CRC calc
> 	Y. if zero, FPDU-Start follows immediately.
>=20
>  Now in the corner case, where the receiver has received the FPDU from
> point B, it  =20
>=20
>=20
> |FPDU-start....FPDU-end|Zero-MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^           ^
>                        |           |
>                        |           |
>                        A           B
> still has to find the PDU boundaries first. Even if MARKER2 points to=20
> A, receiver can tell it misses the beginning of the FPDU but it still=20
> has to compute X.1 above, as it will have to find out it needs to skip

> 4 bytes to get to FPDU-Start. But now the XMT algorithm is more
> complicated see above.   =20
>=20
> As for the draft, I'm not sure if we have the X.1 arithmetic described

> any where.
> =20
>=20
>=20
> Uri  ("Oo-ree")
>=20
> W: (949)-926-6432
> C:  (949)-292-6098
>=20
>=20
> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org] On Behalf=20
> Of Barry Reinhold
> Sent: Tuesday, September 21, 2004 4:37 PM
> To: RDDP
> Subject: [rddp] Proper value for embedded marker when FPDU is preceded

> by a marker
>=20
> Clause 7.1 in MPA states:
>=20
>    "An FPDUPTR value of 0x0000 is a special case - it is used when the
>    marker falls exactly between FPDUs.  In this case, the marker MUST=20
> be
>    placed in the following FPDU and viewed as being part of that FPDU
>    (e.g. for CRC calculation). Thus an FPDUPTR value of 0x0000 means
>    that immediately following the marker is an FPDU header."
>=20
> When a marker falls between FPDUs, and is "viewed as being part of=20
> that FPDU", is it considered to be part of the FPDU in terms of the=20
> values placed in other markers? That is, if I have a second marker in=20
> the FPDU that has a marker right before the start of the FPDU, is the=20
> value in my second marker point me to the start of the first marker or

> to the start of the "real" FPDU.
>=20
> By example:
>=20
> |FPDU-start....FPDU-end|MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^      ^
>                        |      |
>                        |      |
>                        A      B
>=20
> Does the back pointer in MARKER2 point to A or to B?
>=20
>=20
> This issue has already been discussed a bit on another reflector - and

> Pat Thaler has observed the following:
>=20
> +++++++++++++++++++++++++++++++++++
>=20
> I don't think we thought about this issue. It may be better to have=20
> the marker point to location A. My rationale:
>=20
> We are always having to keep an eye on which location has a marker and

> skip it so it doesn't save anything to have the markers point at B.
>=20
> On the other hand, if we get data out of sequence and unaligned so we=20
> are having to use the markers to find the start of data, we will have=20
> to know where to start the CRC check on the marker we find for that=20
> frame.
> If the rule is the marker has to point at B, then we will always have=20
> to check to see if B is just after a marker location to know where to=20
> start the CRC calculation.
>=20
> Another point: We are using markers to find out where we are right? I=20
> expect one would look at the earliest marker one has in the stream=20
> first. Looking at the stream, if what we have received starts here or=20
> earlier,
>                          |
>                          V
> > |FPDU-start....FPDU-end|MARKER1|FPDU-start....MARKER2....FPDU-end|
> >                        ^      ^
> >                        |      |
> >                        |      |
> >                        A      B
>=20
> Then we will have looked at MARKER1 anyway and MARKER2 won't matter=20
> and we wouldn't do any extra math. Lets say instead that what we got=20
> started at B. If we get MARKER2 and it points to B, it would be=20
> natural to try to process the frame because we have the start. But we=20
> can't do that because we don't have MARKER1 so we can't do the CRC. We

> would have to do the math to check whether there was a marker=20
> immediately proceeding before we could even decide whether to process=20
> the frame.
>=20
> If markers always point to the frame start (meaning start including=20
> the marker position), then we never have to do an extra checking step.
>=20
> Regards,
> Pat
> Barry Reinhold
> Lamprey Networks
> bbr@lampreynetworks.com
> (603) 868-8411
> =20
>=20
>=20
>=20
>=20
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
>=20
>=20
>=20
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
>=20

_______________________________________________
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 rddp-bounces@ietf.org  Thu Sep 23 20:22:45 2004
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA07252
	for <rddp-web-archive@ietf.org>; Thu, 23 Sep 2004 20:22:45 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CAdyC-0005kZ-Ng
	for rddp-web-archive@ietf.org; Thu, 23 Sep 2004 20:29:54 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CAdqD-0008Dj-4F; Thu, 23 Sep 2004 20:21:37 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CAdmQ-0007oB-FZ
	for rddp@megatron.ietf.org; Thu, 23 Sep 2004 20:17:42 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA07094
	for <rddp@ietf.org>; Thu, 23 Sep 2004 20:17:40 -0400 (EDT)
From: pat_thaler@agilent.com
Received: from msgbas1x.cos.agilent.com ([192.25.240.36])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CAdt2-0005g7-Ln
	for rddp@ietf.org; Thu, 23 Sep 2004 20:24:49 -0400
Received: from enccos5.cos.agilent.com (enccos5.cos.agilent.com
	[130.29.152.94])
	by msgbas1x.cos.agilent.com (Postfix) with SMTP id DF38E2743E
	for <rddp@ietf.org>; Thu, 23 Sep 2004 18:17:19 -0600 (MDT)
Received: from relcos1.cos.agilent.com (130.29.152.239)
	by enccos5.cos.agilent.com (Sigaba Gateway v3.83)
	with ESMTP id 429342; Thu, 23 Sep 2004 18:17:50 -0600
Received: from wcosvs03.cos.agilent.com (wcosvs03.cos.agilent.com
	[130.29.152.233])
	by relcos1.cos.agilent.com (Postfix) with ESMTP id C2E93100
	for <rddp@ietf.org>; Thu, 23 Sep 2004 18:17:18 -0600 (MDT)
Received: from wcosbh22.cos.agilent.com ([130.29.152.178]) by
	wcosvs03.cos.agilent.com with InterScan Messaging Security
	Suite; Thu, 23 Sep 2004 18:17:15 -0600
Received: from wcosmb08.cos.agilent.com ([130.29.155.231]) by
	wcosbh22.cos.agilent.com with Microsoft SMTPSVC(5.0.2195.6713); 
	Thu, 23 Sep 2004 18:17:15 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [rddp] Proper value for embedded marker when FPDUispreceded by a
	marker
Date: Thu, 23 Sep 2004 18:17:15 -0600
Message-ID: <3F23D77DF376BA4290EB1D0AA297A61F3FC79C@wcosmb08.cos.agilent.com>
Thread-Topic: [rddp] Proper value for embedded marker when FPDUispreceded by a
	marker
Thread-Index: AcSgNQZKSkwW6j0oQaaIzTRE2/NOoAAk+qqAAAEqbzAAMwLAoAAL5KwQ
To: <uri@broadcom.com>, <John_Carrier@adaptec.com>, <rddp@ietf.org>
X-OriginalArrivalTime: 24 Sep 2004 00:17:15.0468 (UTC)
	FILETIME=[D86D20C0:01C4A1CB]
X-Spam-Score: 0.3 (/)
X-Scan-Signature: 8a4bcf8f67063cac573319207fe3db35
Content-Transfer-Encoding: quoted-printable
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IETF Remote Direct Data Placement \(rddp\) WG" <rddp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
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>
Sender: rddp-bounces@ietf.org
Errors-To: rddp-bounces@ietf.org
X-Spam-Score: 0.3 (/)
X-Scan-Signature: f5932bfc8385127f631fc458a872feb1
Content-Transfer-Encoding: quoted-printable

Uri,=20

It says "viewed as being part of that FPDU (e.g. for CRC calculation)"

"E.g." means for example (abbreviation for the Latin exempli gratia). So =
"viewed as being part of the FPDU" is a blanket statement and "for the =
CRC calculation" is just an example of what the effect of that view is.

"I.e." means "that is" (abbreviation for the Latin id est). If the =
statement before only applied to CRC calculation, it would have  said =
"i.e. for the CRC calculation" though in that case the former statement =
should have also made the limitation clear.

As far as implementation, it is always simpler to have the other markers =
in a FPDU that begins with a marker point to the beginning of the =
initial marker. Rationale:

	You can't process the FPDU until you have the marker that leads it.
	Presumably most implementations using markers to find the front of an =
FPDU (to do out of order processing or whatever) will look at the first =
marker they have available so they can find and process the first FPDU =
they have.
	Therefore, normally when an implementation is trying to find its place =
and the first FPDU it has starts with a marker, they will look at the =
0x0000 marker and the values in the later markers won't be important.
	The case may occur an implementation when the missing part of the =
stream ends at the boundary between a 0x0000 marker and an FPDU header.=20
	In that case, the FPDU cannot be processed because the CRC check cannot =
be performed with a missing marker. So it is okay or even desireable for =
the other markers to point to the beginning of the marker - the =
implementation will see that it doesn't yet have the head of the PDU and =
will look for a later marker to find the first PDU it does have.
	When the gap gets filled, then the FPDU can be processed either because =
the marker that was missing arrives and is examined or because the =
implementation remembered the FPDU start location and skipped over the =
marker to find the header as it would do during in order processing.

Regards,
Pat

-----Original Message-----
From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org]On Behalf Of
Uri Elzur
Sent: Thursday, 23 September, 2004 11:40 AM
To: Carrier, John; RDDP
Subject: RE: [rddp] Proper value for embedded marker when FPDUispreceded
by a marker


Hi John

Only reference to this special case of zero marker inclusion is the
parenthetical reference to CRC, nothing else. I guess the spec can enjoy
use of better wording, sigh.=20

I think we all agree the receiver has to run same arithmetic and same
complexity whether Marker2 points to A or B. Hence, we differ on
transmitter complexity.

However, it also means that all the other markers if present in the FPDU
have values computed as usual i.e. pointing to ULPDU_Length.=20

One way to get to this, is by refreshing our memories on the algorithm
and how we got to the zero marker. In general we wanted a back pointing
marker to point to the first byte of the FPDU i.e. ULPDU_Length field,
such that the receiver can identify the first byte of the FPDU i.e.
ULPDU_Length, when receiving out of order frames. Then we noticed that
in the case a marker falls right after CRC, we can't guarantee it can be
part of the previous FPDU. so to create a deterministic receiver
algorithm (i.e. receiver can always tell what TCP bytes are included in
CRC compute..), we decided to ALWAYS have that marker in front of next
FPDU and assign a special value of zero to it. We did not decide,
however to change the computation of all other markers...they still
point to the ULPDU_Length field
=20


Uri  ("Oo-ree")=20

W: (949)-926-6432=20
C:  (949)-292-6098=20


-----Original Message-----
From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org] On Behalf Of
Carrier, John
Sent: Wednesday, September 22, 2004 2:08 PM
To: RDDP
Subject: RE: [rddp] Proper value for embedded marker when FPDU
ispreceded by a marker

Uri,

The spec does not say that the Marker of zero is included only for CRC
calculation.  It says that the marker of zero is part of the FPDU and
only mentions the CRC calculation parenthetically:

 "In this case, the marker MUST be placed in the following FPDU and
  viewed as being part of that FPDU (e.g. for CRC calculation)."

I think it's easier to say that the CRC calculation always starts from
the beginning of the FPDU.  The only question for the MPA receiver is
whether the FPDU starts with a marker or the ULPDU_Length field.  But as
Pat pointed out, the receiver already knows where the markers will be
since it has to strip them out before passing to the ULPDU to DDP.=20

This shouldn't complicate a transmitter sending aligned FPDUs because
the marker of zero is part of the FPDU being sent.  Hence, the FPDUPTR
in all markers in the aligned FPDU will point to the first byte of the
segment MPA passes to TCP. =20

--jc

> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org]On Behalf Of

> Uri Elzur
> Sent: Wednesday, September 22, 2004 10:28 AM
> To: Barry Reinhold; RDDP
> Subject: RE: [rddp] Proper value for embedded marker when FPDU=20
> ispreceded by a marker
>=20
>=20
> Having MARKER2 (below) point to FPDU-start (B), rather than to=20
> Zero-Marker (A), provides for a consistent computation of the marker=20
> value on transmit (backwards delta to FPDU-start or zero, no corner=20
> case of check for Marker-Zero preceding FPDU-Start) and makes the=20
> algorithm for finding the FPDU-start in a received frame, invariant of

> frame format and of this corner case in particular. (note, in any case

> Zero-Marker is part of the FPDU for CRC calc purposes, as correctly=20
> stated in the draft and also that there is no saving of arithmetic=20
> steps for both approaches)
> =20
> Receiver algorithm:=20
>=20
> 1. When aligned, receiver gets both markers as part of the FPDU and=20
> can ignore them.
>=20
> 2. It becomes more interesting when FPDU is not aligned or out of=20
> order.
> Receiver has to first find a marker. For the general case, the marker=20
> arithmetic is:
> =20
> 	X. if non zero then subtract marker value from TCP seq to get=20
> FPDU-Start
> 		X.1 If FPDU-Start is 4 bytes after a marker location,
> include marker-			zero in CRC calc.=20
> 			Arithmetic is if (seq - marker_offset)mod 512 =3D
> 4, then include 			prev 4 bytes in CRC calc
> 	Y. if zero, FPDU-Start follows immediately.
>=20
>  Now in the corner case, where the receiver has received the FPDU from
> point B, it  =20
>=20
>=20
> |FPDU-start....FPDU-end|Zero-MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^           ^
>                        |           |
>                        |           |
>                        A           B
> still has to find the PDU boundaries first. Even if MARKER2 points to=20
> A, receiver can tell it misses the beginning of the FPDU but it still=20
> has to compute X.1 above, as it will have to find out it needs to skip

> 4 bytes to get to FPDU-Start. But now the XMT algorithm is more
> complicated see above.   =20
>=20
> As for the draft, I'm not sure if we have the X.1 arithmetic described

> any where.
> =20
>=20
>=20
> Uri  ("Oo-ree")
>=20
> W: (949)-926-6432
> C:  (949)-292-6098
>=20
>=20
> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org] On Behalf=20
> Of Barry Reinhold
> Sent: Tuesday, September 21, 2004 4:37 PM
> To: RDDP
> Subject: [rddp] Proper value for embedded marker when FPDU is preceded

> by a marker
>=20
> Clause 7.1 in MPA states:
>=20
>    "An FPDUPTR value of 0x0000 is a special case - it is used when the
>    marker falls exactly between FPDUs.  In this case, the marker MUST=20
> be
>    placed in the following FPDU and viewed as being part of that FPDU
>    (e.g. for CRC calculation). Thus an FPDUPTR value of 0x0000 means
>    that immediately following the marker is an FPDU header."
>=20
> When a marker falls between FPDUs, and is "viewed as being part of=20
> that FPDU", is it considered to be part of the FPDU in terms of the=20
> values placed in other markers? That is, if I have a second marker in=20
> the FPDU that has a marker right before the start of the FPDU, is the=20
> value in my second marker point me to the start of the first marker or

> to the start of the "real" FPDU.
>=20
> By example:
>=20
> |FPDU-start....FPDU-end|MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^      ^
>                        |      |
>                        |      |
>                        A      B
>=20
> Does the back pointer in MARKER2 point to A or to B?
>=20
>=20
> This issue has already been discussed a bit on another reflector - and

> Pat Thaler has observed the following:
>=20
> +++++++++++++++++++++++++++++++++++
>=20
> I don't think we thought about this issue. It may be better to have=20
> the marker point to location A. My rationale:
>=20
> We are always having to keep an eye on which location has a marker and

> skip it so it doesn't save anything to have the markers point at B.
>=20
> On the other hand, if we get data out of sequence and unaligned so we=20
> are having to use the markers to find the start of data, we will have=20
> to know where to start the CRC check on the marker we find for that=20
> frame.
> If the rule is the marker has to point at B, then we will always have=20
> to check to see if B is just after a marker location to know where to=20
> start the CRC calculation.
>=20
> Another point: We are using markers to find out where we are right? I=20
> expect one would look at the earliest marker one has in the stream=20
> first. Looking at the stream, if what we have received starts here or=20
> earlier,
>                          |
>                          V
> > |FPDU-start....FPDU-end|MARKER1|FPDU-start....MARKER2....FPDU-end|
> >                        ^      ^
> >                        |      |
> >                        |      |
> >                        A      B
>=20
> Then we will have looked at MARKER1 anyway and MARKER2 won't matter=20
> and we wouldn't do any extra math. Lets say instead that what we got=20
> started at B. If we get MARKER2 and it points to B, it would be=20
> natural to try to process the frame because we have the start. But we=20
> can't do that because we don't have MARKER1 so we can't do the CRC. We

> would have to do the math to check whether there was a marker=20
> immediately proceeding before we could even decide whether to process=20
> the frame.
>=20
> If markers always point to the frame start (meaning start including=20
> the marker position), then we never have to do an extra checking step.
>=20
> Regards,
> Pat
> Barry Reinhold
> Lamprey Networks
> bbr@lampreynetworks.com
> (603) 868-8411
> =20
>=20
>=20
>=20
>=20
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
>=20
>=20
>=20
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
>=20

_______________________________________________
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 rddp-bounces@ietf.org  Fri Sep 24 02:00:57 2004
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA28192
	for <rddp-web-archive@ietf.org>; Fri, 24 Sep 2004 02:00:57 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CAjFX-0002cQ-K8
	for rddp-web-archive@ietf.org; Fri, 24 Sep 2004 02:08:08 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CAj4n-00027X-04; Fri, 24 Sep 2004 01:57:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CAj1K-0001Ma-Ka
	for rddp@megatron.ietf.org; Fri, 24 Sep 2004 01:53:27 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA26920
	for <rddp@ietf.org>; Fri, 24 Sep 2004 01:53:25 -0400 (EDT)
Received: from mms1.broadcom.com ([63.70.210.58])
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CAj8F-0002UF-QU
	for rddp@ietf.org; Fri, 24 Sep 2004 02:00:36 -0400
Received: from 63.70.210.1 by mms1.broadcom.com with ESMTP (Broadcom
	SMTP Relay (MMS v5.6.0)); Thu, 23 Sep 2004 22:53:14 -0700
X-Server-Uuid: 97B92932-364A-4474-92D6-5CFE9C59AD14
Received: from nt-irva-0740.brcm.ad.broadcom.com (
	nt-irva-0740.brcm.ad.broadcom.com [10.8.194.53]) by
	mon-irva-10.broadcom.com (8.9.1/8.9.1) with ESMTP id WAA16968; Thu, 23
	Sep 2004 22:53:14 -0700 (PDT)
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [rddp] Proper value for embedded marker when FPDUispreceded
	by a marker
Date: Thu, 23 Sep 2004 22:50:16 -0700
Message-ID: <BFF68BEA7C79B949AF6EA9B7BEF7066D01900897@NT-IRVA-0740.brcm.ad.broadcom.com>
Thread-Topic: [rddp] Proper value for embedded marker when
	FPDUispreceded by a marker
Thread-Index: AcSgNQZKSkwW6j0oQaaIzTRE2/NOoAAk+qqAAAEqbzAAMwLAoAAL5KwQAAPTZNA=
From: "Uri Elzur" <uri@broadcom.com>
To: pat_thaler@agilent.com, John_Carrier@adaptec.com, rddp@ietf.org
X-WSS-ID: 6D4D69C02C02470074-01-01
Content-Type: text/plain;
 charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d8921dd2ebcb07edebf7bfaf4808c2ad
Content-Transfer-Encoding: quoted-printable
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IETF Remote Direct Data Placement \(rddp\) WG" <rddp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
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>
Sender: rddp-bounces@ietf.org
Errors-To: rddp-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a630332fa112280ecc4c4186b5c9ea83
Content-Transfer-Encoding: quoted-printable

Pat

I think it is fair to say that the text is not clear, as I mentioned,
the text that talks about the content of the marker doesn't support the
claim that a marker can point to another marker instead of pointing to
the ULPDU_length.=20

Implementation is a different space and people tend to have different
opinions for obvious reasons. I contend that marker that is always
pointing to ULPDU_Length is simpler.=20

A receive implementation that is using the marker to find beginning of
the FPDU, first have to locate the marker itself. I.e. it needs to find
the offset of the first byte of TCP payload which for instance is X and
then performs X(mod 512). Using add/subtract it will get to the marker
in this TCP segment if it exists there (always in locations Y where
Y(mod 512) =3D 0).

Now consider the two cases:=20
1) if the zero marker is used to find the beginning of the FPDU, the
receiver doesn't care what the value of Marker2 is.=20
2) If Marker2 is used to find the FPDU start e.g. when the receiver has
received a partial FPDU (starting from ULPDU_Length but without the
immediately preceding zero-marker), the receiver has a simpler
algorithm. The previous X(Mod 512) has already yielded 4, so the
receiver knows a marker with zero value must have preceded this
location, no further computation is required.=20
 When the missing zero-marker is received and the FPDU is ready for
processing, the receiver needs a pointer to the FPDU_Length in order to
continue in the FPDU processing, Marker2 conveniently does that (as long
as it doesn't point to another marker all of the sudden...).=20
=20


Uri  (pronunciation exempli gratia "Oo-ree", id est "U" followed by
"ri")=20


-----Original Message-----
From: pat_thaler@agilent.com [mailto:pat_thaler@agilent.com]=20
Sent: Thursday, September 23, 2004 5:17 PM
To: Uri Elzur; John_Carrier@adaptec.com; rddp@ietf.org
Subject: RE: [rddp] Proper value for embedded marker when FPDUispreceded
by a marker

Uri,=20

It says "viewed as being part of that FPDU (e.g. for CRC calculation)"

"E.g." means for example (abbreviation for the Latin exempli gratia). So
"viewed as being part of the FPDU" is a blanket statement and "for the
CRC calculation" is just an example of what the effect of that view is.

"I.e." means "that is" (abbreviation for the Latin id est). If the
statement before only applied to CRC calculation, it would have  said
"i.e. for the CRC calculation" though in that case the former statement
should have also made the limitation clear.

As far as implementation, it is always simpler to have the other markers
in a FPDU that begins with a marker point to the beginning of the
initial marker. Rationale:

	You can't process the FPDU until you have the marker that leads
it.
	Presumably most implementations using markers to find the front
of an FPDU (to do out of order processing or whatever) will look at the
first marker they have available so they can find and process the first
FPDU they have.
	Therefore, normally when an implementation is trying to find its
place and the first FPDU it has starts with a marker, they will look at
the 0x0000 marker and the values in the later markers won't be
important.
	The case may occur an implementation when the missing part of
the stream ends at the boundary between a 0x0000 marker and an FPDU
header.=20
	In that case, the FPDU cannot be processed because the CRC check
cannot be performed with a missing marker. So it is okay or even
desireable for the other markers to point to the beginning of the marker
- the implementation will see that it doesn't yet have the head of the
PDU and will look for a later marker to find the first PDU it does have.
	When the gap gets filled, then the FPDU can be processed either
because the marker that was missing arrives and is examined or because
the implementation remembered the FPDU start location and skipped over
the marker to find the header as it would do during in order processing.

Regards,
Pat

-----Original Message-----
From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org]On Behalf Of
Uri Elzur
Sent: Thursday, 23 September, 2004 11:40 AM
To: Carrier, John; RDDP
Subject: RE: [rddp] Proper value for embedded marker when FPDUispreceded
by a marker


Hi John

Only reference to this special case of zero marker inclusion is the
parenthetical reference to CRC, nothing else. I guess the spec can enjoy
use of better wording, sigh.=20

I think we all agree the receiver has to run same arithmetic and same
complexity whether Marker2 points to A or B. Hence, we differ on
transmitter complexity.

However, it also means that all the other markers if present in the FPDU
have values computed as usual i.e. pointing to ULPDU_Length.=20

One way to get to this, is by refreshing our memories on the algorithm
and how we got to the zero marker. In general we wanted a back pointing
marker to point to the first byte of the FPDU i.e. ULPDU_Length field,
such that the receiver can identify the first byte of the FPDU i.e.
ULPDU_Length, when receiving out of order frames. Then we noticed that
in the case a marker falls right after CRC, we can't guarantee it can be
part of the previous FPDU. so to create a deterministic receiver
algorithm (i.e. receiver can always tell what TCP bytes are included in
CRC compute..), we decided to ALWAYS have that marker in front of next
FPDU and assign a special value of zero to it. We did not decide,
however to change the computation of all other markers...they still
point to the ULPDU_Length field
=20


Uri  ("Oo-ree")=20

W: (949)-926-6432
C:  (949)-292-6098=20


-----Original Message-----
From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org] On Behalf Of
Carrier, John
Sent: Wednesday, September 22, 2004 2:08 PM
To: RDDP
Subject: RE: [rddp] Proper value for embedded marker when FPDU
ispreceded by a marker

Uri,

The spec does not say that the Marker of zero is included only for CRC
calculation.  It says that the marker of zero is part of the FPDU and
only mentions the CRC calculation parenthetically:

 "In this case, the marker MUST be placed in the following FPDU and
  viewed as being part of that FPDU (e.g. for CRC calculation)."

I think it's easier to say that the CRC calculation always starts from
the beginning of the FPDU.  The only question for the MPA receiver is
whether the FPDU starts with a marker or the ULPDU_Length field.  But as
Pat pointed out, the receiver already knows where the markers will be
since it has to strip them out before passing to the ULPDU to DDP.=20

This shouldn't complicate a transmitter sending aligned FPDUs because
the marker of zero is part of the FPDU being sent.  Hence, the FPDUPTR
in all markers in the aligned FPDU will point to the first byte of the
segment MPA passes to TCP. =20

--jc

> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org]On Behalf Of

> Uri Elzur
> Sent: Wednesday, September 22, 2004 10:28 AM
> To: Barry Reinhold; RDDP
> Subject: RE: [rddp] Proper value for embedded marker when FPDU=20
> ispreceded by a marker
>=20
>=20
> Having MARKER2 (below) point to FPDU-start (B), rather than to=20
> Zero-Marker (A), provides for a consistent computation of the marker=20
> value on transmit (backwards delta to FPDU-start or zero, no corner=20
> case of check for Marker-Zero preceding FPDU-Start) and makes the=20
> algorithm for finding the FPDU-start in a received frame, invariant of

> frame format and of this corner case in particular. (note, in any case

> Zero-Marker is part of the FPDU for CRC calc purposes, as correctly=20
> stated in the draft and also that there is no saving of arithmetic=20
> steps for both approaches)
> =20
> Receiver algorithm:=20
>=20
> 1. When aligned, receiver gets both markers as part of the FPDU and=20
> can ignore them.
>=20
> 2. It becomes more interesting when FPDU is not aligned or out of=20
> order.
> Receiver has to first find a marker. For the general case, the marker=20
> arithmetic is:
> =20
> 	X. if non zero then subtract marker value from TCP seq to get=20
> FPDU-Start
> 		X.1 If FPDU-Start is 4 bytes after a marker location,
> include marker-			zero in CRC calc.=20
> 			Arithmetic is if (seq - marker_offset)mod 512 =3D
> 4, then include 			prev 4 bytes in CRC calc
> 	Y. if zero, FPDU-Start follows immediately.
>=20
>  Now in the corner case, where the receiver has received the FPDU from
> point B, it  =20
>=20
>=20
> |FPDU-start....FPDU-end|Zero-MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^           ^
>                        |           |
>                        |           |
>                        A           B
> still has to find the PDU boundaries first. Even if MARKER2 points to=20
> A, receiver can tell it misses the beginning of the FPDU but it still=20
> has to compute X.1 above, as it will have to find out it needs to skip

> 4 bytes to get to FPDU-Start. But now the XMT algorithm is more
> complicated see above.   =20
>=20
> As for the draft, I'm not sure if we have the X.1 arithmetic described

> any where.
> =20
>=20
>=20
> Uri  ("Oo-ree")
>=20
> W: (949)-926-6432
> C:  (949)-292-6098
>=20
>=20
> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org] On Behalf=20
> Of Barry Reinhold
> Sent: Tuesday, September 21, 2004 4:37 PM
> To: RDDP
> Subject: [rddp] Proper value for embedded marker when FPDU is preceded

> by a marker
>=20
> Clause 7.1 in MPA states:
>=20
>    "An FPDUPTR value of 0x0000 is a special case - it is used when the
>    marker falls exactly between FPDUs.  In this case, the marker MUST=20
> be
>    placed in the following FPDU and viewed as being part of that FPDU
>    (e.g. for CRC calculation). Thus an FPDUPTR value of 0x0000 means
>    that immediately following the marker is an FPDU header."
>=20
> When a marker falls between FPDUs, and is "viewed as being part of=20
> that FPDU", is it considered to be part of the FPDU in terms of the=20
> values placed in other markers? That is, if I have a second marker in=20
> the FPDU that has a marker right before the start of the FPDU, is the=20
> value in my second marker point me to the start of the first marker or

> to the start of the "real" FPDU.
>=20
> By example:
>=20
> |FPDU-start....FPDU-end|MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^      ^
>                        |      |
>                        |      |
>                        A      B
>=20
> Does the back pointer in MARKER2 point to A or to B?
>=20
>=20
> This issue has already been discussed a bit on another reflector - and

> Pat Thaler has observed the following:
>=20
> +++++++++++++++++++++++++++++++++++
>=20
> I don't think we thought about this issue. It may be better to have=20
> the marker point to location A. My rationale:
>=20
> We are always having to keep an eye on which location has a marker and

> skip it so it doesn't save anything to have the markers point at B.
>=20
> On the other hand, if we get data out of sequence and unaligned so we=20
> are having to use the markers to find the start of data, we will have=20
> to know where to start the CRC check on the marker we find for that=20
> frame.
> If the rule is the marker has to point at B, then we will always have=20
> to check to see if B is just after a marker location to know where to=20
> start the CRC calculation.
>=20
> Another point: We are using markers to find out where we are right? I=20
> expect one would look at the earliest marker one has in the stream=20
> first. Looking at the stream, if what we have received starts here or=20
> earlier,
>                          |
>                          V
> > |FPDU-start....FPDU-end|MARKER1|FPDU-start....MARKER2....FPDU-end|
> >                        ^      ^
> >                        |      |
> >                        |      |
> >                        A      B
>=20
> Then we will have looked at MARKER1 anyway and MARKER2 won't matter=20
> and we wouldn't do any extra math. Lets say instead that what we got=20
> started at B. If we get MARKER2 and it points to B, it would be=20
> natural to try to process the frame because we have the start. But we=20
> can't do that because we don't have MARKER1 so we can't do the CRC. We

> would have to do the math to check whether there was a marker=20
> immediately proceeding before we could even decide whether to process=20
> the frame.
>=20
> If markers always point to the frame start (meaning start including=20
> the marker position), then we never have to do an extra checking step.
>=20
> Regards,
> Pat
> Barry Reinhold
> Lamprey Networks
> bbr@lampreynetworks.com
> (603) 868-8411
> =20
>=20
>=20
>=20
>=20
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
>=20
>=20
>=20
> _______________________________________________
> rddp mailing list
> rddp@ietf.org
> https://www1.ietf.org/mailman/listinfo/rddp
>=20

_______________________________________________
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 rddp-bounces@ietf.org  Mon Sep 27 16:52:11 2004
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA04901
	for <rddp-web-archive@ietf.org>; Mon, 27 Sep 2004 16:52:11 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CC2bT-0007OD-6m
	for rddp-web-archive@ietf.org; Mon, 27 Sep 2004 17:00:11 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CC1m3-0007Om-2d; Mon, 27 Sep 2004 16:07:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CC1iX-0005Ik-Pj; Mon, 27 Sep 2004 16:03:25 -0400
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA27085;
	Mon, 27 Sep 2004 16:03:23 -0400 (EDT)
Message-Id: <200409272003.QAA27085@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: i-d-announce@ietf.org
From: Internet-Drafts@ietf.org
Date: Mon, 27 Sep 2004 16:03:23 -0400
Cc: rddp@ietf.org
Subject: [rddp] I-D ACTION:draft-ietf-rddp-sctp-01.txt
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IETF Remote Direct Data Placement \(rddp\) WG" <rddp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
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>
Sender: rddp-bounces@ietf.org
Errors-To: rddp-bounces@ietf.org
X-Spam-Score: 0.4 (/)
X-Scan-Signature: cf3becbbd6d1a45acbe2ffd4ab88bdc2

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Remote Direct Data Placement Working Group of the IETF.

	Title		: Stream Control Transmission Protocol (SCTP) Remote 
			  Direct Memory Access (RDMA) Direct Data Placement 
			  (DDP) Adaptation
	Author(s)	: R. Stewart, et al.
	Filename	: draft-ietf-rddp-sctp-01.txt
	Pages		: 21
	Date		: 2004-9-27
	
This document describes a method to adapt Direct Data Placement (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].

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

To remove yourself from the I-D Announcement list, send a message to 
i-d-announce-request@ietf.org with the word unsubscribe in the body of the message.  
You can also visit https://www1.ietf.org/mailman/listinfo/I-D-announce 
to change your subscription settings.


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-ietf-rddp-sctp-01.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-ietf-rddp-sctp-01.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: <2004-9-27151523.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-rddp-sctp-01.txt

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

Content-Type: text/plain
Content-ID: <2004-9-27151523.I-D@ietf.org>


--OtherAccess--

--NextPart
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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

--NextPart--





From rddp-bounces@ietf.org  Tue Sep 28 05:14:04 2004
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA07665
	for <rddp-web-archive@ietf.org>; Tue, 28 Sep 2004 05:14:04 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CCEBW-00057T-Mi
	for rddp-web-archive@ietf.org; Tue, 28 Sep 2004 05:22:10 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CCDxn-0008Av-Ah; Tue, 28 Sep 2004 05:07:59 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CCDvj-0007nd-1V
	for rddp@megatron.ietf.org; Tue, 28 Sep 2004 05:05:51 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA07394
	for <rddp@ietf.org>; Tue, 28 Sep 2004 05:05:48 -0400 (EDT)
Received: from system60.simplicato.com ([207.99.47.60]
	helo=host52a.simplicato.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CCE3V-00050E-Af
	for rddp@ietf.org; Tue, 28 Sep 2004 05:13:54 -0400
Received: from localhost (localhost.simplicato.com [127.0.0.1])
	by host52a.simplicato.com (Postfix) with ESMTP id 3EF7C11E0F1
	for <rddp@ietf.org>; Tue, 28 Sep 2004 05:05:44 -0400 (EDT)
Received: from host52a.simplicato.com ([127.0.0.1])
	by localhost (host52a.simplicato.com [127.0.0.1]) (amavisd-new,
	port 10024) with ESMTP id 51296-07 for <rddp@ietf.org>;
	Tue, 28 Sep 2004 05:05:42 -0400 (EDT)
Received: from mail.asomi.com (localhost.simplicato.com [127.0.0.1])
	by host52a.simplicato.com (Postfix) with SMTP id 706A111E0F2
	for <rddp@ietf.org>; Tue, 28 Sep 2004 05:05:33 -0400 (EDT)
Received: from 62.90.193.206 (proxying for 62.90.193.206)
	(SquirrelMail authenticated user cait@asomi.com)
	by mail52a.simplicato.com with HTTP;
	Tue, 28 Sep 2004 04:05:33 -0500 (CDT)
Message-ID: <9258.62.90.193.206.1096362333.squirrel@mail52a.simplicato.com>
In-Reply-To: <200409272003.QAA27085@ietf.org>
References: <200409272003.QAA27085@ietf.org>
Date: Tue, 28 Sep 2004 04:05:33 -0500 (CDT)
Subject: Re: [rddp] I-D ACTION:draft-ietf-rddp-sctp-01.txt
From: "Caitlin Bestler" <cait@asomi.com>
To: rddp@ietf.org
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
X-Priority: 3
Importance: Normal
X-Virus-Scanned: by amavisd-new at simplicato.com
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.8 (/)
X-Scan-Signature: d6b246023072368de71562c0ab503126
Content-Transfer-Encoding: quoted-printable
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IETF Remote Direct Data Placement \(rddp\) WG" <rddp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
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>
Sender: rddp-bounces@ietf.org
Errors-To: rddp-bounces@ietf.org
X-Spam-Score: 0.8 (/)
X-Scan-Signature: 93238566e09e6e262849b4f805833007
Content-Transfer-Encoding: quoted-printable

There are two areas of update here:

1) Session Control messages were brought more closely
   into alignment with the most recent MPA draft.  This
   includes explicit differentiation of Peer vs. non-peer
   rejects, and limiting Private Data exchanges to a single
   round.
2) Explicitly deals with small PMTUs by allowing SCTP layer
   fragmentation under these extreme circumstances.   The
   prior draft would have required IP fragmentation to deal
   with small PMTUs

The other 99% of the draft is unchanged.



--
Caitlin Bestler
http://asomi.com/

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


From rddp-bounces@ietf.org  Wed Sep 29 16:40:17 2004
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA09647
	for <rddp-web-archive@ietf.org>; Wed, 29 Sep 2004 16:40:17 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71])
	by ietf-mx.ietf.org with esmtp (Exim 4.33)
	id 1CClNQ-0008KC-LT
	for rddp-web-archive@ietf.org; Wed, 29 Sep 2004 16:48:43 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32)
	id 1CCkSq-0004K3-Si; Wed, 29 Sep 2004 15:50:12 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.32) id 1CCk8u-0003wN-0t
	for rddp@megatron.ietf.org; Wed, 29 Sep 2004 15:29:36 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA02155
	for <rddp@ietf.org>; Wed, 29 Sep 2004 15:29:32 -0400 (EDT)
Received: from mail.ttlc.net ([66.94.32.4] helo=lampreynetworks.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CCkGo-0005pj-FF
	for rddp@ietf.org; Wed, 29 Sep 2004 15:37:57 -0400
Received: from i8600 [64.222.186.225] by lampreynetworks.com with ESMTP
	(SMTPD32-7.07) id AD0F108B013E; Wed, 29 Sep 2004 15:29:19 -0400
From: "Barry Reinhold" <bbr@lampreynetworks.com>
To: "'Uri Elzur'" <uri@broadcom.com>, <pat_thaler@agilent.com>,
        <John_Carrier@adaptec.com>, <rddp@ietf.org>
Subject: RE: [rddp] Proper value for embedded marker when FPDUisprecededby a
	marker
Date: Wed, 29 Sep 2004 15:29:10 -0400
Message-ID: <002201c4a65a$9b988cf0$6901a8c0@i8600>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
In-Reply-To: <BFF68BEA7C79B949AF6EA9B7BEF7066D01900897@NT-IRVA-0740.brcm.ad.broadcom.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f0ea5880a0890be2408609376fa519aa
Content-Transfer-Encoding: 7bit
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "IETF Remote Direct Data Placement \(rddp\) WG" <rddp.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>,
	<mailto:rddp-request@ietf.org?subject=unsubscribe>
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>
Sender: rddp-bounces@ietf.org
Errors-To: rddp-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: fca7d4b87f391aa4d413f865ce6efe79
Content-Transfer-Encoding: 7bit

Is there resolution on this? I'm not sure I understand the thread to
have ended in concensus.

-----Original Message-----
From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org] On Behalf Of
Uri Elzur
Sent: Friday, September 24, 2004 12:50 AM
To: pat_thaler@agilent.com; John_Carrier@adaptec.com; rddp@ietf.org
Subject: RE: [rddp] Proper value for embedded marker when
FPDUisprecededby a marker

Pat

I think it is fair to say that the text is not clear, as I mentioned,
the text that talks about the content of the marker doesn't support the
claim that a marker can point to another marker instead of pointing to
the ULPDU_length. 

Implementation is a different space and people tend to have different
opinions for obvious reasons. I contend that marker that is always
pointing to ULPDU_Length is simpler. 

A receive implementation that is using the marker to find beginning of
the FPDU, first have to locate the marker itself. I.e. it needs to find
the offset of the first byte of TCP payload which for instance is X and
then performs X(mod 512). Using add/subtract it will get to the marker
in this TCP segment if it exists there (always in locations Y where
Y(mod 512) = 0).

Now consider the two cases: 
1) if the zero marker is used to find the beginning of the FPDU, the
receiver doesn't care what the value of Marker2 is. 
2) If Marker2 is used to find the FPDU start e.g. when the receiver has
received a partial FPDU (starting from ULPDU_Length but without the
immediately preceding zero-marker), the receiver has a simpler
algorithm. The previous X(Mod 512) has already yielded 4, so the
receiver knows a marker with zero value must have preceded this
location, no further computation is required. 
 When the missing zero-marker is received and the FPDU is ready for
processing, the receiver needs a pointer to the FPDU_Length in order to
continue in the FPDU processing, Marker2 conveniently does that (as long
as it doesn't point to another marker all of the sudden...). 
 


Uri  (pronunciation exempli gratia "Oo-ree", id est "U" followed by
"ri") 


-----Original Message-----
From: pat_thaler@agilent.com [mailto:pat_thaler@agilent.com] 
Sent: Thursday, September 23, 2004 5:17 PM
To: Uri Elzur; John_Carrier@adaptec.com; rddp@ietf.org
Subject: RE: [rddp] Proper value for embedded marker when FPDUispreceded
by a marker

Uri, 

It says "viewed as being part of that FPDU (e.g. for CRC calculation)"

"E.g." means for example (abbreviation for the Latin exempli gratia). So
"viewed as being part of the FPDU" is a blanket statement and "for the
CRC calculation" is just an example of what the effect of that view is.

"I.e." means "that is" (abbreviation for the Latin id est). If the
statement before only applied to CRC calculation, it would have  said
"i.e. for the CRC calculation" though in that case the former statement
should have also made the limitation clear.

As far as implementation, it is always simpler to have the other markers
in a FPDU that begins with a marker point to the beginning of the
initial marker. Rationale:

	You can't process the FPDU until you have the marker that leads
it.
	Presumably most implementations using markers to find the front
of an FPDU (to do out of order processing or whatever) will look at the
first marker they have available so they can find and process the first
FPDU they have.
	Therefore, normally when an implementation is trying to find its
place and the first FPDU it has starts with a marker, they will look at
the 0x0000 marker and the values in the later markers won't be
important.
	The case may occur an implementation when the missing part of
the stream ends at the boundary between a 0x0000 marker and an FPDU
header. 
	In that case, the FPDU cannot be processed because the CRC check
cannot be performed with a missing marker. So it is okay or even
desireable for the other markers to point to the beginning of the marker
- the implementation will see that it doesn't yet have the head of the
PDU and will look for a later marker to find the first PDU it does have.
	When the gap gets filled, then the FPDU can be processed either
because the marker that was missing arrives and is examined or because
the implementation remembered the FPDU start location and skipped over
the marker to find the header as it would do during in order processing.

Regards,
Pat

-----Original Message-----
From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org]On Behalf Of
Uri Elzur
Sent: Thursday, 23 September, 2004 11:40 AM
To: Carrier, John; RDDP
Subject: RE: [rddp] Proper value for embedded marker when FPDUispreceded
by a marker


Hi John

Only reference to this special case of zero marker inclusion is the
parenthetical reference to CRC, nothing else. I guess the spec can enjoy
use of better wording, sigh. 

I think we all agree the receiver has to run same arithmetic and same
complexity whether Marker2 points to A or B. Hence, we differ on
transmitter complexity.

However, it also means that all the other markers if present in the FPDU
have values computed as usual i.e. pointing to ULPDU_Length. 

One way to get to this, is by refreshing our memories on the algorithm
and how we got to the zero marker. In general we wanted a back pointing
marker to point to the first byte of the FPDU i.e. ULPDU_Length field,
such that the receiver can identify the first byte of the FPDU i.e.
ULPDU_Length, when receiving out of order frames. Then we noticed that
in the case a marker falls right after CRC, we can't guarantee it can be
part of the previous FPDU. so to create a deterministic receiver
algorithm (i.e. receiver can always tell what TCP bytes are included in
CRC compute..), we decided to ALWAYS have that marker in front of next
FPDU and assign a special value of zero to it. We did not decide,
however to change the computation of all other markers...they still
point to the ULPDU_Length field
 


Uri  ("Oo-ree") 

W: (949)-926-6432
C:  (949)-292-6098 


-----Original Message-----
From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org] On Behalf Of
Carrier, John
Sent: Wednesday, September 22, 2004 2:08 PM
To: RDDP
Subject: RE: [rddp] Proper value for embedded marker when FPDU
ispreceded by a marker

Uri,

The spec does not say that the Marker of zero is included only for CRC
calculation.  It says that the marker of zero is part of the FPDU and
only mentions the CRC calculation parenthetically:

 "In this case, the marker MUST be placed in the following FPDU and
  viewed as being part of that FPDU (e.g. for CRC calculation)."

I think it's easier to say that the CRC calculation always starts from
the beginning of the FPDU.  The only question for the MPA receiver is
whether the FPDU starts with a marker or the ULPDU_Length field.  But as
Pat pointed out, the receiver already knows where the markers will be
since it has to strip them out before passing to the ULPDU to DDP. 

This shouldn't complicate a transmitter sending aligned FPDUs because
the marker of zero is part of the FPDU being sent.  Hence, the FPDUPTR
in all markers in the aligned FPDU will point to the first byte of the
segment MPA passes to TCP.  

--jc

> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org]On Behalf Of

> Uri Elzur
> Sent: Wednesday, September 22, 2004 10:28 AM
> To: Barry Reinhold; RDDP
> Subject: RE: [rddp] Proper value for embedded marker when FPDU 
> ispreceded by a marker
> 
> 
> Having MARKER2 (below) point to FPDU-start (B), rather than to 
> Zero-Marker (A), provides for a consistent computation of the marker 
> value on transmit (backwards delta to FPDU-start or zero, no corner 
> case of check for Marker-Zero preceding FPDU-Start) and makes the 
> algorithm for finding the FPDU-start in a received frame, invariant of

> frame format and of this corner case in particular. (note, in any case

> Zero-Marker is part of the FPDU for CRC calc purposes, as correctly 
> stated in the draft and also that there is no saving of arithmetic 
> steps for both approaches)
>  
> Receiver algorithm: 
> 
> 1. When aligned, receiver gets both markers as part of the FPDU and 
> can ignore them.
> 
> 2. It becomes more interesting when FPDU is not aligned or out of 
> order.
> Receiver has to first find a marker. For the general case, the marker 
> arithmetic is:
>  
> 	X. if non zero then subtract marker value from TCP seq to get 
> FPDU-Start
> 		X.1 If FPDU-Start is 4 bytes after a marker location,
> include marker-			zero in CRC calc. 
> 			Arithmetic is if (seq - marker_offset)mod 512 =
> 4, then include 			prev 4 bytes in CRC calc
> 	Y. if zero, FPDU-Start follows immediately.
> 
>  Now in the corner case, where the receiver has received the FPDU from
> point B, it   
> 
> 
> |FPDU-start....FPDU-end|Zero-MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^           ^
>                        |           |
>                        |           |
>                        A           B
> still has to find the PDU boundaries first. Even if MARKER2 points to 
> A, receiver can tell it misses the beginning of the FPDU but it still 
> has to compute X.1 above, as it will have to find out it needs to skip

> 4 bytes to get to FPDU-Start. But now the XMT algorithm is more
> complicated see above.    
> 
> As for the draft, I'm not sure if we have the X.1 arithmetic described

> any where.
>  
> 
> 
> Uri  ("Oo-ree")
> 
> W: (949)-926-6432
> C:  (949)-292-6098
> 
> 
> -----Original Message-----
> From: rddp-bounces@ietf.org [mailto:rddp-bounces@ietf.org] On Behalf 
> Of Barry Reinhold
> Sent: Tuesday, September 21, 2004 4:37 PM
> To: RDDP
> Subject: [rddp] Proper value for embedded marker when FPDU is preceded

> by a marker
> 
> Clause 7.1 in MPA states:
> 
>    "An FPDUPTR value of 0x0000 is a special case - it is used when the
>    marker falls exactly between FPDUs.  In this case, the marker MUST 
> be
>    placed in the following FPDU and viewed as being part of that FPDU
>    (e.g. for CRC calculation). Thus an FPDUPTR value of 0x0000 means
>    that immediately following the marker is an FPDU header."
> 
> When a marker falls between FPDUs, and is "viewed as being part of 
> that FPDU", is it considered to be part of the FPDU in terms of the 
> values placed in other markers? That is, if I have a second marker in 
> the FPDU that has a marker right before the start of the FPDU, is the 
> value in my second marker point me to the start of the first marker or

> to the start of the "real" FPDU.
> 
> By example:
> 
> |FPDU-start....FPDU-end|MARKER|FPDU-start....MARKER2....FPDU-end|
>                        ^      ^
>                        |      |
>                        |      |
>                        A      B
> 
> Does the back pointer in MARKER2 point to A or to B?
> 
> 
> This issue has already been discussed a bit on another reflector - and

> Pat Thaler has observed the following:
> 
> +++++++++++++++++++++++++++++++++++
> 
> I don't think we thought about this issue. It may be better to have 
> the marker point to location A. My rationale:
> 
> We are always having to keep an eye on which location has a marker and

> skip it so it doesn't save anything to have the markers point at B.
> 
> On the other hand, if we get data out of sequence and unaligned so we 
> are having to use the markers to find the start of data, we will have 
> to know where to start the CRC check on the marker we find for that 
> frame.
> If the rule is the marker has to point at B, then we will always have 
> to check to see if B is just after a marker location to know where to 
> start the CRC calculation.
> 
> Another point: We are using markers to find out where we are right? I 
> expect one would look at the earliest marker one has in the stream 
> first. Looking at the stream, if what we have received starts here or 
> earlier,
>                          |
>                          V
> > |FPDU-start....FPDU-end|MARKER1|FPDU-start....MARKER2....FPDU-end|
> >                        ^      ^
> >                        |      |
> >                        |      |
> >                        A      B
> 
> Then we will have looked at MARKER1 anyway and MARKER2 won't matter 
> and we wouldn't do any extra math. Lets say instead that what we got 
> started at B. If we get MARKER2 and it points to B, it would be 
> natural to try to process the frame because we have the start. But we 
> can't do that because we don't have MARKER1 so we can't do the CRC. We

> would have to do the math to check whether there was a marker 
> immediately proceeding before we could even decide whether to process 
> the frame.
> 
> If markers always point to the frame start (meaning start including 
> the marker position), then we never have to do an extra checking step.
> 
> Regards,
> Pat
> Barry Reinhold
> Lamprey Networks
> bbr@lampreynetworks.com
> (603) 868-8411
>  
> 
> 
> 
> 
> _______________________________________________
> 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




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


