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

Ron Bonica <rbonica@juniper.net> Mon, 06 May 2019 02:49 UTC

Return-Path: <rbonica@juniper.net>
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 196B2120086; Sun, 5 May 2019 19:49:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level:
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 5VEiVqYjaf9O; Sun, 5 May 2019 19:49:13 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 B64C2120077; Sun, 5 May 2019 19:49:13 -0700 (PDT)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x462n81t011243; Sun, 5 May 2019 19:49:08 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=PPS1017; bh=Ed4ddeQ5tXL+4Ab0bNBZfv9hmv6s1EhQ/1L5fCkChgI=; b=VJPOBkJlOj8LT0OtANcdnkD4+cDoDB1O8OO5orvpzMTzb9vuNWhkaU0lYWpF5c1lGF9a UOOCAMvn4pWAlSs8QsFB9XM9yRItSuCQrfFfL572kM/FsRD3by+5l2PMubSfLzQAukJ8 C38UmjsEhr+c2UrjpNC6I1zFZ1EuDoDOjXkkIGIPqKH/FpnmP+wHWh+OJ7+08Ggbl9iH rV2fJn+j2uwSY3XjkYJ7aOeRl7qrbZWh4To2UqBlKq3N3SxU+dz4kEI0iFZeTsK8VNRR bUEk3VId3aC8qDY5tPGl0VANfL6408jsF0wpVjwV0bIZgB6svb2QeuvKAIisOXSuNrtH Wg==
Received: from nam05-co1-obe.outbound.protection.outlook.com (mail-co1nam05lp2055.outbound.protection.outlook.com [104.47.48.55]) by mx0b-00273201.pphosted.com with ESMTP id 2sac5ar0pt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 05 May 2019 19:49:08 -0700
Received: from BYAPR05MB4245.namprd05.prod.outlook.com (20.176.252.26) by BYAPR05MB6552.namprd05.prod.outlook.com (20.178.234.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.18; Mon, 6 May 2019 02:49:00 +0000
Received: from BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::e1e7:cf02:f236:ab29]) by BYAPR05MB4245.namprd05.prod.outlook.com ([fe80::e1e7:cf02:f236:ab29%7]) with mapi id 15.20.1878.014; Mon, 6 May 2019 02:49:00 +0000
From: Ron Bonica <rbonica@juniper.net>
To: Mark Smith <markzzzsmith@gmail.com>, Xiejingrong <xiejingrong@huawei.com>
CC: Tom Herbert <tom@herbertland.com>, SPRING WG <spring@ietf.org>, 6man <ipv6@ietf.org>
Thread-Topic: [spring] SRv6 Network Programming: ENH = 59
Thread-Index: AdUDo1cr1ntuHPleQoe8AvXX2JxkXgABS++AAAAnCoAAAMf5gAACYiKw
Content-Class:
Date: Mon, 06 May 2019 02:49:00 +0000
Message-ID: <BYAPR05MB4245E70F5064B9A0B7454D1FAE300@BYAPR05MB4245.namprd05.prod.outlook.com>
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>
In-Reply-To: <CAO42Z2yyNWexuc9KYjQo_PqT6JKjVYkxj2u4kzn8ZKai7NLsVA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.1.100.23
dlp-reaction: no-action
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=True; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Owner=rbonica@juniper.net; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2019-05-06T02:48:58.5285750Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=Juniper Internal; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Application=Microsoft Azure Information Protection; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Extended_MSFT_Method=Automatic; Sensitivity=Juniper Internal
x-originating-ip: [66.129.241.13]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 8a347d9d-5b1f-49a1-4e8d-08d6d1cd649f
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:BYAPR05MB6552;
x-ms-traffictypediagnostic: BYAPR05MB6552:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <BYAPR05MB6552B40B8989F1E98EC10653AE300@BYAPR05MB6552.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:1850;
x-forefront-prvs: 0029F17A3F
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(366004)(39860400002)(396003)(376002)(346002)(199004)(189003)(13464003)(305945005)(66066001)(316002)(229853002)(26005)(4326008)(256004)(19627235002)(6436002)(186003)(55016002)(486006)(476003)(6306002)(9686003)(446003)(25786009)(11346002)(3846002)(6116002)(14454004)(7736002)(8676002)(81156014)(81166006)(8936002)(52536014)(966005)(478600001)(2906002)(33656002)(6246003)(102836004)(53936002)(6506007)(53546011)(86362001)(110136005)(54906003)(99286004)(7696005)(66446008)(66946007)(76176011)(66476007)(73956011)(64756008)(66556008)(5660300002)(76116006)(74316002)(71190400001)(71200400001)(68736007); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB6552; H:BYAPR05MB4245.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: OQaSLpnayvmeVx1fnEcgq8IeuFPjuS4ZaGBo5KkFcO4LQwiYEcKO9Hx+fX1f6rYzbnFiFEE5jbO/DlJexU2zeFRiFs4+paaYR43AcQr6kDwVJDOHQYga0x11ZRFbZnXPljPVfoXMSfmxTX6ogh8C9C7QzwVSRxsvG9D/6p0meDYYy4OvCFN2Dtf2cp+vi6hg/EU4H55+6ayCsBXc2LTLnWWRvI80ucK22FfaCqgvVxo0o0iDVX1uC4qEeZTVv0s14kjmvvLNiJKv2Mly0Ms9jsrX6jkWmKohuEzY8jMKzdaBZtyPzHdtX7tx+VbL+3/iQmDoqLbotU52aEJjrmg2KTwkdm6vHj+Vlk+p7rVHW9z6cWxROB+KqgVqr/bTLCmWp14QsUMqabwNSJIfCStqZIsnTnUcSU6hZgjKlxr6Ifo=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 8a347d9d-5b1f-49a1-4e8d-08d6d1cd649f
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2019 02:49:00.5147 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB6552
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_02:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905060023
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/LfNYzvkGbYdGE_6UJ3TF4arzpqI>
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 02:49:16 -0000

Mark,

As the header chain (including encapsulations) get longer, the packet becomes less ASIC friendly.

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=