Re: [spring] Is srv6 PSP a good idea

"Pablo Camarillo (pcamaril)" <pcamaril@cisco.com> Wed, 11 December 2019 20:11 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 04A671200EC for <spring@ietfa.amsl.com>; Wed, 11 Dec 2019 12:11:40 -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=hDOk3bgd; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=J5igDDKS
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 efFibwPK4n1P for <spring@ietfa.amsl.com>; Wed, 11 Dec 2019 12:11:38 -0800 (PST)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4F212120058 for <spring@ietf.org>; Wed, 11 Dec 2019 12:11:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5080; q=dns/txt; s=iport; t=1576095098; x=1577304698; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=GaHCHMQSeEfxNAW1H4t/ZoOJlwTU3up4+ioEy29Nm9M=; b=hDOk3bgd9GIRFDkB8MHfrBEFr45Pbl8kOhtjQnIv0OjSpk/gEQWH5JGw peZZtOoio0sdu2DldbSto6/Pq752hCm3LA53yL2lAy5RjryGQbzMTvfiW nf0eX8BFf2seTT0qOT1HEZq7AR9dFMZwLYboMpdsXdYxbZB4BH57MzTQj c=;
IronPort-PHdr: 9a23:8rqM0hGs4DR3eBoRHvaagp1GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e4z1Q3SRYuO7fVChqKWqK3mVWEaqbe5+HEZON0pNVcejNkO2QkpAcqLE0r+eebhZikzBsVGfFRk5Hq8d0NSHZW2ag==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BJCQB0TPFd/5JdJa1lHAEBAQEBBwEBEQEEBAEBgX6BS1AFbFggBAsqCoN5g0YDiwpOgWwlmAaBQoEQA1QJAQEBDAEBGAsKAgEBgUyCL0UCF4FuJDgTAgMNAQEEAQEBAgEFBG2FCwclDIVeAQEBAQMBARARBA0MAQEsDAsEAgEIEQMBAgMCJgICAiULFQgIAgQBEiKDAAGCRgMuAQ6jRgKBOIhhdX8zgn4BAQWCSoJRGIIXAwaBDiiMGBqBQT+BEScMFIIeLj6CZAEBgUuDKDKCLI1vgj6PBo88CoIvjFaJIBuRIIkgi2yCXpcvgwkCBAIEBQIOAQEFgWkigVhwFTsqAYJBUBEUimyBegkDF4NQhRSFP3SBKIxsAYEPAQE
X-IronPort-AV: E=Sophos;i="5.69,303,1571702400"; d="scan'208";a="388482196"
Received: from rcdn-core-10.cisco.com ([173.37.93.146]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 11 Dec 2019 20:11:37 +0000
Received: from XCH-RCD-008.cisco.com (xch-rcd-008.cisco.com [173.37.102.18]) by rcdn-core-10.cisco.com (8.15.2/8.15.2) with ESMTPS id xBBKBbx2013152 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 11 Dec 2019 20:11:37 GMT
Received: from xhs-rtp-002.cisco.com (64.101.210.229) 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:11:36 -0600
Received: from xhs-aln-002.cisco.com (173.37.135.119) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 11 Dec 2019 15:11:35 -0500
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-002.cisco.com (173.37.135.119) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 11 Dec 2019 14:11:34 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SrsBWOMndE8GjpureZbqzLyFHhYszBxxiDL52C1gnDgnbrQVxGm6CtsXTL8X59GFru3ZdnecJRRwJTbPp8Lv6q5UlaE56zDDe5TdZuOsEpDjUxwhUT9cBwaJ72AhiQrAmsc3s/bL8FtwjlhEeVWsXznau66+//U7aHrCIozOrykfBQSE3gXPaCUtDYK7qwi3d3XRwrSsMmD6tOaG42boGskvSn0QzWdP6GDexDDj//IyPeksSS/QrS564m0Kv2gmjz4J8u4+cj1JWfRBSHAhHJo6B9Wluzpl0xVl8sXPlAFUo0GIFZfp0RIICIVctaQWA5ITmIwi5+x7MbNAwWbr1w==
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=GaHCHMQSeEfxNAW1H4t/ZoOJlwTU3up4+ioEy29Nm9M=; b=ZHUvCrHypQ1/uNalTr80uzw1g20wpZD8XLbvUq896Qa+r+u391ypHQbi/3vnYAa4OxuUEm+31OZbHoF3EJf43vOhTBASktA9LrGCxCoAUuz2c57gUNcyexLnxQEIlwO9PZ7WsmSNfAYqd+VsgimlKmqvLsPzA56A+65fa3xiMCQpvjHgs4xGbR1BBmZpFoDZx/L1FcRWBClXtbYc4C2Vqa0SHCpydPbUk6LugRoc2Hvtz6OtOvYmInOI6A+PaIsSjb9u5VuJIwQga/84jSvAVgWn6sQZeXDLbvknsJlSVCgpvpowe+9VYMkgIoZOYNobf/wDrKjQrVHo0YKxN4Dx+w==
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=GaHCHMQSeEfxNAW1H4t/ZoOJlwTU3up4+ioEy29Nm9M=; b=J5igDDKSFgj4P/11AtF2BRC31AohY6a67ayAOYoGxjwFV2jAWYA3aElLishOnEfAbKdMKh+9Nc3PAWP5VJoyKyLCgyvYZLv8cERM0ylK3T6dagmEIpdmmaIwqLqSpCYSacBJ3l7wuXKiHi/H9Uq+duCg4lOWtq5Aai0y9o4N/UA=
Received: from MWHPR11MB1374.namprd11.prod.outlook.com (10.169.234.8) by MWHPR11MB1470.namprd11.prod.outlook.com (10.172.55.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.17; Wed, 11 Dec 2019 20:11:34 +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:34 +0000
From: "Pablo Camarillo (pcamaril)" <pcamaril@cisco.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>, "spring@ietf.org" <spring@ietf.org>
Thread-Topic: [spring] Is srv6 PSP a good idea
Thread-Index: AQHVr85jMV33kJTkH0WlnUgh9KVMGKe15N2A
Date: Wed, 11 Dec 2019 20:11:33 +0000
Message-ID: <9B89F4C2-5594-4D31-8893-21F3F4A0DF6C@cisco.com>
References: <5c2a4b36-0c59-709e-23eb-00f4aa1ce52f@joelhalpern.com>
In-Reply-To: <5c2a4b36-0c59-709e-23eb-00f4aa1ce52f@joelhalpern.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: 053ff807-d585-481c-c2b0-08d77e7651db
x-ms-traffictypediagnostic: MWHPR11MB1470:
x-microsoft-antispam-prvs: <MWHPR11MB1470717472589C5B19693555C95A0@MWHPR11MB1470.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 024847EE92
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(39860400002)(346002)(366004)(136003)(189003)(199004)(13464003)(33656002)(81156014)(76116006)(66946007)(66556008)(91956017)(6486002)(8676002)(186003)(36756003)(66476007)(66446008)(81166006)(966005)(5660300002)(8936002)(64756008)(26005)(6506007)(2906002)(316002)(478600001)(6512007)(66574012)(2616005)(110136005)(71200400001)(86362001)(53546011); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR11MB1470; 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: ZIRTGI/c5oKB8EvIXKJAkrqZKFUtSNCRc5kDaZ4YsIVAC6+3ue7TC1lBS18l0ExCfaBuioVBNqLGxfAr6pWesiVL8lsGBKyDoPoJmW1NNXEmVVEAm3CkPenjPoMUii+y5AqjlRsfGvOLi498j2Le3LKWF81Whl4U7g+tuWe6AEPSqjvVuMnyxZ3ovY0UJ9OqvyNNBtzk5j7z02YfcX5g2ZTVaX/ewSOZfeTdeLUe/cbJqf3O/CwaraP5CR1xkPb//RJiwmV+JgPFtpRNqjAMVFvOol4H2/rodjNK3jQQIBMawNDRcwcSJN135JbbyN/IKcJMpdiIJhEvQGtcZIoT+mkaYElhgL9vjsl2NPFxwHeuajQvT2zkp/nZg1HbqaQO1+dGXLsivHteVMuHqj5NQc1QKDkq5FeEZ+DOL0olZThaOnyN1okErht79t10Cjok22GlXQZw+jdSlptW7yGCWQeJVlR6yqMCgDQl890VCXVwOPWygSF/aTc+eL4hd7otM3eHc2TFR1JKmrh7rFqePYlcHDCWvIfoSNCpJ8SIG4g=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <84E0AAE2E291B740ADFF3123E343503B@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 053ff807-d585-481c-c2b0-08d77e7651db
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2019 20:11:33.9062 (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: ZsbypwpvoefNdyAYcDnHh/GWxswE/ex7sCG7S3Gbc0ZBwo/10jNOsrJHoBgNAXjMmzK+1pOHkIfJYZvBduwouw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1470
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.18, xch-rcd-008.cisco.com
X-Outbound-Node: rcdn-core-10.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/YQdZwmujxSCyBqqR2N7idV3e0ME>
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:11:40 -0000

Joel,

1.- The use-case for PSP has already been provided at the mailer. There are scenarios where it provides benefits to operators.

2.- The PSP behavior is optional. It is up to the operator in his deployment to decide whether to enable it or not at one particular router.
Similarly, a vendor may decide not to implement it. The PSP behavior has been implemented by several vendors and deployed (see the srv6 deployment draft).

3.- A network may have PSP enabled at some nodes and not at others.  Everything is still interoperable and works fine.  

4.- PSP is not a complex operation in hardware (doable at linerate on existing merchant silicon). 
Example: It has been implemented and deployed on Broadcom J/J+. If I recall correctly Broadcom Jericho+ started shipping in March 2016! PSP is supported on this platform at linerate with no performance degradation (neither PPPS nor BW).
Given that this is doable in a platform from more than 3 years ago, I fail to see how you need "very special provision" to do this.

Is it really something that horrible to provide freedom of choice to the operators deploying?

In summary, it can be implemented without any burden in hardware and deployment experience prove this is beneficial to operators.

Thanks,
Pablo.

-----Original Message-----
From: spring <spring-bounces@ietf.org> on behalf of "Joel M. Halpern" <jmh@joelhalpern.com>
Date: Wednesday, 11 December 2019 at 03:55
To: "spring@ietf.org" <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