Re: [spring] Is srv6 PSP a good idea

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Wed, 11 December 2019 20:12 UTC

Return-Path: <pcamaril@cisco.com>
X-Original-To: spring@ietfa.amsl.com
Delivered-To: spring@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 78A031200EC for <spring@ietfa.amsl.com>; Wed, 11 Dec 2019 12:12:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=C1XXfIP7; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=i4ayqrwN
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 amj7B0Mq7xsY for <spring@ietfa.amsl.com>; Wed, 11 Dec 2019 12:12:01 -0800 (PST)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C71EC120058 for <spring@ietf.org>; Wed, 11 Dec 2019 12:12:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5510; q=dns/txt; s=iport; t=1576095121; x=1577304721; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=xeBjKK2G5dFz6g9r8vBY1GUKsLRE5rXgeP99tDz71Js=; b=C1XXfIP7I8IW5X9ej8UlUPAUgQfm/3qp6m9dUWZGsB7Qi/7BT0I428F9 ycQwCUDWceW7TuSLQfzWhMw9tdqVP+r7I0MdL7nmNGRhSLPslsJpgv/i1 Cl+xlkrMn8s0nCpAvndDukk6IeyNtJckIaOXdchh5frJfh34QFPSZsqKo k=;
IronPort-PHdr: 9a23:95dyOBIchdXoAHHhGdmcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeBvKd2lFGcW4Ld5roEkOfQv636EU04qZea+DFnEtRXUgMdz8AfngguGsmAXFXwJfvjdS0+NM9DT1RiuXq8NBsdFQ==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AGCQBUTPFd/5NdJa1lHAEBAQEBBwEBEQEEBAEBgX6BS1AFbFggBAsqCoN5g0YDiwpOghGYBoFCgRADVAkBAQEMAQEYCwoCAQGBTIIvRQIXgW4kOBMCAw0BAQQBAQECAQUEbYULByUMhV4BAQEBAgEBARARBA0MAQEsDAQHBAIBCBEDAQEBAwIjAwICAiULFAEICAIEARIigwABgkYDDiABDqNGAoE4iGF1fzOCfgEBBYUbGIIXAwaBDiiMGBqBQT+BEScggh4uPoJkAQGBSxgXgnkygiyNOYJ0jwYijxoKgi+MVokgG5EgiSCLbIJemjgCBAIEBQIOAQEFgWkigVhwFTsqAYJBUBEUimyBegkDF4NQhRSFP3SBKIxsAYEPAQE
X-IronPort-AV: E=Sophos;i="5.69,303,1571702400"; d="scan'208";a="380725289"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by alln-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 11 Dec 2019 20:12:00 +0000
Received: from XCH-RCD-008.cisco.com (xch-rcd-008.cisco.com [173.37.102.18]) by rcdn-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id xBBKC0x6026530 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 11 Dec 2019 20:12:00 GMT
Received: from xhs-aln-002.cisco.com (173.37.135.119) by XCH-RCD-008.cisco.com (173.37.102.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 11 Dec 2019 14:12:00 -0600
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 11 Dec 2019 14:11:59 -0600
Received: from NAM10-MW2-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 11 Dec 2019 14:11:59 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xj51XMTpPRcizMNJyeoWlvCKDHwc1J0vwr+T3SZGTqUpQRByD8EpkzoEbMi10jK/jiSnM4FLEc15fN7d95EM0WB8rA5cJfeyKiwy6MKbenvToqTh5crUz6GimMGUAuy+IwtMLlFU4TLoBJ2F2zdqvfzo9W9HNr62TaD6XuTbQ/K/wlnLtX0VSjN9Y0ozzBRAdTYaA1TmlSww6SqiCVuIcCCO3P8S2GSKhmBwrG7RhZ1c7KkBxGADekVEJDUEkHqb7ZBsPxwacSVzPZG/zOET2ozBwLiRfvRz+UC/4GClno/LLfO/NVLusQidr7MWgmEhl5LdbLg741CrapWbQnr2kA==
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=xeBjKK2G5dFz6g9r8vBY1GUKsLRE5rXgeP99tDz71Js=; b=E9mtmMF5GN84SF0Ktf3V1YczrN46U6RlNDw+k055V5kPU/YVC2ooIunYg7Aw64KJB0fqBCmNzNuIpmLlPGR1ZU9yejdeFcIKdkKJAxp+nrHvesUP3dXtzPCWhZILsMrTmnNCwUbaMlMLWwrqcPXwj3kdYeRXFXw/fiYdn2QGovRxmlMRzoM7l3DuPI66JlppuxnUEsRbr7rjXOXlW2J6wTyTBRDG734l16aGEd70q2UeO/BXRbVPV0ZZel+SdWuHBcFQbs/4c+fo+F5FIxfH2EXOzmCBxaufbP4dFCgXC6tm5GCJu0cZhOvu9tpiJgAGhapnMk9XsupE40IaFGryCw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xeBjKK2G5dFz6g9r8vBY1GUKsLRE5rXgeP99tDz71Js=; b=i4ayqrwNG2wJEKEjFV0fCC1kcjvWynYBZ/TYWWq1c+YxH517H/A2DP2c9IEE8Rrcvv4PmqYqjjITLJ1Xu5kYc0cweUwRVDeUlT/SejIl+SYB/boNT7P3XBROp/UHPtCMELnQKDM3LEqySoK7ZCkHcqU75BkZ+oDcVpjeRXOCcRg=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (10.169.234.8) by MWHPR11MB1246.namprd11.prod.outlook.com (10.169.236.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.16; Wed, 11 Dec 2019 20:11:58 +0000
Received: from MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::b04b:c9bb:2378:7a8d]) by MWHPR11MB1374.namprd11.prod.outlook.com ([fe80::b04b:c9bb:2378:7a8d%11]) with mapi id 15.20.2516.018; Wed, 11 Dec 2019 20:11:58 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: "Xiejingrong (Jingrong)" <xiejingrong@huawei.com>, "Joel M. Halpern" <jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>
Thread-Topic: [spring] Is srv6 PSP a good idea
Thread-Index: AQHVr85jMV33kJTkH0WlnUgh9KVMGKe0UwiAgAGR8gA=
Date: Wed, 11 Dec 2019 20:11:58 +0000
Message-ID: <21AFAEDA-F3B0-45AA-AE49-EB4E5FB73918@cisco.com>
References: <5c2a4b36-0c59-709e-23eb-00f4aa1ce52f@joelhalpern.com> <16253F7987E4F346823E305D08F9115AABAEB42B@nkgeml514-mbx.china.huawei.com>
In-Reply-To: <16253F7987E4F346823E305D08F9115AABAEB42B@nkgeml514-mbx.china.huawei.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1f.0.191110
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pcamaril@cisco.com;
x-originating-ip: [173.38.220.51]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6bb269cb-b98f-41ad-2949-08d77e76609f
x-ms-traffictypediagnostic: MWHPR11MB1246:
x-microsoft-antispam-prvs: <MWHPR11MB1246D666F3680CD19685FA00C95A0@MWHPR11MB1246.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 024847EE92
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(346002)(396003)(39860400002)(376002)(366004)(189003)(199004)(13464003)(8676002)(316002)(110136005)(81156014)(81166006)(36756003)(8936002)(86362001)(2906002)(26005)(2616005)(71200400001)(5660300002)(6486002)(66446008)(186003)(66946007)(33656002)(91956017)(64756008)(76116006)(6512007)(53546011)(966005)(66574012)(66476007)(66556008)(478600001)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1246; H:MWHPR11MB1374.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: MAMJpRd+OGz85ubWg69XkyoTsNaSYmOVk/C0oOCy8piexK22hPzVon1iDYIkusFx6azm/4Y+e2wfdyEfC3JU9m05+f16HUfkKIy1pTBQxWuOLPkjkkJ2m5acdC042SM/RaS2jC6Dm+ivZWHAURIt0nT6h9HULzwKuLRskr7VbzwH4R8w7GDva1wyQWmMdAldiDPLBSSX06ueJSPn497xF0dXnRA4FjfJJ0Ge3JHBrKxqbJFQJcCNuaqkd4zKO7V2ip0mnBUhn9pLEdy3jwAH5DCmYzO/SSf/U1RA+PzfXfUSiKurVV1BXmZ/YHiauoWFTKuSz99dkVgrCLH1XPnhkAVys1LIkxDruZMHqnSlFxx+AyPk/DtUvx5jRf/dewlpZeV5A5H2adDxCZP7Gb86c4QmOOMDhG+iFR+qwxGCKO9+opI+Lgp2At7XxW6k6oTJ6zeBKNp86Gh73Z9bTMbcCGJ946qQhMffaBg779LgKFMSQebdpsYK04exEArB2nDba4/C2wvSpspogV41eAn14WBx7McbNfC3YUImnhIrlYw=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <0C84B4A093DFCD47AA98914C349B879C@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 6bb269cb-b98f-41ad-2949-08d77e76609f
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2019 20:11:58.6149 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 9qDDSnWumjeiceINDvWQmwfTYpeKBn01+BxUjaF4xKpSFDP/tEDUb8fQA4HwFEVfCYxNswJqHdXl0gHqzF0Wow==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1246
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.18, xch-rcd-008.cisco.com
X-Outbound-Node: rcdn-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/4BoYN03dLVT87u8OKMZ7cu00mTI>
Subject: Re: [spring] Is srv6 PSP a good idea
X-BeenThere: spring@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Source Packet Routing in NetworkinG \(SPRING\)" <spring.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spring>, <mailto:spring-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spring/>
List-Post: <mailto:spring@ietf.org>
List-Help: <mailto:spring-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spring>, <mailto:spring-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Dec 2019 20:12:03 -0000

Jingrong,
 
> Nothing new, but benefits that people have already said seems notable to me.

Agreed.

Cheers,
Pablo.

-----Original Message-----
From: spring <spring-bounces@ietf.org> on behalf of "Xiejingrong (Jingrong)" <xiejingrong@huawei.com>
Date: Wednesday, 11 December 2019 at 05:15
To: "Joel M. Halpern" <jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>
Subject: Re: [spring] Is srv6 PSP a good idea

    I think it's a good idea.
    Nothing new, but benefits that people have already said seems notable to me.
    
    (1) reduce the load of final destination. This benefit can be notable for the following sub reasons.
    (1.1) final destination tends to have heavy load. It need to handle all the EHs and do the delivery/demultiplex the packet to the right overlay service.
    (1.2) example 1, the final destination may need to handle the DOH after the RH.
    (1.3) example 2, the final destination may need to do the assembly of fragmented packets.
    (1.4) example 3, the final destination may need to do AH/ESP after the Fragmentation Header.
    (1.5) example 4, the final destination may need to deliver the packet to the right overlay service.
    
    (2) support the incremental deployment when final destination(s) do not process/recognize SRH. This benefit can be notable for the following sub reasons.
    (2.1) A core router may (fan-out) connected with a big number of low-end routers that do not support SRH but support tunnel-end/service-demultiplex function of SRv6.
    
    Thanks
    Jingrong
    
    -----Original Message-----
    From: spring [mailto:spring-bounces@ietf.org] On Behalf Of Joel M. Halpern
    Sent: Wednesday, December 11, 2019 10:55 AM
    To: spring@ietf.org
    Subject: [spring] Is srv6 PSP a good idea
    
    For purposes of this thread, even if you think PSP violates RFC 8200, let us assume that it is legal.
    
    As I understand it, the PSP situation is:
    o the packet arrives at the place (let's not argue about whether SIDs are locators) identified by the SID in the destination address field o that SID is the next to last SID in the SID list o that sid is marked as / known to be PSP o at the intended place in the processing pseudocode, the last (first) entry in the SRH is copied into the destination IPv6 address field of the packet
    -> The SRH being used is then removed from the packet.
    
    In order to evaluate whether this is a good idea, we have to have some idea of the benefit.  It may be that I am missing some of the benefit, and I would appreciate clarification.
    As far as I can tell, the benefit of this removal is that in exchange for this node doing the work of removing the SRH, the final node in the SRH does not have to process the SRH at all, as it has been removed.
    
    I have trouble seeing how that work tradeoff can be beneficial. 
    Removing bytes from the middle of a packet is a complex operation. 
    Doing so in Silicon (we expect this to be done in the fast path of significant forwarders as I understand it) requires very special provision.  Even in software, removing bytes from the middle of a packet requires somewhere between some and a lot of extra work.  It is distinctly NOT free.
    
    In contrast, we have assumed that the work of processing SRH itself is tractable, since otherwise all of SRv6 would be problematic.  So why is this necessary.
    
    Yours,
    Joel
    
    PS: Note that both the MPLS case and the encapsulation case are very different in that the material being removed is at the front of the IP packet.  Pop or prepend are MUCH easier than middle-removal (or middle-insertion).
    
    _______________________________________________
    spring mailing list
    spring@ietf.org
    https://www.ietf.org/mailman/listinfo/spring
    
    _______________________________________________
    spring mailing list
    spring@ietf.org
    https://www.ietf.org/mailman/listinfo/spring