[spring] Re: Seeking WG Consensus on PSID Encoding Options for draft-ietf-spring-srv6-path-segment
"denglj4@chinatelecom.cn" <denglj4@chinatelecom.cn> Wed, 04 February 2026 09:01 UTC
Return-Path: <denglj4@chinatelecom.cn>
X-Original-To: spring@mail2.ietf.org
Delivered-To: spring@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 2BD21B1A2D4D for <spring@mail2.ietf.org>; Wed, 4 Feb 2026 01:01:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=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 Ern8dEsdxyJk for <spring@mail2.ietf.org>; Wed, 4 Feb 2026 01:01:02 -0800 (PST)
Received: from smtpnm6-03.21cn.com (smtpnm6-03.21cn.com [182.42.153.190]) by mail2.ietf.org (Postfix) with ESMTP id 6566FB1A27F7 for <spring@ietf.org>; Wed, 4 Feb 2026 01:00:34 -0800 (PST)
HMM_SOURCE_IP: 172.27.0.100:0.938026211
HMM_ATTACHE_NUM: 0000
HMM_SOURCE_TYPE: SMTP
Received: from clientip-10.17.36.184 (unknown [172.27.0.100]) by smtpnm6-03.21cn.com (HERMES) with SMTP id F0EF2C04C288; Wed, 4 Feb 2026 16:59:54 +0800 (CST)
X-189-SAVE-TO-SEND: 71105032@chinatelecom.cn
Received: from ([10.17.36.184]) by gateway-ssl-dep-699995fbc6-nb9pz with ESMTP id 575115a750874a428107a8012ff1a508 for spring@ietf.org; Wed, 04 Feb 2026 17:00:01 CST
X-Transaction-ID: 575115a750874a428107a8012ff1a508
X-Real-From: denglj4@chinatelecom.cn
X-Receive-IP: 10.17.36.184
X-MEDUSA-Status: 0
Sender: denglj4@chinatelecom.cn
Date: Wed, 04 Feb 2026 16:59:53 +0800
From: "denglj4@chinatelecom.cn" <denglj4@chinatelecom.cn>
To: spring <spring@ietf.org>, zengguanming <zengguanming@huawei.com>
References: <51ed97cd1b0b4acd81ac3b57f8ff18ac@huawei.com>
X-Priority: 3
X-Has-Attach: no
X-Mailer: Foxmail 7.2.25.375[cn]
Mime-Version: 1.0
Message-ID: <202602041659526446518@chinatelecom.cn>
Content-Type: multipart/alternative; boundary="----=_001_NextPart178111626435_=----"
Message-ID-Hash: 6BZZY2V2KAN3UN4NTKYPFF6HHCAZU6YU
X-Message-ID-Hash: 6BZZY2V2KAN3UN4NTKYPFF6HHCAZU6YU
X-MailFrom: denglj4@chinatelecom.cn
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-spring.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [spring] Re: Seeking WG Consensus on PSID Encoding Options for draft-ietf-spring-srv6-path-segment
List-Id: "Source Packet Routing in NetworkinG (SPRING)" <spring.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/65TI2LGL5AzloNt4wA5214UVYOI>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Owner: <mailto:spring-owner@ietf.org>
List-Post: <mailto:spring@ietf.org>
List-Subscribe: <mailto:spring-join@ietf.org>
List-Unsubscribe: <mailto:spring-leave@ietf.org>
Hi all, From my perspective, Option 2 (Generic Metadata Flag) seems preferable to Option 1 and Option 3. This solution avoids dedicating a scarce SRH flag bit to a single function, while allowing the same mechanism to be reused for PSID and potential future extensions. Using an opcode-based approach (assuming it refers to the SID function) also appears to require relatively limited changes to the SRH processing mechanism compared to flag-less alternatives, achieving a better balance between processing efficiency and operational complexity. Best regards, Lijie Deng From: zengguanming Date: 2026-01-23 16:16 To: SPRING WG List CC: Cheng Li; bruno.decraene@orange.com; DHRUV DHODY; chengweiqiang; zhuyq8@chinatelecom.cn Subject: [spring] Seeking WG Consensus on PSID Encoding Options for draft-ietf-spring-srv6-path-segment Dear SPRING WG, As part of our ongoing effort to finalize the encoding mechanism for the SRv6 Path Segment Identifier (PSID) in https://datatracker.ietf.org/doc/draft-ietf-spring-srv6-path-segment/, we would like to present three high-level approaches—along with their sub-options—for community review and consensus. Thanks to Bruno’s constructive review, comments and thorough discussion, we finally come up with the following options and present to the WG: Option 1: Dedicated P-flag (Current Draft Approach) Mechanism: Introduce a new SRH flag (e.g., P-flag) solely to indicate that SRH. SegmentList[Last Entry] carries a PSID. Pros: Simple, unambiguous, and enables per-packet fast-path processing for precise OAM (e.g., loss measurement). Cons: Consumes one of only eight SRH flags for a single function. Option 2: Generic Metadata Flag (Recommended Evolution) Mechanism: Define a generic SRH flag (e.g., G-flag) that signals the presence of a structured 128-bit sid in SegmentList[Last Entry]. The opcode is defined to distinguish different use cases, for example: OpCode=0x01: Path Segment ID (PSID) OpCode=0x02: In-situ OAM trace data OpCode=0x03: Custom telemetry payload Pros: One generic flag supports multiple future extensions, thus addresses “resource waste” concern by making the flag generically useful. Maintains high-performance, per-packet processing. Cons: Slightly more complex: requires defining opcode semantics and extensibility model. Option 3: No New Flag This has three sub-options: 3A: Reuse O-flag Mechanism: Use the existing OAM flag to signal PSID presence. Pros: • No SRH flags consumption. Cons: • O-flag implies slow-path, sampled OAM treatment (per RFC 8754), but PSID often requires fast-path, per-packet handling for accurate end-to-end metrics. Mismatch in processing model risks under-serving key use cases. 3B: Flag-less (Pure SID Convention) Mechanism: Rely solely on the END.PSID behavior code (Function = 0x0064); no flag needed. PSID is placed at SegmentList[n] where n = SRH.LastEntry. Pros: Minimalist design; No SRH flags consumption. Cons: No visibility for intermediate nodes—limits future telemetry or policy enforcement. Functionally restricted to egress-only use cases (e.g., basic path binding), losing the full programmability advantage of SRv6. 3C: Flag-less with Dedicated PSID Prefix Mechanism: Reserve a well-known, non-routable IPv6 prefix (e.g., ::/32) for PSIDs. Intermediate SR Endpoint nodes inspect SegmentList[n] and recognize PSID by prefix match. Pros: No SRH flag consumption. Enables intermediate node visibility without a flag. Cons: SR nodes on the path needs one more mechanism to read PSID at Segment List[n], which introduces more complexity Next Steps We believe Option 1(Dedicated P-flag) is simple, unambiguous, and enables per-packet fast-path processing for precise OAM, and Option 2 (Generic Flag) offers the best long-term balance: it conserves scarce flag space, supports future extensions (beyond PSID), and maintains performance. And we kindly ask the WG to share your views on: Which direction best meets operational and architectural needs? Any strong objections to the proposed options. Depending on feedback, we will update the draft accordingly and aim to request WGLC soon. Thank you for your engagement! Best regards, Guanming Zeng & Cheng Li Huawei
- [spring] Seeking WG Consensus on PSID Encoding Op… zengguanming
- [spring] Re: Seeking WG Consensus on PSID Encodin… 阮征(联通集团本部)
- [spring] Re: Seeking WG Consensus on PSID Encodin… denglj4@chinatelecom.cn
- [spring] Re: Seeking WG Consensus on PSID Encodin… JinMing LI
- [spring] Re: Seeking WG Consensus on PSID Encodin… Haoyu Song
- [spring] Re: Seeking WG Consensus on PSID Encodin… zengguanming
- [spring] Re: Seeking WG Consensus on PSID Encodin… 易昕昕(联通集团本部)
- [spring] Re: Seeking WG Consensus on PSID Encodin… liu.yao71
- [spring] Re: Seeking WG Consensus on PSID Encodin… zhangli (CE)
- [spring] Re: Seeking WG Consensus on PSID Encodin… Dongjie (Jimmy)
- [spring] Re: Seeking WG Consensus on PSID Encodin… Zafar Ali (zali)
- [spring] Re: Seeking WG Consensus on PSID Encodin… bruno.decraene
- [spring] Re: Seeking WG Consensus on PSID Encodin… zengguanming
- [spring] Re: Seeking WG Consensus on PSID Encodin… zengguanming
- [spring] Re: Seeking WG Consensus on PSID Encodin… Zafar Ali (zali)
- [spring] Re: Seeking WG Consensus on PSID Encodin… zengguanming
- [spring] Re: Seeking WG Consensus on PSID Encodin… linchangwang
- [spring] Re: Seeking WG Consensus on PSID Encodin… Weiqiang Cheng