Re: [Srcomp] Questions of CRH Appendix B. RE: 2.3 State Efficiency

Ron Bonica <rbonica@juniper.net> Fri, 04 June 2021 18:50 UTC

Return-Path: <rbonica@juniper.net>
X-Original-To: srcomp@ietfa.amsl.com
Delivered-To: srcomp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA81E3A1CD5 for <srcomp@ietfa.amsl.com>; Fri, 4 Jun 2021 11:50:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.796
X-Spam-Level:
X-Spam-Status: No, score=-2.796 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.698, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net header.b=ZZpAX68R; dkim=pass (1024-bit key) header.d=juniper.net header.b=R1ArC6g5
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yh0qyfxitlud for <srcomp@ietfa.amsl.com>; Fri, 4 Jun 2021 11:50:10 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CA1E23A1CD4 for <srcomp@ietf.org>; Fri, 4 Jun 2021 11:50:10 -0700 (PDT)
Received: from pps.filterd (m0108157.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 154ImWkh007706; Fri, 4 Jun 2021 11:50:02 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=PPS1017; bh=mzXuDZXfBi7xeoVb2/y0R2CeBGrCFOOUtQEQ7ZW8X7Q=; b=ZZpAX68R+iWusVINUarYYYFoRzXjglZGN0YsBWIA6/hQnOc8dv3pED7Cze0DszuZiOLP uWrr+6NzA+Qz6YMlxVrllYdDVWtyz6bj7MB8qhn6VJG05XjtiQVCHdTwV69MQBcMfiWm OrQ4saS0+xhVxGsdycOCEQAQf5ibC8VtbeMPflvV3MIEJK64N6oEjXSTyBCx1GXFh6KB T5n7DiaDoPo/s0G5C5mRbxOM4oc/+AiKkkg7wJIjRasRHs7OFxx4Jp+gz31Yp0tpEkdX 1ZwsQpuikMsa/MByEcDDp/2nGmwOng+XndYR/IOi9g/QT+CibYkTRGOV9Tgu3T4gXtic nA==
Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam08lp2041.outbound.protection.outlook.com [104.47.73.41]) by mx0a-00273201.pphosted.com with ESMTP id 38yb839epv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 04 Jun 2021 11:50:02 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l9qUzJkXXVg4XREYEFqEReKu2NedwKhxlMzCl34cZDp5z6VaL+Sbt2pDVPRVAnICx8i0rQ6NphQ4/7V1I+SSlEW5fZ6lWfJd0fb47qjtSylN51SoYZnNXvnfjXfcqcJa/hl8eV8hANpTTqNDe03b/qtaNcewWRHKU7CCivvuW4DV7b9CLpyelnq9KHlyom5pHV7gRVc2kOg9P6YGhDfUi01dLhD8JMXHKcYfQGIyIM3mU2lwyNOOOUQZ7CDe61phfNE6xmJcHPBkye9x7GG2gEklqbn9t7uUyg0ylESpsaUPFE0YNTVDoLJqgif2H3duvpejkxifXlQk+1EWkx0KIg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mzXuDZXfBi7xeoVb2/y0R2CeBGrCFOOUtQEQ7ZW8X7Q=; b=IorZA0GAIfIN5kOZm1NVN2hb+cT5aC/ceJ2smyLXPPEU7kPmNBNl01BKNhwZ2c41eD6X6GOG8Mw5yJw4MZ4R2VwTY/70N4TQG0+DM0ZnrVE86PN+D31927qeVPN7Nudu5m65Y0wrK+MOx1RrM0domKu3k+6uVriR30krkPsZvah5bRl710xG7+c4DKjG6JNK9oCZQoyNBPIHbfWLfj/lyQ5JYGPdg6MwGgiQF3q5C+RJfFG3rIySI63/eQu0SQsmKGGN9LYlGZuUAGXU9NqUbMDTED6oW1MlQVB4SHjLgz/gtn9rTE8XEVrHx7G7FJWyUxRHSqsBuKjWq/YY2UhBDQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=juniper.net; dmarc=pass action=none header.from=juniper.net; dkim=pass header.d=juniper.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mzXuDZXfBi7xeoVb2/y0R2CeBGrCFOOUtQEQ7ZW8X7Q=; b=R1ArC6g5WqZTvLQ/mzsV+vS2T05L9vg1sEp1bKvlXx4VLPnmlaodio0x55bqrR5cC9tVEbnpI0A7xTotZlcUMdbTIWJ0PzQA+pSozznAyVhB634bLxcyZyl3+gok5pxUPX1yIbhUeLLghXo5fG9J1NTMKpxqKtA5T12DcjLUq10=
Received: from BL0PR05MB5316.namprd05.prod.outlook.com (2603:10b6:208:2f::25) by MN2PR05MB6862.namprd05.prod.outlook.com (2603:10b6:208:189::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.9; Fri, 4 Jun 2021 18:49:58 +0000
Received: from BL0PR05MB5316.namprd05.prod.outlook.com ([fe80::f0a3:d022:d21e:4649]) by BL0PR05MB5316.namprd05.prod.outlook.com ([fe80::f0a3:d022:d21e:4649%6]) with mapi id 15.20.4195.022; Fri, 4 Jun 2021 18:49:57 +0000
From: Ron Bonica <rbonica@juniper.net>
To: "Chengli (Cheng Li)" <c.l@huawei.com>, "Darren Dukes (ddukes)" <ddukes@cisco.com>, "srcomp@ietf.org" <srcomp@ietf.org>
Thread-Topic: Questions of CRH Appendix B. RE: 2.3 State Efficiency
Thread-Index: AddYGmGrkKKpJWn5RoaWBwMv27PDAAADhlfQAAAuQpAAUi09wA==
Date: Fri, 04 Jun 2021 18:49:57 +0000
Message-ID: <BL0PR05MB5316DA13146DBFC61E8985D4AE3B9@BL0PR05MB5316.namprd05.prod.outlook.com>
References: <09ae8eaf77a244a5a6ccdb760aa8c658@huawei.com> <BL0PR05MB53162F115E83A76ADC5225F5AE3C9@BL0PR05MB5316.namprd05.prod.outlook.com> <5dd8d320693a4fb994f44099e4c6294b@huawei.com>
In-Reply-To: <5dd8d320693a4fb994f44099e4c6294b@huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
dlp-product: dlpe-windows
dlp-version: 11.6.100.41
dlp-reaction: no-action
msip_labels: MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Enabled=true; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SetDate=2021-06-04T18:49:55Z; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Method=Standard; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_Name=0633b888-ae0d-4341-a75f-06e04137d755; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_SiteId=bea78b3c-4cdb-4130-854a-1d193232e5f4; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ActionId=27219681-4c18-46fa-994a-51801174fdde; MSIP_Label_0633b888-ae0d-4341-a75f-06e04137d755_ContentBits=2
authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=juniper.net;
x-originating-ip: [66.129.241.11]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: c603d21a-5aa0-454a-d2bd-08d927898c91
x-ms-traffictypediagnostic: MN2PR05MB6862:
x-microsoft-antispam-prvs: <MN2PR05MB68622448A36EFA09CAF7BC49AE3B9@MN2PR05MB6862.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: xqRL/ykrTuEusvuH3T6uoG3VadhlSL5q2s2i9kYLM1mUGePygxRHsgN4Q/QbMlIs3MFiabiGB6S6/kHFHuSPV0G2I6txxKAf8sKv1HK3Pcgc0B8PHViFi59GoZkrQbkU1h1HPAyXgJR/blvhH8p53qEgtwsT9B/of1qDzruBno7sDdbtQzmck4LaBYM82IRd/D/gUsVduPb7H8PzSDHAiu0cSnr9CwhhadDxGmYs3v2h/+qpFRhK6zTnk7l2+l1H6Yn0fn94WtpYj/83BJD37xzglrEvAD8V9P4x3UH5hJvGjEATdbEjwywE9oS/hAJ9UOM0oN5yN5xtLwo2NhtGeAEopPXo3GhF+/dnesyHKJ+uxEpJ1TymecKGui7+amnd8qiLjRPTf7wpFvEZ+hG86by9mBUMUVRzXQF7OxFtzGCKRfh1nrgtUJ/fPpgoR+Mh9Og3fQcqo7zHX364KUzyH90kJVIlSx5n4IYxsUmMm50XrRjOlfC1uR5YnVJGfdiC2qMst18iYlgNdZz6qMwCHnNTRB3PN8CPq4pHnNhqM18CGQViUL68OZbD3TF3YyJ+Z2BiR3l97Gg0RYNgDZDZcbNQdteTutae3fBwgC082CRKJlrJu3/JDLzV+R3NQITGeKbPxH//GpzH4pYC4GDQJJOKiWjZvWtU3Ba0V0CgLPH8QuIUgF+5lqPT4YQeKGBUGLGLkawKgUCNWRf4pmPMrw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR05MB5316.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(346002)(396003)(39850400004)(376002)(186003)(26005)(5660300002)(52536014)(33656002)(38100700002)(86362001)(6506007)(76116006)(66476007)(66946007)(53546011)(122000001)(83380400001)(66446008)(64756008)(66556008)(8676002)(8936002)(316002)(9326002)(478600001)(7696005)(110136005)(55016002)(71200400001)(2906002)(9686003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: ZsttclZh/N6fB2U8EEnRWBXd+my3JlV5pE8ScoAeLWd6/KWamNHPMOH68pfaOy+uwS2FBdpxKQIAvNdoH90OEhWtwJSm0JwWeII3Ik013ko2oB3YmkEOK/v+G8XVMvH+C3ToEoO7kK0cZZpoltjV9+h6fJNUaaXxyO4MgsJb+NVWMQAf3tEGL7Q3Z2N5DWydrCfBGOD2G0JF//SmsA4acuXr/oWwy1uSIsaZ1A63OsXLMPlUvmj/PDYsYrCZNpDRdabCM7cXM/llhi8oCU+vwulL7VlOwk35WxEXJJiqdyuFQ5FOlhEQYzsH1noZ8M6rJIFQ6A4SHsPvTcpbta8ROgNkPIx3xpx22K7sPY42bv7uA8ZzMU80NQ/mnz5OIliVDfQmDR5Pzqgns91Z8q0je6FM1mlXdsGDW4AMB7iNMX21fHexUdpr5oTTRuRDS36LLV5qQxg5F8WROVZT99LbnSCWF5L99LQo48KIH5phxQmjBLCZdtF72MgU/gb69CVf4VtCr8RaFB6Agj+7qd3zWAVGu1pNq2YndXvcrAu2Q2HL+9CPCW6gqqshgveWk/IMFxRh0ybPauVpViJnf8DySiFBodizuPECBXAwRjKu21+iPz1Ees0Hi0HadB71hU82vdjzP2inPW7e1D2EfG6dilRB8pHEFkJMZ6Cx52tjOMjxgRUQ/Ieq0FQFAcPzdb8u/KWKRwGRJqfcYb4y0duRKK24CjUIDtPua0nnsMWXUO9+8jBJVUDoFUlYCwoC1qzqj7SrtTNmtymycox/2rjVQuXMuWPz9vkhpncPwCRcH8dd91+rabZKLxPvPOp/Z51p7jzZQrD+JK8/wiX1tpt2lz8+TuNYzLTrxhvIi44WkieA2EtgCRjp4eNKZJRkvB8TxeV/Vq89RIUOTuBqy0qHyOXG2TxSpDbB+Ou4aXi6SFNuzPyPigyP8Nv9ahU6RnrUKL2iD39VtuX62+omaDhdMLgJjLGxsonCNi1JmJKLTg6BiHhIDzQWo35e6KEkAtLr88NIGi8dmGXLpAz0PELUUnV4xNNOlABBJAj+Jubao49HQJNzrU9WVQnVQqBfgXm8gqYSC8kkB/HsRcx6ft0x0h93RNLg52dLeviEiKgC/zr1WhHRpbrxExu7PewLaw4lRYyi4FCO5xvgOTOEmXi4vsZfZonnh2evDdZLC8Fi4khESNIm9WlogP1dEk7FMJt7iXmTV1T4YDAZhqeh0R+OprpzmyAH2+OC2OuNpPl0cWfgK9D81QWRGJSDOMBq8EaOFPQhGV5SPl/WFImumq9ETxc0d+2O8qyCLNSgS+WqOeABK8RB/MIif9weMClRnFQY
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_BL0PR05MB5316DA13146DBFC61E8985D4AE3B9BL0PR05MB5316namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BL0PR05MB5316.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: c603d21a-5aa0-454a-d2bd-08d927898c91
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jun 2021 18:49:57.0836 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: kft9BvbHGflGdYpFW9TQ5uUoyCU1Jt+uFFH2bbJrxsz3WQSMmtGhgsMr2hAEvfzQJLtA4/QWO4E+ZEpgiSDz5A==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR05MB6862
X-Proofpoint-GUID: R-qYhml6GtkpD60d5Z20CHC5SjZu71F9
X-Proofpoint-ORIG-GUID: R-qYhml6GtkpD60d5Z20CHC5SjZu71F9
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-06-04_12:2021-06-04, 2021-06-04 signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 suspectscore=0 phishscore=0 mlxscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 impostorscore=0 adultscore=0 clxscore=1015 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106040133
Archived-At: <https://mailarchive.ietf.org/arch/msg/srcomp/csxxkBRWvDMkDhLJDJQInlEJmpM>
Subject: Re: [Srcomp] Questions of CRH Appendix B. RE: 2.3 State Efficiency
X-BeenThere: srcomp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <srcomp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/srcomp>, <mailto:srcomp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/srcomp/>
List-Post: <mailto:srcomp@ietf.org>
List-Help: <mailto:srcomp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/srcomp>, <mailto:srcomp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Jun 2021 18:50:16 -0000

Hi Cheng,

OK. Now I can find the text to which you refer 😉

It is not clear that P maintains an END SID for each Dn. If it already has 2 END.X SIDs for each Dn, the path computation element (whether it is a controller or the SR ingress node) can load balance between those.

                                                                                                           Ron




Juniper Business Use Only
From: Chengli (Cheng Li) <c.l@huawei.com>
Sent: Wednesday, June 2, 2021 11:35 PM
To: Ron Bonica <rbonica@juniper.net>; Darren Dukes (ddukes) <ddukes@cisco.com>; srcomp@ietf.org
Subject: RE: Questions of CRH Appendix B. RE: 2.3 State Efficiency

[External Email. Be cautious of content]

Hi Ron,

I am not really sure about that. I mean the Appendix B in your draft[1].

I reread CRH draft yesterday and learned a lot, appreciated!

Thanks,
Cheng


[1].https://datatracker.ietf.org/doc/html/draft-bonica-6man-comp-rtg-hdr-26#appendix-B




From: Srcomp [mailto:srcomp-bounces@ietf.org] On Behalf Of Ron Bonica
Sent: Thursday, June 3, 2021 11:30 AM
To: Chengli (Cheng Li) <c.l@huawei.com<mailto:c.l@huawei.com>>; Darren Dukes (ddukes) <ddukes=40cisco.com@dmarc.ietf.org<mailto:ddukes=40cisco.com@dmarc.ietf.org>>; srcomp@ietf.org<mailto:srcomp@ietf.org>
Subject: Re: [Srcomp] Questions of CRH Appendix B. RE: 2.3 State Efficiency

Chengli,

I don’t see Appendix B in version 01-6 or 01-7. Didn’t we agree to drop it from the document?

                                                                          Ron



Juniper Business Use Only
From: Srcomp <srcomp-bounces@ietf.org<mailto:srcomp-bounces@ietf.org>> On Behalf Of Chengli (Cheng Li)
Sent: Wednesday, June 2, 2021 10:02 PM
To: Chengli (Cheng Li) <c.l@huawei.com<mailto:c.l@huawei.com>>; Darren Dukes (ddukes) <ddukes=40cisco.com@dmarc.ietf.org<mailto:ddukes=40cisco.com@dmarc.ietf.org>>; srcomp@ietf.org<mailto:srcomp@ietf.org>
Subject: [Srcomp] Questions of CRH Appendix B. RE: 2.3 State Efficiency

[External Email. Be cautious of content]

Hi Ron,

I get confused of the analysis in CRH appendix B[1], hope to discuss with you.


   CRH compressed SRv6 can encode this SR Path in two or three segments.
   When it encodes the path in two segments, one segment instantiated on
   P and the other on the destination.  [It seems like something wrong here?]To support this strategy, P
   instantiates 2*N SIDs (one per network per destination).

First of all, the node P maintains a N FIB for Dn for SPF forwarding, correct?
For forwarding the packet to a specific interface, 2N FIB entries are maintained?
Furthermore, 1 prefix CRH SID for node P is maintained as well?

So the sum should be N+2N+1 =3N+1?


   When CRH
   compressed SRv6 encodes the path in three segments, two segments are
   instantiated on P and the other on the destination.  The first
   segment on P updates the IPv6 Destination address without forwarding
   the packet, while the other segment on P forwards the packet without
   updating the IPv6 destination address.  To support this strategy, P
   instantiates 2+N SIDs (one per network and one per destination).

For this, it should be 1 Prefix + 2 adj + N =3+N?

Thanks,
Cheng

[1].https://datatracker.ietf.org/doc/html/draft-bonica-6man-comp-rtg-hdr-26#appendix-B





From: Srcomp [mailto:srcomp-bounces@ietf.org] On Behalf Of Chengli (Cheng Li)
Sent: Wednesday, June 2, 2021 3:01 PM
To: Darren Dukes (ddukes) <ddukes=40cisco.com@dmarc.ietf.org<mailto:ddukes=40cisco.com@dmarc.ietf.org>>; srcomp@ietf.org<mailto:srcomp@ietf.org>
Subject: Re: [Srcomp] 2.3 State Efficiency

Sorry for my late reply.

I agree with the text in this section, at least for C-SID, VSID part. I guess it is ready to be added to the draft.

Cheng


From: Srcomp [mailto:srcomp-bounces@ietf.org] On Behalf Of Darren Dukes (ddukes)
Sent: Tuesday, May 25, 2021 10:26 AM
To: srcomp@ietf.org<mailto:srcomp@ietf.org>
Subject: [Srcomp] 2.3 State Efficiency

Below is the proposed text for section 2.3 for review.



2.3.  State Efficiency

   The compression proposal SHOULD minimize the amount of additional
   forwarding state stored at a node.

   State efficiency is analyzed at an edge node and in a single sub-
   domain of the SR domain, where three parameters are considered:

   o  N: the number of SRv6 nodes in the sub-domain
   o  I: the number of IGP algorithms [I-D.ietf-lsr-flex-algo]
      configured
   o  A: the number of local adjacency SIDs
   o  D: the number of attached SR sub-domains at a border node
   o  V: the number of VPN services at edge nodes

   For a sub-domain consisting of 1000 SRv6 nodes (N=1000) and some
   number of non-SRv6 nodes, two IGP algorithms (I=2), 100 adjacencies
   per SRv6 node (A=100), up to 10 attached sub-domains per border node
   (D=10), and up to 1000 VPN service segments per edge.

   o  N=1000, I=2, A=100, D=10
   o  V=1000

   UIDSR, CSID and VSID require the following entries:

   o  a FIB entry for the local prefix segment, one per algorithm (I=2).
   o  a FIB entry per local adjacency SID (A=100) **Note1
   o  At border nodes either:

      *  A.1) a FIB entry per domain (D=10) to swap the IPv6 destination
         address prefix.
      *  A.2) a 128-bit SID in the segment list of a packet, requiring
         no additional FIB entries.
   o  At edge nodes, a FIB entry per VPN segment

   CRH requires:

   o  a CFIB entry per CRH node per IGP algorithm for local and remote
      prefix segments (N*I=2000)

      *  One FIB entry per node (N=1000) per IGP algorithm greater than
         1 (per I>1) (N=1000)

         +  IP Flex Algo requires a loopback address per algorithm per
            node

            -  CRH assigns a CFIB entry per loopback
   o  a CFIB entry per local adjacency segment (A=100) **Note1

      *  When non-CRH adjacent nodes are present, additional state is
         required for CRH as per CRH appendix B.

         +  B.1) Up to one CFIB entry per node (N=1000) per local
            adjacency segment (A=100) per algorithm (I=2) to support
            non-CRH adjacent nodes in the sub-domain (N*A*I=200000).
         +  B.2) Up to one CFIB entry per next endpoint if attached to
            non-SR domains and an additional CFIB entry per adjacency to
            support non-CRH adjacent endpoints ((N+A)*I=2200).
   o  At border nodes, assuming two inter-domain links per adjacent
      domain for redundancy, (as per CRH Appendix B) either:

      *  C.1) a CFIB entry per unique endpoint (N*D*I), per inter-domain
         adjacency (2) (N*D*I*2=40000)
      *  C.2) a CFIB entry per unique endpoint (N*D*I), plus inter-
         domain adjacency (2) (N*D*I+2=20002)
  o  At edge nodes, an SRv6 SID FIB entry per VPN segment and a CFIB or
      TPF FIB entry per VPN segment (V*2=2000)

   **Note1: there may be additional adjacency SIDs for protected,
   unprotected, and per algorithm adjacencies, resulting in some
   multiple of A.  This is common for all proposals.

   +----------------------+----------+-----------+----------+----------+
   | 16-bit and 32-bit    | CSID     | CRH       | VSID     | UIDSR    |
   +----------------------+----------+-----------+----------+----------+
   | S(N1000,I2,A100,D10) | *102*    | 2100      | *102*    | *102*    |
   |                      | A.1: 112 |           | A.1: 112 | A.1: 112 |
   |                      | A.2: 102 |           | A.2: 102 | A.2: 102 |
   |                      |          | B.1:      |          |          |
   |                      |          | 202100    |          |          |
   |                      |          | B.2: 4500 |          |          |
   |                      |          | C.1:      |          |          |
   |                      |          | 40000     |          |          |
   |                      |          | C.2:      |          |          |
   |                      |          | 20002     |          |          |
   | S(V1000)             | *1000*   | 2000      | *1000*   | *1000*   |
   +----------------------+----------+-----------+----------+----------+

                         Table 8: Forwarding State

   Conclusion: CSID, VSID and UIDSR minimize forwarding state stored at a node.