[spring] Re: Seeking WG Consensus on PSID Encoding Options for draft-ietf-spring-srv6-path-segment

zengguanming <zengguanming@huawei.com> Fri, 13 March 2026 02:54 UTC

Return-Path: <zengguanming@huawei.com>
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 DB150C930DE0 for <spring@mail2.ietf.org>; Thu, 12 Mar 2026 19:54:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -4.195
X-Spam-Level:
X-Spam-Status: No, score=-4.195 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=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 WJiPSvqDvaJl for <spring@mail2.ietf.org>; Thu, 12 Mar 2026 19:54:53 -0700 (PDT)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 949B7C92EE62 for <spring@ietf.org>; Thu, 12 Mar 2026 19:53:01 -0700 (PDT)
Received: from mail.maildlp.com (unknown [172.18.224.150]) by frasgout.his.huawei.com (SkyGuard) with ESMTPS id 4fX8DJ21gYzHnGgq for <spring@ietf.org>; Fri, 13 Mar 2026 10:52:48 +0800 (CST)
Received: from kwepemh500011.china.huawei.com (unknown [7.202.181.142]) by mail.maildlp.com (Postfix) with ESMTPS id 78B6D4056A for <spring@ietf.org>; Fri, 13 Mar 2026 10:52:58 +0800 (CST)
Received: from sinpeml100012.china.huawei.com (7.188.195.60) by kwepemh500011.china.huawei.com (7.202.181.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Fri, 13 Mar 2026 10:52:56 +0800
Received: from kwepemq100016.china.huawei.com (7.202.195.35) by sinpeml100012.china.huawei.com (7.188.195.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.36; Fri, 13 Mar 2026 10:52:55 +0800
Received: from kwepemq100016.china.huawei.com ([7.202.195.35]) by kwepemq100016.china.huawei.com ([7.202.195.35]) with mapi id 15.02.1544.011; Fri, 13 Mar 2026 10:52:54 +0800
From: zengguanming <zengguanming@huawei.com>
To: "Zafar Ali (zali)" <zali=40cisco.com@dmarc.ietf.org>, SPRING WG List <spring@ietf.org>
Thread-Topic: Seeking WG Consensus on PSID Encoding Options for draft-ietf-spring-srv6-path-segment
Thread-Index: AdyMPMprn411CS/ZQNuxJdk0At7loQhZr+84ATwuusA=
Date: Fri, 13 Mar 2026 02:52:54 +0000
Message-ID: <9b3c0f40500a4c39b916198fb4afe090@huawei.com>
References: <51ed97cd1b0b4acd81ac3b57f8ff18ac@huawei.com> <BN8PR11MB3809428AB1F15E9D54BB2D31DE7AA@BN8PR11MB3809.namprd11.prod.outlook.com>
In-Reply-To: <BN8PR11MB3809428AB1F15E9D54BB2D31DE7AA@BN8PR11MB3809.namprd11.prod.outlook.com>
Accept-Language: en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.112.40.135]
Content-Type: multipart/alternative; boundary="_000_9b3c0f40500a4c39b916198fb4afe090huaweicom_"
MIME-Version: 1.0
Message-ID-Hash: PDSYY5QRLXL5P2BEMJRZUMT2G7CD6DQZ
X-Message-ID-Hash: PDSYY5QRLXL5P2BEMJRZUMT2G7CD6DQZ
X-MailFrom: zengguanming@huawei.com
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
CC: Cheng Li <c.l@huawei.com>, "bruno.decraene@orange.com" <bruno.decraene@orange.com>, DHRUV DHODY <dhruv.dhody1@huawei.com>, chengweiqiang <chengweiqiang@chinamobile.com>, "zhuyq8@chinatelecom.cn" <zhuyq8@chinatelecom.cn>, "Zafar Ali (zali)" <zali@cisco.com>
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/Yn8bQd6K6up4ezdJHpLCo57Z7Ns>
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>

Dear Zafar, Chairs, and WG,
Thank you for your detailed feedback and for highlighting the importance of alignment with [RFC8986] and [RFC8754]. We fully agree that any extension to the SRv6 data plane must be consistent with the established network programming model.

“The only option which is consistent with the SR network programming and data plane [RFC8986, 8754] is the following. ”
We respectfully disagree with the assertion that the Flag-less approach (Option 3B) is the "only option which is consistent" with these RFCs. While Option 3B is functional, we believe that introducing a dedicated flag (e.g., G-flag) does not violate the principles of RFC 8986 or 8754, and offers superior architectural benefits regarding  generality, and compatibility.


“Also, SRv6 runs on IPv6 data plane, which provide other routing headers (like HBH).

We do not want to add functionality in SRH that overloads functionality achievable by other RH (e.g., the HBH). ”
From my perspective, there is difference between HBH and segment list[last entry] in SRH: the data carried by HBH is processed by slow path(CPU/software processing). While segment list[last entry]  is designed for high-frequency, per-packet operations (e.g., loss measurement at line rate). Also, HBH header is processed by each IPv6 node, PSID is processed by each SRv6 Endpoint node. Using HBH header will introduce unnecessary and extra processing by IPv6 node.

“Other options, especially, Option 2 must be discussed with the 6man WG.”
Actually discussion has been taken by Cheng Li with 6man WG before, probably we can talk about it with Cheng Li on IETF125 Shenzhen face to face.


Best regards,
Guanming


From: Zafar Ali (zali) <zali=40cisco.com@dmarc.ietf.org>
Sent: Saturday, March 7, 2026 9:04 AM
To: zengguanming <zengguanming@huawei.com>; SPRING WG List <spring@ietf.org>
Cc: Cheng Li <c.l@huawei.com>; bruno.decraene@orange.com; DHRUV DHODY <dhruv.dhody1@huawei.com>; chengweiqiang <chengweiqiang@chinamobile.com>; zhuyq8@chinatelecom.cn; Zafar Ali (zali) <zali@cisco.com>
Subject: Re: Seeking WG Consensus on PSID Encoding Options for draft-ietf-spring-srv6-path-segment

Dear chairs and the WG,

Re: Which direction best meets operational and architectural needs?

The only option which is consistent with the SR network programming and data plane [RFC8986, 8754] is the following.


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.



All existing features are developed using this model.

There have use-cases deployed in the network where SRH is not needed.



Re: Any strong objections to the proposed options.



Also, SRv6 runs on IPv6 data plane, which provide other routing headers (like HBH).

We do not want to add functionality in SRH that overloads functionality achievable by other RH (e.g., the HBH).

Other options, especially, Option 2 must be discussed with the 6man WG.



Thanks
Regards … Zafar
From: zengguanming <zengguanming=40huawei.com@dmarc.ietf.org<mailto:zengguanming=40huawei.com@dmarc.ietf.org>>
Date: Friday, January 23, 2026 at 3:17 AM
To: SPRING WG List <spring@ietf.org<mailto:spring@ietf.org>>
Cc: Cheng Li <c.l@huawei.com<mailto:c.l@huawei.com>>, bruno.decraene@orange.com<mailto:bruno.decraene@orange.com> <bruno.decraene@orange.com<mailto:bruno.decraene@orange.com>>, DHRUV DHODY <dhruv.dhody1@huawei.com<mailto:dhruv.dhody1@huawei.com>>, chengweiqiang <chengweiqiang@chinamobile.com<mailto:chengweiqiang@chinamobile.com>>, zhuyq8@chinatelecom.cn<mailto:zhuyq8@chinatelecom.cn> <zhuyq8@chinatelecom.cn<mailto: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:

  1.  Which direction best meets operational and architectural needs?
  2.  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