Re: [Tsv-art] Tsvart early review of draft-ietf-trill-over-ip-10 - ECN & DSCP considerations

Joe Touch <touch@isi.edu> Thu, 13 July 2017 12:59 UTC

Return-Path: <touch@isi.edu>
X-Original-To: tsv-art@ietfa.amsl.com
Delivered-To: tsv-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2B22D13167F for <tsv-art@ietfa.amsl.com>; Thu, 13 Jul 2017 05:59:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27L19k0bdBqz for <tsv-art@ietfa.amsl.com>; Thu, 13 Jul 2017 05:59:38 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 95E8312EB99 for <tsv-art@ietf.org>; Thu, 13 Jul 2017 05:59:38 -0700 (PDT)
Received: from [10.31.59.150] (ip-64-134-100-23.public.wayport.net [64.134.100.23]) (authenticated bits=0) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id v6DCxCpR021454 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 13 Jul 2017 05:59:23 -0700 (PDT)
From: Joe Touch <touch@isi.edu>
To: Wesley Eddy <wes@mti-systems.com>, tsv-art@ietf.org
References: <CE03DB3D7B45C245BCA0D243277949362FB4DF88@MX307CL04.corp.emc.com> <CAF4+nEFUmB=eMO6rvK6-YiL+3Adp_t1QVqgMDBHZFn73_JxEfw@mail.gmail.com> <CE03DB3D7B45C245BCA0D243277949362FB59E00@MX307CL04.corp.emc.com> <CAF4+nEEdv8XRSKmpffe1fU+4wRpikeixzX-49g1ocQSJBaqgSg@mail.gmail.com> <67476ec5-2e50-bd27-de97-16aaabc9c078@mti-systems.com> <1dcb8ba7-5403-435f-9637-1b2cdf2f5247@isi.edu>
Message-ID: <bffd51e8-7bc0-5e7d-319a-f13a0058f606@isi.edu>
Date: Thu, 13 Jul 2017 05:59:10 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <1dcb8ba7-5403-435f-9637-1b2cdf2f5247@isi.edu>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/iTl9g4ATgMSSRY4CqI4pMMlY_ns>
Subject: Re: [Tsv-art] Tsvart early review of draft-ietf-trill-over-ip-10 - ECN & DSCP considerations
X-BeenThere: tsv-art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Transport Area Review Team <tsv-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsv-art/>
List-Post: <mailto:tsv-art@ietf.org>
List-Help: <mailto:tsv-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Jul 2017 12:59:40 -0000

Two additional points that are very important for this doc:

1) RFC1122 admits there might not even be an API to make such a change
after a connection has been established, so trill-over-IP cannot rely on
it and must explain what to do if that API is not supported.

2) RFC1122 mentions this as an API issue - there is NO way that TCP can
know which trill packets will end up in a given TCP segment from the
existing TCP API, thus it would never be clear how or when to make such
a TOS/DSCP change unless it was persistent and relatively stable (again,
that's the intent AFAICT from the RFC1122 text).

Using TCP is *never* merely a matter of "throw on a TCP header".

Joe


On 7/13/2017 5:41 AM, Joe Touch wrote:
> Hi, Wes (et al.),
>
>
> On 7/12/2017 12:31 PM, Wesley Eddy wrote:
>> On 7/1/2017 2:03 PM, Donald Eastlake wrote:
>>> On Sat, Jul 1, 2017 at 10:53 AM, Black, David <David.Black@dell.com>
>>> wrote:
>>>> Also, as noted earlier in this discussion, RFC 7657 explicitly
>>>> discourages use of multiple DSCPs in a single TCP connection.  That
>>>> needs to be reflected in the TCP encapsulation text in the
>>>> trill-over-ip draft - in particular, the current text in Section 4.3
>>>> on mapping to DSCPs from TRILL priority and DEI does not appear to
>>>> be consistent with RFC 7657 for TCP-based encapsulation.
>>> I'm surprised it only "discourages" rather than "prohibits"...
>>>
>>>
>> RFC 1122 section 4.2.4.2 might be of interest.
>>
>> It says that TOS "SHOULD" be able to change during TCP connection
>> lifetime.  The example given there is an SMTP connection whose nature
>> might change during its lifetime.
>>
>> I'm not saying whether or not this is really still a sensible concern,
>> just pointing it out.
>>
>> The change from TOS to DSCP terminology and semantics didn't make any
>> change here as far as I can tell.
> Agreed, but only on that point.
>
> My interpretation of the relevant RFC1122 text is that it's OK for a TCP
> session to "shift" from one TOS (or DSCP) to another when the nature of
> its transfer changes. I would expect those changes to be infrequent and
> atypical.
>
> I would not expect a single TCP connection to issue individual segments
> with TOS (or DSCP) values that change nearly every segment, which would
> be the consequence of copying those values from the payload of
> encapsulated traffic. Furthermore, it would be impossible to determine
> the appropriate DSCP values when a segment contains all or part of more
> than one encapsulated packet with different values.
>
> Joe
>
> _______________________________________________
> Tsv-art mailing list
> Tsv-art@ietf.org
> https://www.ietf.org/mailman/listinfo/tsv-art