Re: [Tsvwg] SCTP Checksum Change to the IESG

Randall Stewart <randall@stewart.chicago.il.us> Thu, 02 May 2002 19:24 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA29085 for <tsvwg-archive@odin.ietf.org>; Thu, 2 May 2002 15:24:54 -0400 (EDT)
Received: (from daemon@localhost) by optimus.ietf.org (8.9.1a/8.9.1) id PAA00845 for tsvwg-archive@odin.ietf.org; Thu, 2 May 2002 15:24:58 -0400 (EDT)
Received: from optimus.ietf.org (localhost [127.0.0.1]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA29464; Thu, 2 May 2002 15:02:25 -0400 (EDT)
Received: from ietf.org (odin [132.151.1.176]) by optimus.ietf.org (8.9.1a/8.9.1) with ESMTP id PAA29434 for <tsvwg@optimus.ietf.org>; Thu, 2 May 2002 15:02:22 -0400 (EDT)
Received: from stewart.chicago.il.us (user166.64.47.24.dsli.com [64.47.24.166]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA26944 for <tsvwg@ietf.org>; Thu, 2 May 2002 15:02:16 -0400 (EDT)
Received: from stewart.chicago.il.us (stewlap [10.1.1.5]) by stewart.chicago.il.us (8.11.1/8.11.1) with ESMTP id g42IxbH67950; Thu, 2 May 2002 13:59:38 -0500 (CDT) (envelope-from randall@stewart.chicago.il.us)
Message-ID: <3CD18C99.CBB6AF58@stewart.chicago.il.us>
Date: Thu, 02 May 2002 13:59:37 -0500
From: Randall Stewart <randall@stewart.chicago.il.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Jonathan Stone <jonathan@dsg.stanford.edu>
CC: Qiaobing Xie <qxie1@email.mot.com>, Douglas Otis <dotis@sanlight.net>, tsvwg@ietf.org
Subject: Re: [Tsvwg] SCTP Checksum Change to the IESG
References: <NEBBJGDMMLHHCIKHGBEJIENIDBAA.dotis@sanlight.net> <3CD186F7.3956727F@email.mot.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: tsvwg-admin@ietf.org
Errors-To: tsvwg-admin@ietf.org
X-Mailman-Version: 1.0
Precedence: bulk
List-Id: Transport Area Working Group <tsvwg.ietf.org>
X-BeenThere: tsvwg@ietf.org
Content-Transfer-Encoding: 7bit

Jonathan:

I don't know if you are still on tsvwg list or not.. so I
will send this directly to you.. since it is your question
to answer..

What do you think?

R

Qiaobing Xie wrote:
> 
> Hi, all,
> 
> I am one of those who hate to see another delay of this draft, but I do
> think Doug has a valid point. Before taking on flames, let me clarify
> that I do understand the intention of those notes to hw designers - the
> purpose is to demand hw designers to build only CRC hw implementations
> whose results are verifiable by software.
> 
> Let's say we have no problem with this intention itself, but the current
> text does not exactly fulfill this intention. To illustrate Doug's
> point, let's see the following example.
> 
>        outputs to sw       result verifiable?     compliant to draft?
> -----------------------------------------------------------------------
> hw #1: GO/NO-GO flag             No                    No
> 
> hw #2: both initial              Yes                   Yes
>        value and computed
>        value
> 
> hw #3: GO/NO-GO flag             Yes                   No!!
>        and unaltered
>        packet
> 
> Here is the question: why hw #3 is outlawed by the current text while
> its results are clearly verifiable by software?
> 
> -Qiaobing
> 
> Douglas Otis wrote:
> >
> > Randall,
> >
> > This is a rather clear statement that demands (by using the word MUST) both
> > the initial value and the hardware computed checksum value.  This
> > requirement reflects expectations of a particular implementation that-
> >
> >  1) should not be the recommended approach
> >  2) should not form the basis of a MUST requirement
> >
> > It means a hardware solution that passes the packet unaltered and sets a
> > status bit within the descriptor would not meet the requirements of this
> > draft.  This noncompliant implementation would however allow software to
> > inspect the integrity of the hardware check and interoperate with all other
> > implementations without harm whatsoever.  The recommendation is wrong as is
> > this MUST provide statement.  If someone suspects a hardware problem or
> > wishes for a complete end-to-end solution, not altering the packet by
> > hardware should be the recommended implementation.  This however would not
> > comply with this draft without also providing a means of exchanging the
> > hardware result?  The current recommendation would provide a zeroed checksum
> > field and two odd places to look for the checksum values (computed and
> > original).  Software would then require many versions of checking schemes
> > for each hardware device rather than just the current scheme.  : (
> >
> >  -Doug
> >
> > On May 2, 2002 7:13 AM Randall Stewart (randall@stewart.chicago.il.us)
> > wrote:
> > >
> > > Douglas Otis wrote:
> > > >
> > > >  "An implementation using hardware assist is encouraged to follow the
> > > >   exact procedure specified above.  Whatever implementation strategy
> > > >   an implementation chooses, it MUST arrange to provide both the
> > > >   initial value of the checksum field, and the value computed for the
> > > >   SCTP checksum, to the software stack."
> > > >
> > >
> > > Doug the only requirement above is that the hardware must let the
> > > software see both the initial value in the checksum field .. i.e.
> > > what came off the wire AND the value computed by the hardware..
> > >
> > > I think what Jonathan was after here is so that you don't get a
> > > GO/NO-GO from the hardware..
> > >
> > > This does NOT discourage you from doing non-alter techniques to
> > > the data packet.. since by non altering the packet you are letting
> > > the software see the value off the wire..
> > >
> > > I don't understand your objection.. the wording lets you do
> > > what you want and just recommends a specific implementation...
> > >
> > > R
> > >
> > > --
> > > Randall R. Stewart
> > > randall@stewart.chicago.il.us 815-342-5222 (cell phone)
> > >
> >
> > _______________________________________________
> > tsvwg mailing list
> > tsvwg@ietf.org
> > https://www1.ietf.org/mailman/listinfo/tsvwg

-- 
Randall R. Stewart
randall@stewart.chicago.il.us 815-342-5222 (cell phone)

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