RE: Comments on draft-bonica-6man-comp-rtg-hdr-01

Adrian Farrel <adrian@olddog.co.uk> Sat, 16 May 2020 19:13 UTC

Return-Path: <adrian@olddog.co.uk>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0CA33A0365 for <ipv6@ietfa.amsl.com>; Sat, 16 May 2020 12:13:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.005
X-Spam-Level:
X-Spam-Status: No, score=0.005 tagged_above=-999 required=5 tests=[RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 5FcMpngqhmtQ for <ipv6@ietfa.amsl.com>; Sat, 16 May 2020 12:13:11 -0700 (PDT)
Received: from mta8.iomartmail.com (mta8.iomartmail.com [62.128.193.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E44773A0366 for <ipv6@ietf.org>; Sat, 16 May 2020 12:13:10 -0700 (PDT)
Received: from vs3.iomartmail.com (vs3.iomartmail.com [10.12.10.124]) by mta8.iomartmail.com (8.14.4/8.14.4) with ESMTP id 04GJD3se014251; Sat, 16 May 2020 20:13:03 +0100
Received: from vs3.iomartmail.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 91AB62203A; Sat, 16 May 2020 20:13:03 +0100 (BST)
Received: from asmtp2.iomartmail.com (unknown [10.12.10.249]) by vs3.iomartmail.com (Postfix) with ESMTPS id 7CB4322032; Sat, 16 May 2020 20:13:03 +0100 (BST)
Received: from LAPTOPK7AS653V ([84.93.26.18]) (authenticated bits=0) by asmtp2.iomartmail.com (8.14.4/8.14.4) with ESMTP id 04GJD2lK021194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 16 May 2020 20:13:03 +0100
Reply-To: adrian@olddog.co.uk
From: Adrian Farrel <adrian@olddog.co.uk>
To: 'Ron Bonica' <rbonica=40juniper.net@dmarc.ietf.org>, 'Tom Herbert' <tom@quantonium.net>, '6man' <ipv6@ietf.org>
References: <CAPDqMeq3JECQpNMXa94RdCTTbbHik2pwte_ShXxH8pt_X++W_Q@mail.gmail.com> <DM6PR05MB634808B030DC4E8E0F3E815CAEBA0@DM6PR05MB6348.namprd05.prod.outlook.com>
In-Reply-To: <DM6PR05MB634808B030DC4E8E0F3E815CAEBA0@DM6PR05MB6348.namprd05.prod.outlook.com>
Subject: RE: Comments on draft-bonica-6man-comp-rtg-hdr-01
Date: Sat, 16 May 2020 20:13:00 +0100
Organization: Old Dog Consulting
Message-ID: <000c01d62bb6$05034170$0f09c450$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 16.0
Content-Language: en-gb
Thread-Index: AQKupGpu5WCs0Lf40IyWtQo8EFCsvAJ9sZAapuYs+YA=
X-Originating-IP: 84.93.26.18
X-Thinkmail-Auth: adrian@olddog.co.uk
X-TM-AS-GCONF: 00
X-TM-AS-Product-Ver: IMSVA-9.0.0.1623-8.2.0.1013-25424.002
X-TM-AS-Result: No--15.186-10.0-31-10
X-imss-scan-details: No--15.186-10.0-31-10
X-TMASE-Version: IMSVA-9.0.0.1623-8.2.1013-25424.002
X-TMASE-Result: 10--15.185900-10.000000
X-TMASE-MatchedRID: 8HTFlOrbAtHxIbpQ8BhdbOqq1/VfpBZTK4tp34QvTwsOUs4CTUgKy2hk SwpykoqVZFngUw5qKZ5fPctCJYIJdzHiD7ssqslsPyaHVwjtlgapXdWa4gU0S2+fXVEQ/fGee1x IFd7hF82idC0rk4KO605Fx/hVHPHkSC6q/8es6H9DVDSltRE1wc6j/8n8QDVBJsBO7ID7TfaSB9 1Cvu7zP/a20P2lHoMJEj1nw1ZihrgjpyUK+qQ0q4VMtEwAWsdcGIMg4+U4kbUC/nuPl5P0Fh7tx gU9EMOTjqzJZYmsHEYK7bBeBJ00xJXOyk7EwLgl48SQ1JLtjzbJJ/setCfcGpGhAvBSa2i/oz1B sWLeVP85cqT7q3hLBmyGQpsiPfAi9le5XmUu9sCSvRb8EMdYRRtDntE/qU5RPqSIzVYZGCpWj+g IYXasgzkxohyv/vQFk3IDdAmticSPIr9Wpu0YXG6yfYFZzrGdPJoekVvEuKuA6UrbM3j3qZT4r6 hJ177a1zGXIx+3Zpvy3wXnyjH1dLeFQP8DiHvMzNY33yIEF4YHuUxnhixmT7V5fSMRD1zqf/Jqo A4NBpK9goLaCV4T7KUipsZ6lmjaFnWEqhzCz2CprpImTnz4to8ZcR5uOw86nQlYAM74RhWz4Zt0 2L4WIhzi0zZdqPL/jt1kloQ2BV/HTsxH+zlD5IvNlIrJDKnMkGG5k7yhqxTwJYZa/L83HY0G9GY ox3FwAcPskX6bIImaokbnFGsGS0kfXU45UHTJYuJV6fJ53KN0ZH0LS0ioj0Tqq9Xa45y5UPOToz RCkFhQYLXU+yzKusPIymF+WHyCVHa5Ax0DhIieAiCmPx4NwLTrdaH1ZWqCii7lXaIcF/Ww7M6dy uYKg46HM5rqDwqtlExlQIQeRG0=
X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0-0
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/Q-Jb_SJgT50Nfje40rWJ7hQXgDk>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 16 May 2020 19:13:13 -0000

I do have to agree with those who have said that the arrival rate of new
revisions of this draft has been at the high end of normal.

Apparently, even the document editor is struggling to keep up! It looks like
version -22 is the top of stack.

I think this document is suitable for adoption by 6man. It is in scope of
the charter, is interesting, and has potential uses. Once adopted, I look
forward to the WG having editorial control.

If adopted, I promise to review and help revise the work.

In the meantime, I do have a couple of brief comments. None of these needs
to be fixed before adoption, however, the codepoint issue (sections 3 and
11) might be wise to fix before adoption.

Best,
Adrian

===

Abstract
I think this is a bit too brief. It would be nice to add a second paragraph
saying what the CRHs are and what they do.

---

Throughout
Please decide "Routing header" or "Routing Header"

---

Document title
I think this should be "The IPv6 Compact Routing Headers (CRH)" to be
consistent with the Abstract.

---

Section 3
You introduce the term "SID" and go on to explain it concisely. No problem
with what you've written, but...
Is this SID the same SID as we find in RFC 8402? If it is, then a citation
would be nice. 
If it is a subset or reduced form of the SID in 8402, that really needs to
be clarified.
If it is a different thing (no matter if it is "similar") maybe using a
different name would be helpful.

---

Section 11 and Section 3
Please remove explicit codepoint values from these sections. It is OK to
recommend/suggest values, but this seems unnecessary as you are not asking
for anything unusual. Normal practice is to allow IANA to assign codepoints
and avoid any risk of accidental clashes between assignments.

-----Original Message-----
From: ipv6 <ipv6-bounces@ietf.org> On Behalf Of Ron Bonica
Sent: 16 May 2020 19:36
To: Tom Herbert <tom@quantonium.net>; 6man <ipv6@ietf.org>
Subject: RE: Comments on draft-bonica-6man-comp-rtg-hdr-01

Tom,

I'm afraid you are looking at a very old version of the draft. These fields
are all gone in the current version (21).

                                                                  Ron



Juniper Business Use Only

-----Original Message-----
From: ipv6 <ipv6-bounces@ietf.org> On Behalf Of Tom Herbert
Sent: Saturday, May 16, 2020 11:31 AM
To: 6man <ipv6@ietf.org>
Subject: Comments on draft-bonica-6man-comp-rtg-hdr-01

[External Email. Be cautious of content]


A few comments...

The CRH header has three reserved bytes after the Com field presumably for
aligning the SIDs. Three bytes would be needed if SIDs are thirty-two bits,
but for sixteen bit SIDs only one byte of padding is needed, and in the case
of eight bit SIDs no padding is needed. Since the routing header needs to be
eight bytes in length, the minimizing padding for alignment can save a fair
number of bytes. For instance, if there is just one 16 bit SID in the list
or one to three 8 bit SIDs, without minimal padding for alignment the EH is
sixteen bytes in size, with minimal padding it's just eight bytes.

I suggest considering switching the Com and Segments field since Segments is
a numeric quantity field and there's some reasons to put that in the lower
order bits. Masking a byte to get a numeric value is easier to conceptualize
than a shift (albeit probably same performance), and also if we ever decide
that the Com field needs to be extended four bits that's as easy as just
reducing the halving the maximum value of segments field.

I suggest the value 0x3 in the Com field be reserved for an "extended
header" format. For instance, if someday we find we really need flags in the
header then an extended format could be defined that includes a set of
flags, SID size, and SID list. This probably doesn't need to be mentioned in
the draft, but maybe the Com field should be renamed to Fmt to indicate it
describes the format of the header following the field.

>From the draft "Therefore, the CRH MAY be padded with zeros." and
"Reserved - SHOULD be set to zero by the sender.". Should both of these be a
MUST?

Tom

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests:
https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/ipv6__;!!N
Et6yMaO-gk!WbRs1TMhGzlPNNHDie9q_XhFrEVt5srbU8_-5vh93TMWIzwrBNLCzd6bwvTFmVsW$
--------------------------------------------------------------------

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------