Re: [spring] SRv6 Network Programming: ENH = 59

Mark Smith <markzzzsmith@gmail.com> Mon, 06 May 2019 01:37 UTC

Return-Path: <markzzzsmith@gmail.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 24342120041; Sun, 5 May 2019 18:37:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level:
X-Spam-Status: No, score=-1.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 8jrdJqvF4DbA; Sun, 5 May 2019 18:37:54 -0700 (PDT)
Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (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 74B4C1200B4; Sun, 5 May 2019 18:37:54 -0700 (PDT)
Received: by mail-ot1-x32d.google.com with SMTP id a10so10049720otl.12; Sun, 05 May 2019 18:37:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=De0xnLsHwo688WbBJYaA0b4x1fV97kgU0RisrvFNwqA=; b=XVd6DNS8jshhY6FEUN+WI5xQQNB00rV5nXl5PdeOmC5yyrVQr6PcPaj/k7nVdyQNhK DvYzJsJ73OlUWPzDJH+DBp8RCAK/MMFIXzZQvIowHZWchy3NSmxaW5XPGhnFqnprcvI8 3E7DxWPHfw/+5uYFYh+N1DjuXDFaNOs49XDvKbYwQCwTXPnntQsPPSstPcgZsMNo5834 Jtfwnl855Phcf8wif0BTmWywa9ZAqn8e2r/8eAILJYYdxOqqWAI7dt8L0WBmofilNd40 0d2RZ3tGhKQw6NtidHoh0n62dviAUSDvNF9PGrQCzRDYGMNzIy2UvWwoTfKAl3L2YGDV TQNQ==
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:content-transfer-encoding; bh=De0xnLsHwo688WbBJYaA0b4x1fV97kgU0RisrvFNwqA=; b=Ow2izVH7A3bG2jEJulemPo8qT3VYAUqBdjkLF88Sm+a12oqUPDxNAKlDIfrMhEpdrL 5WiYqTFgbZtXUkUnFZqCZ7fr0EnM8GMzu6O2xR91KkjmffI4yEjD0rHTPHEZtHaxvuFb GSyrIH6l75pQQOZcWbjYEld4loraB9MU8G6m1syee22RcAbgTuIWrqSs1uGK7DjRBPqI MBvVFZwkLXE4ljdjekiTTQKW8X6wMKJkw/BhW1+Yah+z9yA9HHE9tcnDCPXURCGzDbsL Bk5WjRAo75rJ12SiqGShd4qDNa4TRFurN8aNvXvBgW/QbZsRZwwteq+n1rsseF1v+ru6 Aksw==
X-Gm-Message-State: APjAAAXpNHzM/N8q8VoyC0dSDYL8W6xYhCQrflxpoG+45qRcf4Oo7bVf 6qp7+plVhvzjae6oQRiwCmxggIwCjqAs1F6W/wpgsw==
X-Google-Smtp-Source: APXvYqwP2wDlWEuHUItUU2qWjY+MHy9FlWlqn59erHYuBBbDama6o2MSOmDFWVCXeJR53l7TnFgFF0Z1KMfa+A6hSYw=
X-Received: by 2002:a9d:4e15:: with SMTP id p21mr15421109otf.285.1557106673787; Sun, 05 May 2019 18:37:53 -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>
In-Reply-To: <16253F7987E4F346823E305D08F9115AAB88504C@nkgeml514-mbx.china.huawei.com>
From: Mark Smith <markzzzsmith@gmail.com>
Date: Mon, 06 May 2019 11:37:27 +1000
Message-ID: <CAO42Z2yyNWexuc9KYjQo_PqT6JKjVYkxj2u4kzn8ZKai7NLsVA@mail.gmail.com>
To: Xiejingrong <xiejingrong@huawei.com>
Cc: Tom Herbert <tom@herbertland.com>, Ron Bonica <rbonica=40juniper.net@dmarc.ietf.org>, SPRING WG <spring@ietf.org>, 6man <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/aKZJhxAEPm9DTxTlwvk1nC1qvKA>
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 01:37:56 -0000

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://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>
> _______________________________________________
> spring mailing list
> spring@ietf.org
> https://www.ietf.org/mailman/listinfo/spring