Article View: linux.kernel.netdev
Article #10089[PATCH net-next 0/3] seg6_local: add USP and USD flavors support (RFC 8986)
From: Minhong He
Date: Tue, 03 Nov 2026 06:38
Date: Tue, 03 Nov 2026 06:38
43 lines
9524 bytes
9524 bytes
RFC 8986 defines the PSP, USP and USD flavors for the SRv6 End behaviors. Currently, the Linux SRv6 implementation (seg6_local) only supports the PSP flavor (combined with the NEXT-C-SID flavor). This patch series adds support for the USP (Ultimate Segment Pop of the SRH) flavor to the End, End.X and End.T behaviors, and for the USD (Ultimate Segment Decapsulation) flavor to the SRv6 End behaviors that perform the decapsulation of the packet (i.e., End.DX4, End.DX6, End.DT4, End.DT6, End.DT46). Patch overview: - Patch 1 implements the USP flavor for the End behavior by extending the RFC 8986 flavor action table with the entries required to process the combinations of packet info and the USP flavor (either alone or combined with the PSP flavor); - Patch 2 adds the USD flavor support to the decap behaviors. Since these behaviors already remove the outer IPv6 header (and, as a consequence, the SRH too) as part of the decapsulation process, the USD flavor is only supported at the control plane level, to ease the interoperability with control planes (e.g., IS-IS, BGP-LS) which can advertise SIDs with the USD flavor; - Patch 3 extends the USP flavor support to the End.X and End.T behaviors, which can now take advantage of the flavor action table mechanism introduced in patch 1. The series has been applied and tested on top of linux-next (next-20261102). Minhong He (3): seg6_local: implement USP flavor for the End behavior seg6_local: support USD flavor for decap behaviors seg6_local: add USP flavor support to End.X and End.T net/ipv6/seg6_local.c | 163 ++++++++++++++++++++++++++++++++++++------ 1 file changed, 143 insertions(+), 20 deletions(-) -- 2.25.1
Technical Details
Message-ID:
<20261103063806.132152-1-heminhong@kylinos.cn>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355244-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355244-linux-kernel-netdev=dewy.ru From: heminhong@kylinos.cn (Minhong He) Newsgroups: linux.kernel.netdev Subject: [PATCH net-next 0/3] seg6_local: add USP and USD flavors support (RFC 8986) Date: Tue, 3 Nov 2026 14:38:03 +0800 Organization: Usenet Network Message-ID: <20261103063806.132152-1-heminhong@kylinos.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3109101"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:4XyFYMp4Sq0AtpcPQnAEeO81oKA= sha256:fgzxXq9KgH4yW0wUUFMzI02TPKsRMKwnnCiMUdXJ3x4= sha1:+dTQ/n2Qs2PWOS/JPd07h8XDQi0= sha256:iNZExlzHK7ehpxD3J9WqYus0W7qRJCe/yc39YwHS2WI= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id E914011274F; Tue, 3 Nov 2026 09:39:30 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -2.95 X-Spam-Status: No, score=-2.95 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CFVu3f75IlqZ; Tue, 3 Nov 2026 09:39:28 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-355244-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=kylinos.cn X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id B5C7A112745; Tue, 3 Nov 2026 09:39:24 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id DF5D52C181; Tue, 3 Nov 2026 06:38:25 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793687905; b=Xnw2M+HZG0pVA//CeFQypFIysDzzTc7u+Ku/FSR5FoJ98XBxqPS7hLM5J7G4KaUQzEIB aRrbZgFevGwpHjYFp9VL5J+vlp1GwZZtGyNWwd/9OaD93NfW8DVd66ZRwCWvTdDQCuiW8 gS+iVqgq7j5IDIcwX8EAxoJnUAq8rISGoD5154NDs0PepRWppytFX6ju2R/g0nZHJZstg xJfa7n+AFLDnZXX2dwhzmoeWLW+psVgzh0ryXzBwZnl43XZE0x4ihVi8W2EtVbixN8LB+ dFxT5T3eZ9opFLWdccfgNKfQQAYhMeznYuVJSi7maFLHf7DxJRHXU5Fxe9I/J6vK88g== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793687905; h=X-Original-To:Received:DMARC-Filter:X-UUID:X-CID-P-RULE:X-CID-O-INFO: X-CID-META:X-CID-BVR:X-CID-BAS:X-CID-FACTOR:X-CID-RHF:X-UUID:X-User: Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer:X-Mailing-List: List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe: List-Owner:Precedence:MIME-Version:Content-Transfer-Encoding; bh=Af907kGMXLFsFxk49Dhwa32CRpesJy8p/4dLo7RJWpI=; b=bgkUQptnyOd3gV4sf6zBf0Tx5gvAw6haSpfH9jfq6s2kim4JjsuEUXn2yzxzxgwlAvmt iQRBe3aG6pqGSLfztlk7O1pGzz53onWBEpFT95My+H5FJxYlgMr+4gCaYuxq19MhkvTUh wjQkTDH4dEicIUAWTiW4z2T3CknStWNPwFsyNm8NMUfL1lRTjGx3QYEqtmx0RQ8YVSaCa /21f09IiH+2T31WlVNBgpzwbjiW1rznH/wSggh6N2rDPFRQU1bUBFbv4kYYdQ/onRFr1l HYrs2PrnedKAgcgxXvYVsNkOR77D3IO9SfUbCWDF1dSfOWZ32QgZWbVjl/JfMRlI/SQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF8D9606A33C; Tue, 3 Nov 2026 06:38:25 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=124.126.103.232 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793687900; b=xwICliqwOgFwpQu3uvMSpjWX8vQw1Uya9h5KjuP2IhiHJE8JXPwc5vfXPOONp04Wbk2v MlBpeFsJle87bmUCmJKNAjN0hjdlvqtNNnsf14QudOm7hPZL6XaKduZ4llUVzM56BnmCt USQFgsRFZemDlbjjyDm4yTqWQ43JRTMzgeIXTMno7/Tqs9O/zQlPqrsX/MbQhcRJl6ZTn 8NWbGqaCl7FlYcLN1sRYz2AdsxpWuTjCVOiYLze2KiNSdlOwfX9vMehV9OoLOm7cUMbpd xDB7poWXqifUNlTRDZ+Wg0TFhW2JNiPRyOvvQIJz5A1q7ndFGlniUzwMPW0PwNXaTwQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793687900; h=DMARC-Filter:X-UUID:X-CID-P-RULE:X-CID-O-INFO:X-CID-META:X-CID-BVR: X-CID-BAS:X-CID-FACTOR:X-CID-RHF:X-UUID:X-User:Received:From:To:Cc: Subject:Date:Message-Id:X-Mailer:MIME-Version: Content-Transfer-Encoding; bh=Af907kGMXLFsFxk49Dhwa32CRpesJy8p/4dLo7RJWpI=; b=0g0fWHPUxhFhWMI9A1MXu9xg3ROGbpaq9rKkmR16jQh2+s+TFUwAYgPLhmXwU9S6XgZE NShAv1GQfllE2tRSQBlVKhwPqbmjgrHGIF7mPtg9LlbnEQRxizjARkcGFAPnQsouCggoH 3MD72C5TjTSkzi6wKVT4akj5C3iWvUpLB+yUXrmYcYShExXIQ6fuhiuIELg6RExY7hMc6 9TG3tjdUwMAg3eVLfeCc4EasU3JVm3lQYHo+Jz3t1KkVBSkSUaDBQjymXDdv8/fjeltl6 dMi1Ya9rhE21dZoSws+INCRuBsnuM9p6nijqZesns/jGhL2sGu6XvljwiTkyuyFbZsA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=none smtp.remote-ip=124.126.103.232 X-Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93AB6606A324; Tue, 3 Nov 2026 06:38:17 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 93AB6606A324 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kylinos.cn X-UUID: 2372d6ccd75111f19a56ed5b684f684d-20261103 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.19,REQID:de7df89a-d679-49cb-9804-d3fac707eade,IP:0,U RL:0,TC:0,Content:0,EDM:25,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:25 X-CID-META: VersionHash:7db8b62,CLOUDID:fe711bcb5612b75cf5d7ed2560b72067,BulkI D:nil,BulkQuantity:0,SF:102|136|850|865|898,TC:nil,Content:0|15|50|99,EDM: 5|-100,IP:nil,URL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OS A:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 2,SSN|SDN X-CID-BAS: 2,SSN|SDN,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-CID-RHF: D41D8CD98F00B204E9800998ECF8427E X-UUID: 2372d6ccd75111f19a56ed5b684f684d-20261103 X-User: heminhong@kylinos.cn X-Received: from localhost.localdomain [(10.44.16.150)] by mailgw.kylinos.cn (envelope-from <heminhong@kylinos.cn>) (Generic MTA with TLSv1.3 TLS_AES_256_GCM_SHA384 256/256) with ESMTP id 1924700789; Tue, 03 Nov 2026 14:38:11 +0800 X-Cc: horms@kernel.org, linux-kernel@vger.kernel.org, Minhong He <heminhong@kylinos.cn> X-Mailer: git-send-email 2.25.1 X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list