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

Ron Bonica <rbonica@juniper.net> Mon, 06 May 2019 14:26 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 80194120176; Mon, 6 May 2019 07:26:42 -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 CfsvhXfBA03i; Mon, 6 May 2019 07:26:40 -0700 (PDT)
Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (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 701C5120052; Mon, 6 May 2019 07:26:40 -0700 (PDT)
Received: from pps.filterd (m0108156.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x46EJfeg013283; Mon, 6 May 2019 07:26:34 -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=EZ0AqbmuPNZt6GWe5p8caS3TmNV217HISUE9W+0qNnk=; b=uBJoVRYFGWed1fRgQ42HC8p6WIlMssW9OS8Hh2wdav5b6GstrnEwOPeX+uYvpgZeBmtf IJ7l0mWYATuWxS2Y3W0Yzzv+YCHNgwanrOFpth1/43ExwOt+c9ByB7S3f+D6V5OF7Prr FZNO8h6yiTJYBksmvKIuM4aibDF++fSvypokBa0kDkgZq42KT9FDGmbaBsd4RmF1E7iz 3ymQtqobkvgoQE8KtnXz4VHQoMNSjJCl9JrfO9J6Vbp31B07V1hFiD0e8NSJM8Q97cI/ XVKAdLvsNtTiBIWixv+4Taw8k1vwRetzcaJDCzl7eD5SQ7DF5zeBjh8/aDfCoprDI6SX TQ==
Received: from nam01-bn3-obe.outbound.protection.outlook.com (mail-bn3nam01lp2055.outbound.protection.outlook.com [104.47.33.55]) by mx0a-00273201.pphosted.com with ESMTP id 2sah2srfd2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 06 May 2019 07:26:33 -0700
Received: from BYAPR05MB4245.namprd05.prod.outlook.com (20.176.252.26) by BYAPR05MB5608.namprd05.prod.outlook.com (20.177.186.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.11; Mon, 6 May 2019 14:26:30 +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 14:26:30 +0000
From: Ron Bonica <rbonica@juniper.net>
To: Tom Herbert <tom@herbertland.com>
CC: Mark Smith <markzzzsmith@gmail.com>, Xiejingrong <xiejingrong@huawei.com>, SPRING WG <spring@ietf.org>, 6man <ipv6@ietf.org>
Thread-Topic: [spring] SRv6 Network Programming: ENH = 59
Thread-Index: AdUDo1cr1ntuHPleQoe8AvXX2JxkXgABS++AAAAnCoAAAMf5gAACYiKwAADVT4AAF5LXYA==
Content-Class:
Date: Mon, 06 May 2019 14:26:30 +0000
Message-ID: <BYAPR05MB4245402278BD3CA69629B7BBAE300@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> <BYAPR05MB4245E70F5064B9A0B7454D1FAE300@BYAPR05MB4245.namprd05.prod.outlook.com> <CALx6S34P7Vu9hpZRnW=CPVBk_NBptWzEi0vGJFh1EYtsuQaacg@mail.gmail.com>
In-Reply-To: <CALx6S34P7Vu9hpZRnW=CPVBk_NBptWzEi0vGJFh1EYtsuQaacg@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-06T14:26:26.6312652Z; 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: ef44944a-0a96-43d4-e8f8-08d6d22ed4f7
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:BYAPR05MB5608;
x-ms-traffictypediagnostic: BYAPR05MB5608:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <BYAPR05MB5608EF5A641A1EF25EA9826EAE300@BYAPR05MB5608.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:1850;
x-forefront-prvs: 0029F17A3F
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(396003)(39860400002)(136003)(366004)(346002)(189003)(13464003)(199004)(7696005)(478600001)(6116002)(3846002)(6506007)(53546011)(99286004)(81156014)(102836004)(316002)(76176011)(5660300002)(76116006)(229853002)(66446008)(52536014)(33656002)(26005)(73956011)(66946007)(64756008)(66556008)(66476007)(186003)(71200400001)(71190400001)(19627235002)(256004)(6306002)(55016002)(6436002)(966005)(14454004)(9686003)(53936002)(305945005)(7736002)(74316002)(486006)(11346002)(54906003)(68736007)(446003)(2906002)(66066001)(8676002)(81166006)(8936002)(476003)(86362001)(6916009)(25786009)(4326008)(6246003); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB5608; H:BYAPR05MB4245.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: utt7Yx2bqcUxik5bLZfDmHOEGFvtQiEFMkSs/He+p1doJkp0Xue4Oh4S7VcDN5jtOAzkiPujl29okuQvOAyKz56jU0jgIPfRizatLwy4io2bpOHwlrvdWO+dipx7ojFE38U2dMh8at6w7wSIDMkDtSMApE+1FSo+iA9Y/G0U/jcsEqCXsiDyGWLASaayWXzX7QzA91BNTBnsZ+G5JGd4Tpr1mfsbkvCdAIhI10k56izcaYKV7gPDigFCzSzZLP6SMjcb2ST9tNNkJa3XC3GZxebJ5gj6URhRcpHqf+nXNsJYQjQnE2ZnRqZRrrQ4icLadGMrZB5dpLCTTHG5eJfv1LOztOOGHNLMCf3iK10qJ7m+XVmS9hA6Z//HRyM4OprJPBownauc5K+0w4TrttUAQcEIv0x5SPS3Gy2vIqe342A=
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: ef44944a-0a96-43d4-e8f8-08d6d22ed4f7
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 May 2019 14:26:30.1340 (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: BYAPR05MB5608
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-06_09:, , 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=1015 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-1905060124
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/q-c3L2A-kObM-_aMfSVPxKxLf5A>
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 14:26:42 -0000

Tom,

Likewise, how painful would it be to allocate a new next-hop type?

                                                      Ron



Juniper Internal

> -----Original Message-----
> From: Tom Herbert <tom@herbertland.com>
> Sent: Sunday, May 5, 2019 11:10 PM
> 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>
> Subject: Re: [spring] SRv6 Network Programming: ENH = 59
> 
> 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=