Re: [bess] Mail regarding draft-ietf-bess-rfc7432bis

Greg Mirsky <gregimirsky@gmail.com> Tue, 06 February 2024 14:08 UTC

Return-Path: <gregimirsky@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 DD390C14F714; Tue, 6 Feb 2024 06:08:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FhVG27bF0ugk; Tue, 6 Feb 2024 06:08:24 -0800 (PST)
Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B27A4C14F6F2; Tue, 6 Feb 2024 06:08:17 -0800 (PST)
Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-dc6e0fe3195so4791202276.0; Tue, 06 Feb 2024 06:08:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707228496; x=1707833296; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PE7xe58Yi7uKkOjMZTf6gHGeCtFwX6YD7Jmbdz2S4D8=; b=i0HbMw9OAUA7FnDLdOWPRq+puAQSKGse9qyLYl4bQ2c4h8uc67qPgP6AEadItkCGOs QD50YiLj/3YbIVTPHYiCD2ThD/jSgXS5bcTeVkKKtyHgOQp1LmM3ezk5HEREltcjDWmQ 7G1zrNRxGFN5F7hlJK/CYk8IuGMrMfFx0vEQ01uQlH02rIF1Ul8IBZ/zS7FmPmuC6WAd kFUR1QZvG5CJUMzhR2A8Nzp1pShp5dp8NNvz18hx5d4ylPvlUCJ6pFj1BmuN+89wvXi3 RNFDv8bkYADLSp7I0StgEAfiXvnVtsu3vgIZAtprtVrsU0e/5yH1LC3MrrgbEmJ+9GW0 IrLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707228496; x=1707833296; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PE7xe58Yi7uKkOjMZTf6gHGeCtFwX6YD7Jmbdz2S4D8=; b=TU9J0gAL6XPSg41WW4li5OTdhNf70VRLd2YuBlhMfL4BWp/PmfTr1WcpLzUkp/fKPv NqF1HHt3Oiioy1ZRAlVo3730EbE1FMeEodDwP2hT/pTpGibmRDwn79trfir/UC0brd35 J8tRQ2yMTjML6cTVBflWU0gvDz4+CSXe67392O3j38cv8ZKMMdd6DCBDllK1IGtdNkpw bDmyvkNR/NDH9vHOCiiM9PZ4Awod390vyDba923Dwmv5Ofpfb7fnqigY39xLicZqSAe+ Fgcw27V55hyuUM+gGfpXG/epD0K6o720FkfMcxBmbySahNortIrAcmr2QFwwTWdZ29ct aYsw==
X-Gm-Message-State: AOJu0Yw1XYJfZwXfne6F+yWiZf7uWrICqCaufj6k0tfbnrBEEF8uP6yq W10D4G/45C5sK7dXcWZKkZ/imqqLJvLIinb/fbQ/Vwe5SI7y55imawt30cTKsfJRYhGJ8fk6XRx Sy9VNS90QOXq0HYjbWnn26PCm1CY=
X-Google-Smtp-Source: AGHT+IETgWxe9T6T7joFGt7sfmvE3R8yrmGq5nZPQzyN71nGL7Zp4tlzNYzV9LRT/piZhw7kkxUVRt/seTY5Yg40AyU=
X-Received: by 2002:a25:86c8:0:b0:dc2:48af:bf0c with SMTP id y8-20020a2586c8000000b00dc248afbf0cmr1346570ybm.63.1707228496381; Tue, 06 Feb 2024 06:08:16 -0800 (PST)
MIME-Version: 1.0
References: <AM6PR07MB4021B435230C58C7F2A0723CEB6C2@AM6PR07MB4021.eurprd07.prod.outlook.com> <AS4PR07MB8536542EA4392E45033AC815EB7D2@AS4PR07MB8536.eurprd07.prod.outlook.com> <AM9PR08MB60045D25ADE5EAC5B1B139A1D5402@AM9PR08MB6004.eurprd08.prod.outlook.com> <SJ0PR11MB57706893F6F20CBEE59A5DBFB0472@SJ0PR11MB5770.namprd11.prod.outlook.com> <AM9PR08MB60043F20642FFB1196C54F37D5472@AM9PR08MB6004.eurprd08.prod.outlook.com> <SJ0PR11MB57708F52F86D9F6CBC354587B0472@SJ0PR11MB5770.namprd11.prod.outlook.com>
In-Reply-To: <SJ0PR11MB57708F52F86D9F6CBC354587B0472@SJ0PR11MB5770.namprd11.prod.outlook.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Tue, 06 Feb 2024 06:08:06 -0800
Message-ID: <CA+RyBmVe-sLHcLefZnkDTrQejs+W+f1RYitXadjCxCMNpKb71Q@mail.gmail.com>
To: "Ali Sajassi (sajassi)" <sajassi=40cisco.com@dmarc.ietf.org>
Cc: Menachem Dodge <mdodge@drivenets.com>, "Matthew Bocci (Nokia)" <matthew.bocci=40nokia.com@dmarc.ietf.org>, "draft-ietf-bess-rfc7432bis@ietf.org" <draft-ietf-bess-rfc7432bis@ietf.org>, "bess-chairs@ietf.org" <bess-chairs@ietf.org>, "bess@ietf.org" <bess@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000013cc570610b71c6b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/xZoENrY_kWsdbUQK1seLculXxA8>
Subject: Re: [bess] Mail regarding draft-ietf-bess-rfc7432bis
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.39
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: Tue, 06 Feb 2024 14:08:28 -0000

Hi Ali and Menachem,
thank you for the discussion of the applicability of PW CW. I would like to
bring to your attention the work at the MPLS WG on the use of the Post-stack
First Nibble (PFN).
<https://www.ietf.org/archive/id/draft-ietf-mpls-1stnibble-02.txt> I must
apologize that the draft has lapsed. The authors are finalizing updates,
and the new version will be uploaded before IETF-119. It seems like one of
the key updates in this draft, the intention to deprecate and ultimately
obsolete cases where a non-IP payload encapsulated in MPLS without the
presence of a Post-Stack Header (e.g., PW CW) is relevant to
this discussion. I've asked for a presentation slot at the BESS WG session
in Brisbane to share the update on this work.

Regards,
Greg

On Mon, Feb 5, 2024 at 10:06 AM Ali Sajassi (sajassi) <sajassi=
40cisco.com@dmarc.ietf.org> wrote:

> Hi Menachem,
>
>
>
> The use of control word is not mandatory and it is situation dependent.
> Both RFC 7432 (and now bis) and RFC 8469 (which is basically elaboration of
> section 18 of RFC7432/bis) mention that the control word is not needed when
> there is no chance of packet re-ordering – e.g., when underlay tunnel is
> RSVP-TE. Also, when the network (inclusive of all PE and P nodes) uses
> Entropy Label, then there is no chance of re-ordering either. So, we are
> just saying that in scenarios where there is no chance of packet
> re-ordering, then control word is not needed (to avoid packet re-ordering)
> – i.e. no need to tax the packet with additional 4 bytes.
>
>
>
> So, I was suggesting the text to be clarified as follow:
>
>
>
>    - If a network (inclusive of both PE and P nodes) uses entropy labels
>    per [RFC6790] for ECMP load balancing, then the control word MAY NOT be
>    used.
>
>
>
> This means if the operators still want to use the control word with EL,
> then they still can!
>
>
>
> Cheers,
>
> Ali
>
>
>
>
>
> *From: *Menachem Dodge <mdodge@drivenets.com>
> *Date: *Monday, February 5, 2024 at 5:55 AM
> *To: *Ali Sajassi (sajassi) <sajassi@cisco.com>, Matthew Bocci (Nokia)
> <matthew.bocci=40nokia.com@dmarc.ietf.org>,
> draft-ietf-bess-rfc7432bis@ietf.org <draft-ietf-bess-rfc7432bis@ietf.org>
> *Cc: *bess-chairs@ietf.org <bess-chairs@ietf.org>, bess@ietf.org <
> bess@ietf.org>
> *Subject: *Re: Mail regarding draft-ietf-bess-rfc7432bis
>
> Hello Ali,
>
>
>
> Thank you kindly for your response.
>
>
>
> The question that Mathew and I raised, is why make the control-word
> dependent on the presence of the Entropy Label (per RFC6790)?
>
>
>
> Transit Routers may or may not perform their load balancing based on the
> Entropy Label.
>
> Some transit routers do perform deep packet inspection whether or not the
> Entropy Label is present (whether or not it is needed),
> in which case the presence of the control-word is important.
>
>
>
> Why not let the network administrator decide whether a control-word should
> be present?
>
>
>
> Mathew wrote as follows, see also that the CW can be included for
> additional reasons and the reference to RFC8649:
>
> “*The head end PE has no idea what hashing mechanism is actually used
> downstream, regardless of whether the entropy label is inserted by it. The
> entropy label is just there to provide additional flow information if the
> downstream P router is load balancing based on the label stack, but it does
> not in itself prevent the P router from scanning below the bottom of stack
> and instead load balancing on the payload after checking the MPLS first
> nibble. This also seems to be superseded by RFC8469 and all the discussion
> over the years about making CW mandatory for MPLS-based services . It is
> also worth noting that CW is not just to prevent aliasing between IP and
> Ethernet traffic, but can be used to indicate OAM or other types of
> maintenance packets**.”*
>
>
>
> So, we were suggesting that the text be removed, to remove the dependency
> between the Entropy label and the control-word.
>
>
>
> And then, we would need an errata for RFC 8214 to remove the following text:
>
>   “If a network uses entropy labels per [RFC6790 <https://datatracker.ietf.org/doc/html/rfc6790>], then the C Flag
>
>    MUST NOT be set, and the control word MUST NOT be used when sending
> EVPN-encapsulated packets over a P2P LSP.”
>
>
>
> Appreciate your inputs in understanding if there is indeed a reason for
> the dependency between the Entropy Label (per RFC6790) and the CW.
>
>
>
> Thank you kindly.
>
>
>
> Best Regards,
>
> Menachem
>
>
>
>
>
> *From: *Ali Sajassi (sajassi) <sajassi@cisco.com>
> *Date: *Monday, 5 February 2024 at 7:52
> *To: *Menachem Dodge <mdodge@drivenets.com>, Matthew Bocci (Nokia)
> <matthew.bocci=40nokia.com@dmarc.ietf.org>,
> draft-ietf-bess-rfc7432bis@ietf.org <draft-ietf-bess-rfc7432bis@ietf.org>
> *Cc: *bess-chairs@ietf.org <bess-chairs@ietf.org>, bess@ietf.org <
> bess@ietf.org>
> *Subject: *Re: Mail regarding draft-ietf-bess-rfc7432bis
>
> CAUTION: External E-Mail - Use caution with links and attachments
>
>
>
> Hi Matthew, Menachem:
>
>
>
> The text in the yellow says: “If a network uses entropy labels per
> [RFC6790]” …
>
> It should be noted that the word “network” is used which is inclusive of
> all the PE and P nodes in that network. So, if the network uses entropy
> labels and does ECMP based on that, then there shouldn’t be a need for
> control word. However, I don’t mind changing it from “SHOULD NOT” to “MAY
> NOT”.
>
>
>
> Cheers,
>
> Ali
>
>
>
> *From: *Menachem Dodge <mdodge@drivenets.com>
> *Date: *Sunday, February 4, 2024 at 12:39 AM
> *To: *Matthew Bocci (Nokia) <matthew.bocci=40nokia.com@dmarc.ietf.org>,
> draft-ietf-bess-rfc7432bis@ietf.org <draft-ietf-bess-rfc7432bis@ietf.org>
> *Cc: *bess-chairs@ietf.org <bess-chairs@ietf.org>, bess@ietf.org <
> bess@ietf.org>
> *Subject: *Re: Mail regarding draft-ietf-bess-rfc7432bis
>
> Hello Mathew,
>
>
>
> Just wondering if you received a response to your email, as I have not
> seen any responses to either of our emails on the list.
>
>
>
> Thank you kindly.
>
>
>
> Best Regards,
>
> Menachem
>
>
>
> *From: *BESS <bess-bounces@ietf.org> on behalf of Matthew Bocci (Nokia)
> <matthew.bocci=40nokia.com@dmarc.ietf.org>
> *Date: *Tuesday, 30 January 2024 at 17:42
> *To: *draft-ietf-bess-rfc7432bis@ietf.org <
> draft-ietf-bess-rfc7432bis@ietf.org>
> *Cc: *bess-chairs@ietf.org <bess-chairs@ietf.org>, bess@ietf.org <
> bess@ietf.org>
> *Subject: *Re: [bess] Mail regarding draft-ietf-bess-rfc7432bis
>
> CAUTION: External E-Mail - Use caution with links and attachments
>
>
>
> Hi Authors
>
>
>
> Resending this and including the WG. I believe this is a similar question
> to the one posted by Menachem on RFC8214.
>
>
>
> Thanks in advance
>
>
>
> Matthew
>
>
>
> *From: *Matthew Bocci (Nokia) <matthew.bocci@nokia.com>
> *Date: *Monday, 15 January 2024 at 12:40
> *To: *draft-ietf-bess-rfc7432bis@ietf.org <
> draft-ietf-bess-rfc7432bis@ietf.org>
> *Cc: *bess-chairs@ietf.org <bess-chairs@ietf.org>
> *Subject: *Mail regarding draft-ietf-bess-rfc7432bis
>
> Hi Authors
>
>
>
> There is there following restriction (highlighted in yellow) on the use of
> the control word in EVPN where the EL/ELI is used. I know this was
> inherited from RFC7432, but do you know why this is the case (in particular
> a SHOULD NOT)?
>
>
>
> The head end PE has no idea what hashing mechanism is actually used
> downstream, regardless of whether the entropy label is inserted by it. The
> entropy label is just there to provide additional flow information if the
> downstream P router is load balancing based on the label stack, but it does
> not in itself prevent the P router from scanning below the bottom of stack
> and instead load balancing on the payload after checking the MPLS first
> nibble. This also seems to be superseded by RFC8469 and all the discussion
> over the years about making CW mandatory for MPLS-based services . It is
> also worth noting that CW is not just to prevent aliasing between IP and
> Ethernet traffic, but can be used to indicate OAM or other types of
> maintenance packets.
>
>
>
> Can we just remove the text in yellow?
>
>
>
> Thanks
>
>
>
> Matthew
>
>
>
>
>
> In order to avoid frame misordering described above, the following
>
>    network-wide rules are applied:
>
>
>
>    *  If a network uses deep packet inspection for its ECMP, then the
>
>       the following rules for "Preferred PW MPLS Control Word" [RFC4385]
>
>       apply:
>
>
>
>       -  It MUST be used with the value 0 (e.g., a 4-octet field with a
>
>          value of zero) when sending unicast EVPN-encapsulated packets
>
>          over an MP2P LSP.
>
>
>
>       -  It SHOULD NOT be used when sending EVPN-encapsulated packets
>
>          over a P2MP or P2P RSVP-TE LSP.
>
>
>
>       -  It SHOULD be used with the value 0 when sending EVPN-
>
>          encapsulated packets over a mLDP P2MP LSP.  There can be
>
>          scenarios where multiple links or tunnels can exist between two
>
>          nodes and thus it is important to ensure that all packets for a
>
>          given flows take the same link (or tunnel) between the two
>
>          nodes.
>
>
>
>    *  If a network uses entropy labels per [RFC6790], then the control
>
>       word SHOULD NOT be used.
>
>
>
>
> _______________________________________________
> BESS mailing list
> BESS@ietf.org
> https://www.ietf.org/mailman/listinfo/bess
>