Re: [bess] PFN questions in rfc4732bis

Greg Mirsky <gregimirsky@gmail.com> Fri, 29 March 2024 19:07 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 2DA8AC14F614; Fri, 29 Mar 2024 12:07:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.094
X-Spam-Level:
X-Spam-Status: No, score=-7.094 tagged_above=-999 required=5 tests=[AC_DIV_BONANZA=0.001, 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, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JdjumnG3aNhS; Fri, 29 Mar 2024 12:07:39 -0700 (PDT)
Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (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 BBFCAC14F5FB; Fri, 29 Mar 2024 12:07:39 -0700 (PDT)
Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-614555c384eso5794267b3.1; Fri, 29 Mar 2024 12:07:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711739258; x=1712344058; 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=xA5rJ6WSznM6thtBxOrtTRJ3ergVtdcO7u+r12lYJ/U=; b=EyaXT65jIXP5vArPPWJa0r/edpbmIZDovKxu5uPvAOckoGFdTtU/8Dsn8xHw5NuL/2 pFGgUV392i/1m4sNKpk8mVexAhkdsX1Ips6+8srQKH3Jx+CDGRBmz3v9lMRwl4VF3FBy Y8pHL/wY3AkKFTjb8Z7OY1Cw94w6iN+LaKIDcVxzr2Vzi6xCzSwFjLnmzEW4ESvCjtTr tFuoABwiTnbSz4q/qmxnFPYEHJzEBhCE83FCZaU+d8f9hlTWmhhwX9sIhDrBsN+Nt+cr qrDt/VfahcZmtqr0rST756z6g58twGNMTsHfIcxZgq6u4EdVqyxokgN6CzFlzNrR6sj3 tbaw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711739258; x=1712344058; 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=xA5rJ6WSznM6thtBxOrtTRJ3ergVtdcO7u+r12lYJ/U=; b=ZgFi9YsOtIpZ1JNAr+UrFUZ8s3yWhDdidSKqHVIEMamNFnV9QQCvXPiXgF9Yo5xg4z SpMyTXLjyM+P5o/MfJS4FT8gz/z3rh5Mm6L9RPo2/d/QSXB3x1b9zc1qD1X2JH55hTyW N/uYnHkhF7OYh+TZVIYhmFgu3zPldzjdkYGgZFbfLlHNj6mZw+7Oq2vCkacMgYFXzHlQ x0+HfaBKYRyu5S1BsjvUrDTeiDRNWU0XN6DvbPJh8OODrS/wzT+GgZhM+/Ws5Mwd0LHt QYL1tpN2oMpFIFoPFjsiWeakowJY0T9Vwcm1xd09+7eT7zRQSClJD8qANBy1Rj2INQRv uK7A==
X-Forwarded-Encrypted: i=1; AJvYcCXfO8Lodm1o4mJlHse8+S9e0fdpsexvyiXBI7fz/19PuPY62MPEoracrGwsEyiETw+kz7BOX8moErh7NqSLgVJRPI0GPV6tKg7J9/RE9/tCNhEffq0vawKedkh96ekFEUdMsCksYKWG85/me7qEr1MzGuIk0Ymx18iY+QdKvQnAJdMHyrI70l+KHt5hkBcr9aGnl3ElmE0jLnErLV2KuSw1syD1wKF344in+Me3rl1xR2If
X-Gm-Message-State: AOJu0YyhIwUcjaHvSzV//greG4GQwlINKiYWRNNSynjiy0rQSVK9cTkQ CMdhYci/o8yeBJVomdF42D3O5uelQe0ggkTj0hsO2jvZogq/WexiAg6xFCW/iEwVn1Y3dp9lEc4 lZjW2GEEzogBCJDclTn5+Rz5trrA=
X-Google-Smtp-Source: AGHT+IGKNSH4rD727LLR5Bj5epL4IY1iBhiIRJ2jqEVKWvwyemzeZd8l+U0EEU110aZqoBYt5dIo0u2b/ca9E0c+MN4=
X-Received: by 2002:a25:8141:0:b0:dc6:e4f8:7e22 with SMTP id j1-20020a258141000000b00dc6e4f87e22mr2768803ybm.62.1711739258322; Fri, 29 Mar 2024 12:07:38 -0700 (PDT)
MIME-Version: 1.0
References: <CA+RyBmXGC0Yz+UcXKtM5n0WHudpeuh5XvGYJ+WvGB2L6aa--qA@mail.gmail.com> <DS7PR08MB686229D6A591573C55DAB04AF7322@DS7PR08MB6862.namprd08.prod.outlook.com> <CA+RyBmVahqefa1bv7EZ5rspLkJkZgaf7aKa0A-zCBa3KVbQZTQ@mail.gmail.com> <AM9PR08MB60040F8CD5002D921DA84A7BD53A2@AM9PR08MB6004.eurprd08.prod.outlook.com>
In-Reply-To: <AM9PR08MB60040F8CD5002D921DA84A7BD53A2@AM9PR08MB6004.eurprd08.prod.outlook.com>
From: Greg Mirsky <gregimirsky@gmail.com>
Date: Fri, 29 Mar 2024 12:07:26 -0700
Message-ID: <CA+RyBmWq=HzPrPe0=YJP+t697Q6V7ehbZZobC0FjiTJJhJqG+g@mail.gmail.com>
To: Menachem Dodge <mdodge@drivenets.com>
Cc: "Jorge Rabadan (Nokia)" <jorge.rabadan@nokia.com>, "draft-ietf-bess-rfc7432bis@ietf.org" <draft-ietf-bess-rfc7432bis@ietf.org>, "draft-ietf-mpls-1stnibble@ietf.org" <draft-ietf-mpls-1stnibble@ietf.org>, MPLS Working Group <mpls-chairs@ietf.org>, "bess-chairs@ietf.org" <bess-chairs@ietf.org>, "bess@ietf.org" <bess@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000070cb9e0614d15a05"
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/_pgNUyFSBPSBhOdnx3OtIQ8KEro>
Subject: Re: [bess] PFN questions in rfc4732bis
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: Fri, 29 Mar 2024 19:07:44 -0000

Hi Menachem,
thank you for sharing your thoughts on the proposed updates. Please find my
follow-up notes below tagged GIM2>>.

Regards,
Greg

On Fri, Mar 29, 2024 at 6:17 AM Menachem Dodge <mdodge@drivenets.com> wrote:

> Hello Greg, Jorge, All,
>
>
>
> I support these changes.
>
>
>
> In section 7.11.1 it is the previos reference to the Control Word that
> needs to be modified:
>
>
>
>
>
> *OLD TEXT*
>
> The EVPN L2-Attr Extended Community, when added to Inclusive
>
>    Multicast route:
>
>     *   per-EVI attributes MTU, Control Word and Flow Label are conveyed,
>
>       and;
>
>
>
>    *  per-ESI-and-EVI attributes P, B MUST be zero.
>
>
>
> *NEW TEXT*
>
>
>
> The EVPN L2-Attr Extended Community, when added to Inclusive
>
>    Multicast route:
>
>     *   per-EVI attributes MTU, Control Word (SHOULD be set to 1) and Flow Label are conveyed,
>
>       and;
>
>
>
>    *  per-ESI-and-EVI attributes P, B MUST be zero.
>
> GIM2>> Thank you for proposing the update. I have a question about the use
of the normative language. The intention of draft-ietf-mpls-1stnibble is to
deprecate the use of non-CW encapsulations of non-IP payload. Do you think
that the note can be changed to '(MUST be set to 1)' to conform to
draft-ietf-mpls-1stnibble?

>
>
>
>
> As Jorge mentioned, when the EVPN L2-Attr Extended Community is included on Ethernet A-D per
>
>    EVI route then the MTU, Control Word and Flow Label are not in use so that is why “they MUST be zero”,
>
>  in the second reference to these bits in Section 7.1.1
>
> GIM2>> Could you kindly help me understand this case? Does "Control Word
is not in use" mean that it is not checked, i.e., ignored? If that is the
case, then I agree with Jorge and you.

>
>
> ============
>
> In addition to what you have written below on Section 18:
>
>
>
> In my opinion, the following sentence should either be removed or updated:
>
>
>
>
>
> *OLD TEXT*
>
>
>
> If a network (inclusive of all PE and P nodes) uses entropy labels
>
>       per [RFC6790] for ECMP load balancing, then the control word MAY
>
>       NOT be used.
>
>
>
> *NEW TEXT*
>
> If a network (inclusive of all PE and P nodes) uses entropy labels
>
>       per [RFC6790] for ECMP load balancing, then the control word SHOULD still
>
>       be used.
>
> GIM2>> Thank you for pointing this out. I think that the source of entropy
information, e.g., entropy label, PW FAT, label stack, or something else,
must not be linked to the use of CW. I think that the sentence can be
removed altogether without loss of any value. WDYT?

>
>
>
>
> ===============
>
>
>
> In addition RFC 8214 needs to be addressed. This was also mentioned at the
> IETF Meeting in Brisbane.
>
>
>
>
>
> Thank you kindly.
>
>
>
> Best Regards,
>
> Menachem
>
>
>
>
>
>
>
> *From: *BESS <bess-bounces@ietf.org> on behalf of Greg Mirsky <
> gregimirsky@gmail.com>
> *Date: *Friday, 22 March 2024 at 3:07
> *To: *Jorge Rabadan (Nokia) <jorge.rabadan@nokia.com>
> *Cc: *draft-ietf-bess-rfc7432bis@ietf.org <
> draft-ietf-bess-rfc7432bis@ietf.org>, draft-ietf-mpls-1stnibble@ietf.org <
> draft-ietf-mpls-1stnibble@ietf.org>, MPLS Working Group <
> mpls-chairs@ietf.org>, bess-chairs@ietf.org <bess-chairs@ietf.org>,
> bess@ietf.org <bess@ietf.org>
> *Subject: *Re: [bess] PFN questions in rfc4732bis
>
> CAUTION: External E-Mail - Use caution with links and attachments
>
>
>
> Hi Jorge,
>
> thank you for your expedient feedback to the proposed updates. I have
> several follow-up notes logged below under the GIM>> tag.
>
>
>
> Regards,
>
> Greg
>
>
>
> On Fri, Mar 22, 2024 at 9:30 AM Jorge Rabadan (Nokia) <
> jorge.rabadan@nokia.com> wrote:
>
> Hi Greg,
>
>
>
> Thanks for getting back.
>
> My comments in line with [jorge].
>
>
>
> Jorge
>
>
>
> *From: *Greg Mirsky <gregimirsky@gmail.com>
> *Date: *Thursday, March 21, 2024 at 2:41 AM
> *To: *draft-ietf-bess-rfc7432bis@ietf.org <
> draft-ietf-bess-rfc7432bis@ietf.org>, draft-ietf-mpls-1stnibble@ietf.org <
> draft-ietf-mpls-1stnibble@ietf.org>, MPLS Working Group <
> mpls-chairs@ietf.org>, bess-chairs@ietf.org <bess-chairs@ietf.org>
> *Subject: *PFN questions in rfc4732bis
>
>
>
> *CAUTION:* This is an external email. Please be very careful when
> clicking links or opening attachments. See the URL nok.it/ext
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__nok.it_ext&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=cezglEhs6Oa_CKN9mhFbT8T8kmWwaNdtBDjE9bvBG_E&m=f9mqEJ1P1fyT-GceDqOAwZOtLN9vYtkDjjIhXGhqATDiV_HIDj6ioNdEIGZ1iG6E&s=qeFSRuebBlU8uRxuQl7EpShgZo-ty14SWIfLtA9OWLQ&e=>
> for additional information.
>
>
>
> Dear All,
>
> following the presentation of our work on the Post-stack First Nibble
> (PFN) to the BESS WG at IETF-119, I took an AP to come with questions and
> proposals for the authors of rfc4732bis. I thought that once the authors of
> the respective drafts converge on the updates, we share them with the BESS
> WG. Below, please find my notes:
>
> ·         rfc4732bis recognizes MPLS Entropy label as a source of entropy
> for load-balancing. 1stnibble draft also refers to RFC 6391
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__datatracker.ietf.org_doc_rfc6391_&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=cezglEhs6Oa_CKN9mhFbT8T8kmWwaNdtBDjE9bvBG_E&m=f9mqEJ1P1fyT-GceDqOAwZOtLN9vYtkDjjIhXGhqATDiV_HIDj6ioNdEIGZ1iG6E&s=5OAGJEbhyQZ_lv9PWvOvDTUQ7LGgMT9hpw9B5wXj4VQ&e=>
> as another optional source of the entropy for load-balancing. Would it be
> helpful adding a refgerence to RFC 6391 in the discussion of the
> load-balancing in rfc4732bis?
>
> [jorge] that should be fine.
>
> ·         The definition of the C flag in Section 7.11 is as follows:
>
>        C        If set to 1, a control word [RFC4448] MUST be present
>
>                 when sending EVPN packets to this PE.  It is
>
>                 recommended that the control word be included in the
>
>                 absence of an entropy label [RFC6790].
>
> To reflect the position expressed in the 1stnibble draft, perhaps the
> following update is appropriate:
>
> NEW TEXT:
>
>        C        If set to 1, a control word [RFC4448] MUST be present
>
>                 when sending EVPN packets to this PE.
>
> END
>
> [jorge] I personally see no issue with the above update if the other
> co-authors are ok too.
>
> ·         Furthermore, the following update may be considered in Section
> 7.11.1:
>
> OLD TEXT:
>
>    *  per-ESI-and-EVI attributes P, B are conveyed, and;
>
>
>
>    *  per-EVI attributes MTU, Control Word and Flow Label MUST be zero.
>
> NEW TEXT:
>
>    *  per-ESI-and-EVI attributes P, B are conveyed;
>
>
>
>    *  per-EVI attributes MTU, and Flow Label MUST be zero, and;
>
>
>
>    *  per-EVI attribute Control Word MUST be set.
>
> [jorge] I don’t think the above change is correct. The reason is this
> refers to the L2 attributes extended community sent along with the AD per
> EVI routes in EVPN ELAN services (not EVPN VPWS), and this route is purely
> used for multi-homing. The non-multihoming related attributes MUST be zero,
> since they are signaled along with the inclusive multicast ethernet tag
> route. So the current text is correct.
>
> GIM>> I acknowledge that the use of the Control Word in this scenario that
> I am not familiar with. The motivation for proposing this update is based
> on my itnerpretation of the definition of the C flag in Section 7.11 (see
> above) and the intention of the draft-ietf-mpls-1stnibble to deprecate the
> use of non-PSH encapsulations of non-IP payload. As I understand the
> current text in question, by setting the Control Word to zero the control
> plane will produce packets without PSH (PW CW). If that is correct, then
> that is precisely what our work on the PFN aims to exclude.
>
>
>
> ·         The text in Section 18, following the first paragraph, may be
> replaced with the following text:
>
> NEW TEXT:
>
> In order to avoid frame misordering described in the above paragraph,
>
> and following conclusions of [I-D.ietf-mpls-1stnibble], the control word
>
> MUST be used in all use cases.
>
> END
>
> [jorge] so basically you are suggesting to use CW always and use MUST as
> normative language, irrespective of a) the underlaying transport, b)
> whether entropy label is used and c) whether deep packet inspection for
> ECMP is used. The only problem that I see is that, till now,
> implementations not supporting CW were still compliant with RFC7432 and
> this bis draft. Now it would not be the case anymore.
>
> I personally think it might be better to use a SHOULD, e.g.:
>
> NEW:
>
> In order to avoid frame misordering described in the above paragraph,
>
> the control word SHOULD be used in all use cases
>  [I-D.ietf-mpls-1stnibble].
>
> END
>
>
>
> But I’d like to hear from other coauthors and the BESS WG to see if this
> is ok.
>
> Finally, if we were to add [I-D.ietf-mpls-1stnibble] as a reference, it
> would be an informative reference.
>
> GIM>> We've used SHOULD in RFC 8469
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__datatracker.ietf.org_doc_html_rfc8469&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=cezglEhs6Oa_CKN9mhFbT8T8kmWwaNdtBDjE9bvBG_E&m=f9mqEJ1P1fyT-GceDqOAwZOtLN9vYtkDjjIhXGhqATDiV_HIDj6ioNdEIGZ1iG6E&s=TWTOL85TMzc33zd31_A7GIj_GuBBrPesJZflBXCJ3DQ&e=>,
> and believe that it is time to deprecate the practice of non-PSH
> encapsulation of non-IP payload in MPLS altogether, and use PSH/CW in all
> scenarios for non-IP payload. I'll note that the deprecation, as defined in
> draft-ietf-mpls-1stnibble, applies only to new deployments and
> implementations. (I believe that an intellegent implementation that
> supports non-PSH(non-CW) encapsulation is also capable of using PW CW
> encapsulation.)
>
>
>
> Please share you questions, comments, and suggestions.
>
>
>
> Regards,
>
> Greg
>
>
> ------------------------------
>
> This email has been scanned for spam and viruses by Proofpoint Essentials.
> Click here
> <https://eu1.proofpointessentials.com/app/report_spam.php?mod_id=11&mod_option=logitem&report=1&type=easyspam&k=k1&payload=53616c7465645f5f60f15747fb7908c8fb419e6513cfbff7920b0b9e085ea8edb750e951101ff33b78e0d566c522e35822e84da92e6bddb9373b86988e5d48ac73c1da256dabdf430c04ed8f22e3ee0dea91c3199bcd5841a6f323bb9c65b5303a5da056a39c428f4643cbb70c35570ecd4ef00e69183d89fbc772c0af4012ac4d97510c46cc5bde0aeff7b5d895c00bad8201f91e4f2776a1e6ef1846392848>
> to report this email as spam.
>