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

Jeff Tantsura <jefftant.ietf@gmail.com> Mon, 15 October 2018 23:55 UTC

Return-Path: <jefftant.ietf@gmail.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 8C8E3124C04 for <bess@ietfa.amsl.com>; Mon, 15 Oct 2018 16:55:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 rbHyR1-Q53O8 for <bess@ietfa.amsl.com>; Mon, 15 Oct 2018 16:55:23 -0700 (PDT)
Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (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 3785B1200D7 for <bess@ietf.org>; Mon, 15 Oct 2018 16:55:23 -0700 (PDT)
Received: by mail-pl1-x62e.google.com with SMTP id 1-v6so10046822plv.7 for <bess@ietf.org>; Mon, 15 Oct 2018 16:55:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version; bh=YnDiJDEFoIyPhLpwwVTLxcvV+PJi5/gFnPJlSQ5dwJg=; b=Giw7EVerIqozYEgAUEIpNhnzdncMrF76DL8pnthmHbxvi+db0jA8wCzb85FzBSI9kU TH+0FBnpFy6YYfgJuTtCfZX3T2p9lleDZsD/4RvqOytfV3WP3rJMchERm6skU+YUfiBY IVHSDaqHS1N4nhr4B1bD4fwidgs860EcprewVvsmcJL1K3ByARFd/LS80ET9015ZuMfT phKdehfwGtIJ7LHrt2/7U6F3lgUq1GgVZZQSxHXKtJgxm7IsZ6GVpD0zH9wUzMI6+OhA ycAfzBTRCvgfY+isicGYyQobB8xSMn3FWYPtu8ScwqQ2R+vaDYUD1c66sM3EiOR/7Cv4 1nVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version; bh=YnDiJDEFoIyPhLpwwVTLxcvV+PJi5/gFnPJlSQ5dwJg=; b=n0RgFBfSyuXHlMha8y472W3bGP7T0VG25ZtMVvRAk7B9B9XR8cZi20jR7bf7I6oqjg rzbuWMymuJbqRgi/ODUurkQ3KTpaFWY10x8zw1ai8bICcYXFG41c1K8gO9SW/kc1S1Ku t9GF4JanQ51UtbBfoMildTGnkbzj4NexHe3LHokHn7X94mZiBi2/B1gIZ+zAEKDixS+a CjK5/pDZDNfCBeg0/laJdkWM7sStY6bELqDfBinXi854qQ/LF7LzpCpnY7HGfzha2eR0 uNHyp4q7ZFSrDCn07NZDacnr+Pa1HuA1DbSHH0baq+xQJNruFBlZeonqOSYXMfC6TdtF xmUA==
X-Gm-Message-State: ABuFfoi2sp/fUjTFECvnFkfhnbDnc8n/up8WErhmyul7P9WMiFZ+2GSN TXGz31BVrjDcdZVlZt8w9Sk=
X-Google-Smtp-Source: ACcGV63adKqNm3rQmFNbBGIgTanA4X9CPAys4z7OrRKmqi2sAWqLH7sAsZBm57pfcGfciJM5xIZ/rw==
X-Received: by 2002:a17:902:4e25:: with SMTP id f34-v6mr11540976ple.43.1539647722746; Mon, 15 Oct 2018 16:55:22 -0700 (PDT)
Received: from [10.5.5.194] ([12.12.156.34]) by smtp.gmail.com with ESMTPSA id s2-v6sm15865858pfk.133.2018.10.15.16.55.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Oct 2018 16:55:21 -0700 (PDT)
Date: Mon, 15 Oct 2018 16:55:15 -0700
From: Jeff Tantsura <jefftant.ietf@gmail.com>
To: "Jakob Heitz (jheitz)" <jheitz@cisco.com>, BESS <bess@ietf.org>, "Rabadan, Jorge (Nokia - US/Mountain View)" <jorge.rabadan@nokia.com>
Message-ID: <331b0259-89fb-4b5c-80bd-482c10b64c47@Spark>
In-Reply-To: <0E8EAD5C-E7E3-4BE6-9F2E-4B617D9D7D37@nokia.com>
References: <0E8EAD5C-E7E3-4BE6-9F2E-4B617D9D7D37@nokia.com>
X-Readdle-Message-ID: 331b0259-89fb-4b5c-80bd-482c10b64c47@Spark
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="5bc528e8_22221a70_4f6d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/bDLo4JAu-KSzYg_DCp6vN5LWmM4>
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:55:26 -0000

+1

Cheers,
Jeff
On Oct 15, 2018, 4:41 PM -0700, Rabadan, Jorge (Nokia - US/Mountain View) <jorge.rabadan@nokia.com>, wrote:
> 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
>
>
> _______________________________________________
> BESS mailing list
> BESS@ietf.org
> https://www.ietf.org/mailman/listinfo/bess