Re: [spring] SRv6 Network Programming: ENH = 59
Tom Herbert <tom@herbertland.com> Mon, 06 May 2019 03:09 UTC
Return-Path: <tom@herbertland.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 82621120092 for <spring@ietfa.amsl.com>; Sun, 5 May 2019 20:09:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.com
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 7TclIL4ryMxi for <spring@ietfa.amsl.com>; Sun, 5 May 2019 20:09:45 -0700 (PDT)
Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (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 9C46A120077 for <spring@ietf.org>; Sun, 5 May 2019 20:09:45 -0700 (PDT)
Received: by mail-qt1-x829.google.com with SMTP id r3so3278844qtp.10 for <spring@ietf.org>; Sun, 05 May 2019 20:09:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7AuQF6L1qPkVaPCxdOQ13U8ZvmEh8IhSsxL1lLdd2CE=; b=FY0YPSKltMlRT8ayzMCDGJFY04GXz0CuIpmTZgZXEofc0SHTO3VazhoDWWtF1O/uXR C7KN1UpIvAqvmIPohBIgSQk56Tsze7IuqqZg4rMc1+YN+PyGsrqLgSX94kKl8x1wQhgD vUxlXcRE0AwX/wKuq3/iMkr5bawWem0UtC4gHnI6b2BODhEpmSMfSAK3LEYsujVZUDnm xq42mJImmdTwoSBqzbWmDNUwzRFCQbQU95AFilLbU2/RA+f3ikzf4Qi1WaIqmBBQ1Z1/ hFGGAIkcTq8cttvgvYQP0h468CNrZ+ppNzAAMfveMmtJP8gVpSCMaesGTF3CnOXVhurP qLnw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7AuQF6L1qPkVaPCxdOQ13U8ZvmEh8IhSsxL1lLdd2CE=; b=ngwM0QZFB3weDgfD3x/CQcN5zlmIh9rkmgETljMZkLb3sdPY5WgoOOpyqkl16H0BJK TT+YAwVUaLozMgq12wzfAIUr58V//y+hw3Lapw98h+Iug2e6CKDr15np/KQ7X0xz9l2t /CYw47IsMKdxC9/dS1HxO26kLgk3Bc9OciC/L/bMuPtDQuO6xRzJxFyRV0NgxxxzV2Vt Vmdnr5ovFePhjVxrKg6Dj7EaaxffYCtk7zl5PI30tSP2ioONMQ7X0HJSTJR4VNT0FPc3 04Up0CA8pCHSZIiXnFWX/t1GdnHV4TvqMtp9eX1NYT9iMtNh+28itvVGexhU2xGR+kM7 zPsA==
X-Gm-Message-State: APjAAAXzDhjvBq7M0jVZXE4BQqg6q5ABhrCH4RGi4/e/87/8y0+zmp11 /tI9zzL87FkuB7SB4JhHSx5ReiGs0xZr4d1vOnGBFQ==
X-Google-Smtp-Source: APXvYqwlo6dzu52UIbxwUxB0uJ/gfDoOTeWJcLfyP5YWy1mP5ypv0P7GROnXsXqtWNXMvyvRmzrt1QxGj6c3eBtbjOw=
X-Received: by 2002:a05:6214:242:: with SMTP id k2mr19257710qvt.168.1557112184528; Sun, 05 May 2019 20:09:44 -0700 (PDT)
MIME-Version: 1.0
References: <BYAPR05MB4245988C3A47C3665BD91172AE300@BYAPR05MB4245.namprd05.prod.outlook.com> <CALx6S358r54Z7U_GM88PnTDmd503BAjE6-ff9CDpjyAY4Cq_sg@mail.gmail.com> <16253F7987E4F346823E305D08F9115AAB88504C@nkgeml514-mbx.china.huawei.com> <CAO42Z2yyNWexuc9KYjQo_PqT6JKjVYkxj2u4kzn8ZKai7NLsVA@mail.gmail.com> <BYAPR05MB4245E70F5064B9A0B7454D1FAE300@BYAPR05MB4245.namprd05.prod.outlook.com>
In-Reply-To: <BYAPR05MB4245E70F5064B9A0B7454D1FAE300@BYAPR05MB4245.namprd05.prod.outlook.com>
From: Tom Herbert <tom@herbertland.com>
Date: Sun, 05 May 2019 20:09:33 -0700
Message-ID: <CALx6S34P7Vu9hpZRnW=CPVBk_NBptWzEi0vGJFh1EYtsuQaacg@mail.gmail.com>
To: Ron Bonica <rbonica@juniper.net>
Cc: Mark Smith <markzzzsmith@gmail.com>, Xiejingrong <xiejingrong@huawei.com>, SPRING WG <spring@ietf.org>, 6man <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/4iwT-BfyEPItbxKlOR2B8xrszfU>
Subject: Re: [spring] SRv6 Network Programming: ENH = 59
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 May 2019 03:09:47 -0000
On Sun, May 5, 2019 at 7:49 PM Ron Bonica <rbonica@juniper.net> wrote: > > Mark, > > As the header chain (including encapsulations) get longer, the packet becomes less ASIC friendly. > Ron, I'm dubious that just a two byte header for EtherIP or four byte header will be a problem especially in light of the fact that segment routing header is already adding significantly to packet overhead with an arbitrary list of sixteen byte quantities. Tom > Allocating a new Next Header value for Ethernet may be less painful than introducing a new encapsulation. > > Ron > > > > Juniper Internal > > > -----Original Message----- > > From: Mark Smith <markzzzsmith@gmail.com> > > Sent: Sunday, May 5, 2019 9:37 PM > > To: Xiejingrong <xiejingrong@huawei.com> > > Cc: Tom Herbert <tom@herbertland.com>; Ron Bonica > > <rbonica@juniper.net>; SPRING WG <spring@ietf.org>; 6man > > <ipv6@ietf.org> > > Subject: Re: [spring] SRv6 Network Programming: ENH = 59 > > > > On Mon, 6 May 2019 at 11:15, Xiejingrong <xiejingrong@huawei.com> > > wrote: > > > > > > Hi Tom, > > > > > > > > > > > > Number 97 is a choice but it has 2 bytes wasting. > > > > > > > > > > It seems strange to me that as bandwidth is constantly getting cheaper, people > > seem to be trying harder and harder to use less of it. > > The trade-off is increased code complexity and CPU at each of the hops at the > > end of the links. > > > > It is has been my understanding that bandwidth has been getting cheaper > > faster than CPU for quite a number of years, has that flipped around? > > > > > > > > > > Jingrong > > > > > > > > > > > > From: ipv6 [mailto:ipv6-bounces@ietf.org] On Behalf Of Tom Herbert > > > Sent: Monday, May 06, 2019 9:11 AM > > > To: Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org> > > > Cc: SPRING WG <spring@ietf.org>; 6man <ipv6@ietf.org> > > > Subject: Re: SRv6 Network Programming: ENH = 59 > > > > > > > > > > > > > > > > > > On Sun, May 5, 2019, 5:47 PM Ron Bonica > > <rbonica=40juniper.net@dmarc.ietf.org> wrote: > > > > > > Folks, > > > > > > According to Section 4.4 of draft-ietf-spring-srv6-network-programming-00, > > when processing the End.DX2 SID, the Next Header must be equal to 59. > > Otherwise, the packet will be dropped. > > > > > > In the words of the draft, "We conveniently reuse the next-header value 59 > > allocated to IPv6 No Next Header [RFC8200]. When the SID corresponds to > > function End.DX2 and the Next-Header value is 59, we know that an Ethernet > > frame is in the payload without any further header." > > > > > > According to Section 4.7 RFC 8200, " The value 59 in the Next Header field of > > an IPv6 header or any extension header indicates that there is nothing > > following that header. If the Payload Length field of the IPv6 header indicates > > the presence of octets past the end of a header whose Next Header field > > contains 59, those octets must be ignored and passed on unchanged if the > > packet is forwarded." > > > > > > Does the WG think that it is a good idea to reuse the Next Header value 59? > > Or would it be better to allocate a new Next Header value that represents > > Ethernet? > > > > > > > > > > > > Tom, > > > > > > > > > > > > There's already ETHERIP number (97). Why not use that? > > > > > > > > > > > > Tom > > > > > > > > > > > > > > > Ron > > > > > > > > > Juniper Internal > > > > > > -------------------------------------------------------------------- > > > IETF IPv6 working group mailing list > > > ipv6@ietf.org > > > Administrative Requests: > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mail > > > man_listinfo_ipv6&d=DwIFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK- > > ndb3voDTXcWzo > > > CI&r=Fch9FQ82sir-BoLx84hKuKwl- > > AWF2EfpHcAwrDThKP8&m=c3_vQkaWUv9VrZu2hHe > > > xkrpuWDPuNaF_aDmPsT- > > K5v4&s=xMl4vY3Oo9yoWumPFQIkAs4LDEgbsazb28zbejhHM9w > > > &e= > > > -------------------------------------------------------------------- > > > > > > _______________________________________________ > > > spring mailing list > > > spring@ietf.org > > > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mail > > > man_listinfo_spring&d=DwIFaQ&c=HAkYuh63rsuhr6Scbfh0UjBXeMK- > > ndb3voDTXcW > > > zoCI&r=Fch9FQ82sir-BoLx84hKuKwl- > > AWF2EfpHcAwrDThKP8&m=c3_vQkaWUv9VrZu2h > > > HexkrpuWDPuNaF_aDmPsT- > > K5v4&s=yCRyw1w61_gizFeEYqfNsMjzIFPqI1pSUdqeNS6nQ > > > o0&e=
- [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 Joel M. Halpern
- Re: [spring] SRv6 Network Programming: ENH = 59 Mark Smith
- Re: [spring] SRv6 Network Programming: ENH = 59 Tom Herbert
- Re: [spring] SRv6 Network Programming: ENH = 59 Xiejingrong
- Re: [spring] SRv6 Network Programming: ENH = 59 Tom Herbert
- Re: [spring] SRv6 Network Programming: ENH = 59 Mark Smith
- Re: [spring] SRv6 Network Programming: ENH = 59 Mark Smith
- Re: [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 Tom Herbert
- Re: [spring] SRv6 Network Programming: ENH = 59 Mark Smith
- Re: [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 Tom Herbert
- Re: [spring] SRv6 Network Programming: ENH = 59 Bob Hinden
- Re: [spring] SRv6 Network Programming: ENH = 59 Stewart Bryant
- Re: [spring] SRv6 Network Programming: ENH = 59 Mark Smith
- Re: [spring] SRv6 Network Programming: ENH = 59 Brian E Carpenter
- Re: [spring] SRv6 Network Programming: ENH = 59 Pablo Camarillo (pcamaril)
- Re: [spring] SRv6 Network Programming: ENH = 59 Joel M. Halpern
- Re: [spring] SRv6 Network Programming: ENH = 59 Mark Smith
- Re: [spring] SRv6 Network Programming: ENH = 59 Tom Herbert
- Re: [spring] SRv6 Network Programming: ENH = 59 Tom Herbert
- Re: [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 Ole Troan
- Re: [spring] SRv6 Network Programming: ENH = 59 Sander Steffann
- Re: [spring] SRv6 Network Programming: ENH = 59 Tom Herbert
- Re: [spring] SRv6 Network Programming: ENH = 59 Bob Hinden
- Re: [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 Tom Herbert
- Re: [spring] SRv6 Network Programming: ENH = 59 Ole Troan
- Re: [spring] SRv6 Network Programming: ENH = 59 Ole Troan
- Re: [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 Ole Troan
- Re: [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 Stewart Bryant
- Re: [spring] SRv6 Network Programming: ENH = 59 Ole Troan
- Re: [spring] SRv6 Network Programming: ENH = 59 Stewart Bryant
- Re: [spring] SRv6 Network Programming: ENH = 59 Stewart Bryant
- Re: [spring] SRv6 Network Programming: ENH = 59 Ole Troan
- Re: [spring] SRv6 Network Programming: ENH = 59 Joel M. Halpern
- Re: [spring] SRv6 Network Programming: ENH = 59 Ole Troan
- Re: [spring] SRv6 Network Programming: ENH = 59 Joel M. Halpern
- Re: [spring] SRv6 Network Programming: ENH = 59 Ole Troan
- Re: [spring] SRv6 Network Programming: ENH = 59 Joel M. Halpern
- Re: [spring] SRv6 Network Programming: ENH = 59 Ron Bonica
- Re: [spring] SRv6 Network Programming: ENH = 59 john leddy.net