Re: [bess] Encoding a 20 bit label in a 24 bit field.

"Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com> Mon, 15 October 2018 23:41 UTC

Return-Path: <jorge.rabadan@nokia.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E9E41200D7 for <bess@ietfa.amsl.com>; Mon, 15 Oct 2018 16:41:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.464
X-Spam-Level:
X-Spam-Status: No, score=-0.464 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.064, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=1.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.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 itYEmAXGMjHf for <bess@ietfa.amsl.com>; Mon, 15 Oct 2018 16:41:41 -0700 (PDT)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0120.outbound.protection.outlook.com [104.47.1.120]) (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 E94CC12008A for <bess@ietf.org>; Mon, 15 Oct 2018 16:41:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FmQ55IDdXyudT028fn+oWFPGt6gjRTRFkEkCP31lDlE=; b=fHVJMgYkzCLaQuukMsc04bLNFx6zL0NBhB/iaPrinIuJUxrOmpsNO9mCcQS3qCVjBq2SEVo9Xwiem0Cg5Yd+648D6Mw9h0kTDXaWOqtyqPvUwIcOh5HqH4KNNElS7GityFEnJ8SFz9FfESBnmTcR6S2uA6ilSXol3wSSaVpYHpQ=
Received: from AM0PR07MB3844.eurprd07.prod.outlook.com (52.134.82.20) by AM0PR07MB4002.eurprd07.prod.outlook.com (52.134.83.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.13; Mon, 15 Oct 2018 23:41:38 +0000
Received: from AM0PR07MB3844.eurprd07.prod.outlook.com ([fe80::6996:3137:3456:ae8]) by AM0PR07MB3844.eurprd07.prod.outlook.com ([fe80::6996:3137:3456:ae8%5]) with mapi id 15.20.1250.019; Mon, 15 Oct 2018 23:41:38 +0000
From: "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
To: "Jakob Heitz (jheitz)" <jheitz@cisco.com>, BESS <bess@ietf.org>
Thread-Topic: [bess] Encoding a 20 bit label in a 24 bit field.
Thread-Index: AQHUZOCdtL95BPb7ykKkMP+1MApI8Q==
Date: Mon, 15 Oct 2018 23:41:38 +0000
Message-ID: <0E8EAD5C-E7E3-4BE6-9F2E-4B617D9D7D37@nokia.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.11.0.180909
x-originating-ip: [201.183.251.213]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM0PR07MB4002; 6:RW0umjZymmy+yF5AbT/XJg3MnqfJgCuXOP/yi07LrIF5q1zYgly4L7xUhOnFqAO4EDZKU67UzE4uHFgUXTe5JyMMzEDyYCjmRttermMt5/9ky03M1vU2FV0qIKrVhkQOt4RnAmsKdRr4w1bNAzUhW3rpHE2P1e7W2loZLzE+VaP7pdIZ9GWqfZTPobwig5AcQKFpNrSSoy3Y6SUSdRipjUhcGu8Xyd1hLl3rhxMy5y+smhm2Uf9dRI/1rX/RvsoD+26V/+ou3BEiPVBET2R20QMzhQIGI5+6SH6PSFZ/ke058EjUbl3c2/IHWTaKdkJIPcMxnbzMU2v5sngolx1C6VE3EbLNnfEDEBX2waUm//InCe20QSDWXps0nU10fCBaDLVGvjnHPzvT8z4Ukfy0Nj1Q3/TV2DMNDVcxmnUHuzjMol53dCPSVpaDJEbzGe6daohSXUhWPW93njm7IdnFIw==; 5:c2Cpc6/OqEl1ZGoQBIUUl4OqViYdH/x6n8OEJGskxAjTwYGo043mze82j/tJ5WzyY8DwF8h1qfmBWqyiQwnjMogxdNBvItqMkAC1Xbgn9ekCQAX448xe4LlR2klZk/8LAaTlcRsCklaYsHd2bUhTQl+0Pqsg9xnDN83q5VgAnLI=; 7:04GGT826pVFwuEna268HO+zcQYFHhJmYdEijc6NrFZvMbtnvUHPH9fW/RmSb1VnhTrmHfupKlobtH6KZNyY7rkUDSHNqoTguA4963Y3olV105uxAuoLSgZcAnwcA0kWaHjTQuOP0oFOfaCbhOFgTrZY/2HfUqtvfUiFA2AaD2WxQ7C93XvEGmlGd35vZwsgXKEifVUH0iPtcQfLuTchnbbOai9YFuB6EXHrJ7iy/1IL93TAfDaxs5+agFKmnVTA1
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 7efb2223-b6d1-4f17-e302-08d632f7c041
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7193020); SRVR:AM0PR07MB4002;
x-ms-traffictypediagnostic: AM0PR07MB4002:
x-microsoft-antispam-prvs: <AM0PR07MB40027B63321FE76B85C9D44DF7FD0@AM0PR07MB4002.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(201166117486090)(154440410675630)(73676662221046)(97927398514766)(138986009662008)(85827821059158)(82608151540597)(195916259791689)(109105607167333)(95692535739014);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(11241501184)(806099)(944501410)(4982022)(52105095)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699051)(76991067); SRVR:AM0PR07MB4002; BCL:0; PCL:0; RULEID:; SRVR:AM0PR07MB4002;
x-forefront-prvs: 0826B2F01B
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(346002)(396003)(376002)(366004)(39860400002)(199004)(189003)(13464003)(14444005)(256004)(25786009)(36756003)(5250100002)(71190400001)(71200400001)(97736004)(83716004)(33656002)(6486002)(6436002)(6306002)(6512007)(58126008)(229853002)(53936002)(305945005)(316002)(3846002)(66066001)(7736002)(6116002)(68736007)(110136005)(99286004)(2906002)(102836004)(6506007)(1720100001)(81156014)(5660300001)(53546011)(8676002)(6246003)(8936002)(2900100001)(81166006)(105586002)(966005)(6346003)(186003)(2616005)(14454004)(476003)(82746002)(478600001)(106356001)(486006)(86362001)(26005); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR07MB4002; H:AM0PR07MB3844.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=jorge.rabadan@nokia.com;
x-microsoft-antispam-message-info: X2WzhCf5JvqAU5PqtFqp3E5isSsHS1R8mBGK7GrdrpLLLz7LKMXRdLzs6A1WfqkIT3ZKaEjKxL8oo3RePDSyDMLIxYFCG4as8g+6hGiIfiBZjn/Sc+Du4xSXF0P9/IeV+ICIfm+Bfnqz8j1uB5kgYUt2O97vwP48V+Aw8U0fD7BMbmooqoO7czD0fG86u86NqJ8ciml6euz0uXowZCCzSEseJd+r3b5DzRUkJW0lNWotzg0AiaVOQCB2+rG4hsIL5ScMZGzy0nU4zEE9qnLspoRdpNseYXz1dn9j49q3z8fwyaOmEln1Q2oheEvNJH4wNmqXD9SM6P5ne/LaiNEg3bZVfIC/MS5lgjWkjwOMfZ9zoAAkiRhvrgqQ6fmfuaeMhLt6In1PleUZPp8II9Ns5Q==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <D986F7D728795745B8923890C49BAB46@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7efb2223-b6d1-4f17-e302-08d632f7c041
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2018 23:41:38.2547 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB4002
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/EOawoY14isrXw2kbp_AcMWvIA64>
Subject: Re: [bess] Encoding a 20 bit label in a 24 bit field.
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Oct 2018 23:41:43 -0000

I personally agree that it is good to make this explicit (although many implementations already interpreted it this way).
Thanks,
Jorge


-----Original Message-----
From: BESS <bess-bounces@ietf.org> on behalf of "Jakob Heitz (jheitz)" <jheitz@cisco.com>
Date: Monday, October 15, 2018 at 3:22 PM
To: BESS <bess@ietf.org>
Subject: [bess] Encoding a 20 bit label in a 24 bit field.

    We have proposed the following erratum for RFC 7432.
    
    Opinions?
    
    Regards,
    Jakob.
    
    
    -----Original Message-----
    From: RFC Errata System <rfc-editor@rfc-editor.org> 
    Sent: Friday, October 12, 2018 12:37 PM
    To: Ali Sajassi (sajassi) <sajassi@cisco.com>; raggarwa_1@yahoo.com; nabil.n.bitar@verizon.com; aisaac71@bloomberg.net; uttaro@att.com; jdrake@juniper.net; wim.henderickx@alcatel-lucent.com; db3546@att.com; aretana.ietf@gmail.com; martin.vigoureux@nokia.com; Giles Heron (giheron) <giheron@cisco.com>; nabil.n.bitar@verizon.com
    Cc: Krishnamoorthy Arumugham (karumugh) <karumugh@cisco.com>; l2vpn@ietf.org; rfc-editor@rfc-editor.org
    Subject: [Technical Errata Reported] RFC7432 (5523)
    
    The following errata report has been submitted for RFC7432,
    "BGP MPLS-Based Ethernet VPN".
    
    --------------------------------------
    You may review the report below and at:
    http://www.rfc-editor.org/errata/eid5523
    
    --------------------------------------
    Type: Technical
    Reported by: Krishnamoorthy Arumugham <karumugh@cisco.com>
    
    Section: 7
    
    Original Text
    -------------
    Clarifications to following sub-sections:
    Section 7.1
    Section 7.2
    Section 7.5
    
    
    Corrected Text
    --------------
    Section 7.1:
    Add below text to the section 7.1 regarding the encoding 
    of MPLS label:
    
    "The value of the 20-bit MPLS label is encoded in the 
    high-order 20 bits of the 3 bytes MPLS Label field."
    
    Section 7.2:
    Add below text to the section 7.2 regarding the encoding
    of both the MPLS label fields:
    
    "The value of the 20-bit MPLS label is encoded in the 
    high-order 20 bits of the 3 bytes MPLS Label field for
    both MPLS Label1 and MPLS Label2."
    
    Section 7.5:
    Add below text to the section 7.5 regarding the encoding
    of ESI Label fields:
    
    "The value of the 20-bit MPLS label is encoded in the 
    high-order 20 bits of the ESI Label field."
    
    
    Notes
    -----
    MPLS label is a 20-bit value and is stored in a 3 bytes field in a packet. The 20-bit MPLS label value is generally stored in higher order 20 bits of the 3 byte label field. The exact encoding to be followed for storing MPLS label values are not explicitly mentioned in the RFC 7432 under section 7.1, 7.2 and 7.5 for different types of EVPN routes. This lead to ambiguity in different implementations. Hence a clarification is required.
    
    Instructions:
    -------------
    This erratum is currently posted as "Reported". If necessary, please
    use "Reply All" to discuss whether it should be verified or
    rejected. When a decision is reached, the verifying party  
    can log in to change the status and edit the report, if necessary. 
    
    --------------------------------------
    RFC7432 (draft-ietf-l2vpn-evpn-11)
    --------------------------------------
    Title               : BGP MPLS-Based Ethernet VPN
    Publication Date    : February 2015
    Author(s)           : A. Sajassi, Ed., R. Aggarwal, N. Bitar, A. Isaac, J. Uttaro, J. Drake, W. Henderickx
    Category            : PROPOSED STANDARD
    Source              : Layer 2 Virtual Private Networks
    Area                : Routing
    Stream              : IETF
    Verifying Party     : IESG
    
    _______________________________________________
    BESS mailing list
    BESS@ietf.org
    https://www.ietf.org/mailman/listinfo/bess