Return-Path: <jhaas@slice.pfrc.org>
X-Original-To: ops-dir@mail2.ietf.org
Delivered-To: ops-dir@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1])
	by mail2.ietf.org (Postfix) with ESMTP id 481BA1ACC186;
	Fri, 11 Apr 2025 09:33:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5
	tests=[BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
	RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
Received: from mail2.ietf.org ([166.84.6.31])
	by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id JXZM2XagNdXL; Fri, 11 Apr 2025 09:33:33 -0700 (PDT)
Received: from slice.pfrc.org (slice.pfrc.org [67.207.130.108])
	by mail2.ietf.org (Postfix) with ESMTP id 9CA7F1ACC181;
	Fri, 11 Apr 2025 09:33:30 -0700 (PDT)
Received: by slice.pfrc.org (Postfix, from userid 1001)
	id 7AC9B1E345; Fri, 11 Apr 2025 12:33:29 -0400 (EDT)
Date: Fri, 11 Apr 2025 12:33:29 -0400
From: Jeffrey Haas <jhaas@pfrc.org>
To: Gyan Mishra <hayabusagsm@gmail.com>
Message-ID: <20250411163329.GB14995@pfrc.org>
References: 
 <174417105286.640622.10458000659367443138@dt-datatracker-64c5c9b5f9-hz6qg>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: 
 <174417105286.640622.10458000659367443138@dt-datatracker-64c5c9b5f9-hz6qg>
User-Agent: Mutt/1.5.21 (2010-09-15)
Message-ID-Hash: CSCRCHDUO2UXY2S5XZETKKNPQYRA7GMS
X-Message-ID-Hash: CSCRCHDUO2UXY2S5XZETKKNPQYRA7GMS
X-MailFrom: jhaas@slice.pfrc.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency;
 loop; banned-address; member-moderation; header-match-ops-dir.ietf.org-0;
 nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size;
 news-moderation; no-subject; digests; suspicious-header
CC: ops-dir@ietf.org, draft-ietf-bfd-stability.all@ietf.org, rtg-bfd@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: =?utf-8?q?=5BOPS-DIR=5DRe=3A_Opsdir_early_review_of_draft-ietf-bfd-stability?=
	=?utf-8?q?-18?=
List-Id: Ops Directorate <ops-dir.ietf.org>
Archived-At: 
 <https://mailarchive.ietf.org/arch/msg/ops-dir/jVq_aS73R-LmcAvf_X2RfAIISl0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ops-dir>
List-Help: <mailto:ops-dir-request@ietf.org?subject=help>
List-Owner: <mailto:ops-dir-owner@ietf.org>
List-Post: <mailto:ops-dir@ietf.org>
List-Subscribe: <mailto:ops-dir-join@ietf.org>
List-Unsubscribe: <mailto:ops-dir-leave@ietf.org>

[Replying wearing my BFD chair hat]

Gyan,

On Tue, Apr 08, 2025 at 08:57:32PM -0700, Gyan Mishra via Datatracker wrote:
> Document: draft-ietf-bfd-stability
> Title: BFD Stability
> Reviewer: Gyan Mishra
> Review result: Not Ready
> 
> Summary:
> 
> This document describes extensions to the Bidirectional Forwarding Detection
> (BFD) protocol to measure BFD stability. Specifically, it describes a mechanism
> for detection of BFD packet loss.
> 
> Major issues:
> None
> 
> Minor issues:
> Section 7 describes the stability Yang model.  It references RFC 9314 BGP Yang
> model for lacp, lag, sh, mh, mpls but does not mention SR-MPLS or SRv6 which
> should be included as data planes stability that should be supported with this
> draft.

Which drafts cover SR-MPLS or SRv6 BFD YANG?

> Section 6.2 talks about out of order packet.  I wonder if with the null
> authentication header with the sequence number counter that could be used for
> sequencing and ordering of packets over lag or ECMP. As BFD control packets are
> not stateful as is with TCP as long as packet is received on far end it does
> not matter what path is taken.

For purposes of authentication that requires meticulous authentication
modes, out of order packets may result in the older packet being dropped by
the receiving BFD implementation.  The motivation for 6.2 is recognizing
operational reality and noting that implementations can be more
sophisticated in how they choose to measure loss in such situations.


> I agree out of order packets are not lost
> packets as long as the BFD packet is received by far end. In case of lag with
> lacp bundle with BFD over bundle member, there is a micro BFD session on each
> bundle member.

Note that "LACP" is irrelevant here.

As you note, for BFD on LAG, there are individual sessions.

The discussion point covered by section 6.2 for this draft is intended to
cover the fact that BFD sessions that traverse a LAG (not BFD on LAG
sessions) may be subject to misordering due to load balancing considerations
of Layer 3 or similar packets over the LAG.

> For ECMP it’s a single BFD session across all paths if S-BGD is
> used and if running IGP OSPF or ISIS as BFD registered client then a single BFD
> session exists between the ingress PE or VM compute node and egress PE or VM
> compute node.  In that case their is no OOO BFD control plane.

For multihop BFD, there is no way to control out of order delivery of
packets.  Any element that causes traffic to be able to be delivered over
more than one path could misorder the packets.

For single hop BFD delivered over a transport that may be implemented by
some other underlying mechanism, say an MPLS LSP, unless that transport
guarantees in-order delivery, BFD may be subject to misordering.

These things are not in any way new considerations.  However, these things
may impact the measurements done by the BFD stability mechanism.

Given this, reconsider your "not ready" classification. 

Thanks.

-- Jeff

