Re: [Detnet-dp-dt] Using MS-PW concept for the d-pw

Balázs Varga A <balazs.a.varga@ericsson.com> Thu, 23 February 2017 14:46 UTC

Return-Path: <balazs.a.varga@ericsson.com>
X-Original-To: detnet-dp-dt@ietfa.amsl.com
Delivered-To: detnet-dp-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F65F12989B for <detnet-dp-dt@ietfa.amsl.com>; Thu, 23 Feb 2017 06:46:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.209
X-Spam-Level:
X-Spam-Status: No, score=-4.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.onmicrosoft.com
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 UM5XRc4p0dK1 for <detnet-dp-dt@ietfa.amsl.com>; Thu, 23 Feb 2017 06:46:42 -0800 (PST)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (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 10599129B07 for <detnet-dp-dt@ietf.org>; Thu, 23 Feb 2017 06:46:41 -0800 (PST)
X-AuditID: c1b4fb25-93e1698000001738-d3-58aef5cf3389
Received: from ESESSHC016.ericsson.se (Unknown_Domain [153.88.183.66]) by (Symantec Mail Security) with SMTP id 9F.E2.05944.FC5FEA85; Thu, 23 Feb 2017 15:46:40 +0100 (CET)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.66) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 23 Feb 2017 15:46:38 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=2RDSXCeJ60Cl6yYxJyons3n7ncx3YMC/08iIaDu91t4=; b=YPbZqF+dHutRsoldErTz9lsdtv3boDBLXVrEy4/uzQMCg07bxQ35ZCvgMKAoup4DfaZ84nS4yXgvEEBSCJye7ev2UP4qsm+ya37zdfAtFr4gJUoe+1xXEOkS2rFBle6IiXCujC4OJJ50IW0N+iXYzu3uPu6Ryf5aosk0Sd2MU7o=
Received: from DBXPR07MB128.eurprd07.prod.outlook.com (10.242.138.156) by DBXPR07MB127.eurprd07.prod.outlook.com (10.242.138.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.5; Thu, 23 Feb 2017 14:46:36 +0000
Received: from DBXPR07MB128.eurprd07.prod.outlook.com ([169.254.3.203]) by DBXPR07MB128.eurprd07.prod.outlook.com ([169.254.3.203]) with mapi id 15.01.0888.035; Thu, 23 Feb 2017 14:46:36 +0000
From: =?utf-8?B?QmFsw6F6cyBWYXJnYSBB?= <balazs.a.varga@ericsson.com>
To: Jouni Korhonen <jouni.korhonen@broadcom.com>, "detnet-dp-dt@ietf.org" <detnet-dp-dt@ietf.org>
Thread-Topic: [Detnet-dp-dt] Using MS-PW concept for the d-pw
Thread-Index: AdKNIl29YFidtgxOTBibC2VpCfyDbAAHny+AACXAe/A=
Date: Thu, 23 Feb 2017 14:46:36 +0000
Message-ID: <DBXPR07MB128C5BF67FE7AC3266D868BAC530@DBXPR07MB128.eurprd07.prod.outlook.com>
References: <DBXPR07MB128EDEE38C28B6C894DE489AC500@DBXPR07MB128.eurprd07.prod.outlook.com> <7FF14334-F3A3-4051-BAFF-750C6F70FE1A@broadcom.com>
In-Reply-To: <7FF14334-F3A3-4051-BAFF-750C6F70FE1A@broadcom.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=balazs.a.varga@ericsson.com;
x-originating-ip: [91.82.100.59]
x-ms-office365-filtering-correlation-id: 81a70045-6309-4b1c-9cde-08d45bfac4db
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DBXPR07MB127;
x-microsoft-exchange-diagnostics: 1; DBXPR07MB127; 7:6cvr/l68TngMIp2O/rD7MkjnioZcGIFK2O1QhRKRB52pr7dWJMSZVClpqBQXLpXJpK0/1Z1dHBTXRiFITWvaUr0EgGLtGKhKCdsF3feIWzUmDVoLggdbKrVnUe8fW95FimLFsA7jAa9vkczPs69FXAl9JtuxBDAZ/d8qf/QE8a9cgG6n78KyFxsK+Oo8rAsbYjDSNuHNeBVeOFiKfcnwpGSEANmAa2Rr8vuigC04wg9hOC0h4TorfryfY8NzrN8kroXGbP/7XkGOb9vbkX2GMXbmw+KjcyoR9pTbZ3lRSwguTSryESfZnEiVpZZ/4F/RfSJNNg7W11Voo6v0T4s80g==
x-microsoft-antispam-prvs: <DBXPR07MB127BD7D8FF742719E29E406AC530@DBXPR07MB127.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(20161123558025)(6072148); SRVR:DBXPR07MB127; BCL:0; PCL:0; RULEID:; SRVR:DBXPR07MB127;
x-forefront-prvs: 02272225C5
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(39450400003)(51914003)(24454002)(189002)(377454003)(13464003)(199003)(86362001)(92566002)(66066001)(6436002)(2906002)(561944003)(54896002)(6506006)(229853002)(606005)(53936002)(345774005)(74316002)(53546006)(7906003)(122556002)(25786008)(5890100001)(2900100001)(2501003)(33656002)(7736002)(101416001)(68736007)(3660700001)(6246003)(50986999)(76176999)(230783001)(3280700002)(6116002)(105586002)(85202003)(102836003)(106356001)(99286003)(38730400002)(85182001)(81156014)(5660300001)(97736004)(790700001)(236005)(9686003)(81166006)(9326002)(6306002)(189998001)(8676002)(8936002)(54356999)(2950100002)(3846002)(7696004)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:DBXPR07MB127; H:DBXPR07MB128.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DBXPR07MB128C5BF67FE7AC3266D868BAC530DBXPR07MB128eurprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Feb 2017 14:46:36.7513 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR07MB127
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNKsWRmVeSWpSXmKPExsUyM2K7k+6Fr+siDN5+YbFYNWEtm8XDLwkO TB6z7p9l81iy5CdTAFMUl01Kak5mWWqRvl0CV8bfj8fZCj5tZaqYdusiYwPjk7VMXYycHBIC JhI/Jr1k6WLk4hASWMcosfz6XLCEkMAJRonuCYogCRaBXmaJ/pnXmCCqpjJJbP92nhnCOcIo cXbjfnaQFjYBF4kdm+awgtgiAskSv672MYLYwgI2EhO2T2aGiNtKHO45DlVjJdHWcIYNxGYR UJWYvfkA2GpegSiJma/XskIsmMAocbJ9AgtIglPAQeLm+0dgRYwCYhLfT60Bs5kFxCVuPZkP 9ZCAxJI955khbFGJl4//sULUx0n83t8AFVeQ2LTgPTuE7Sux+fwPVgjbR2LJsYeMIIslBLqZ JSZtW8gIkciU6N+wDGqBl8TsGw+YIIpmMEksOfyeDSIhI/Hz5g6oxBY2iVure9ggQZkqsXxt KzQspCTuXumEsmUkXtzZyzqBUWMWki8g7HyJPwc3Mc4CB4egxMmZT1hmMXIAxTUl1u/ShyhR lJjS/ZAdwtaQaJ0zlx1ZfAEj+ypG0eLU4qTcdCNjvdSizOTi4vw8vbzUkk2MwCR0cMtv1R2M l984HmIU4GBU4uEtWL42Qog1say4MvcQowQHs5II7+IX6yKEeFMSK6tSi/Lji0pzUosPMUpz sCiJ85qtvB8uJJCeWJKanZpakFoEk2Xi4JRqYKyQv6ku/inZRs1l3h5gvLwqXyjHeqh1O6/r sTI9Tas1a2f8Tpxh1F7Tuyaf5SLjLlVpQXUpsddMB7uC7eYdCJyo1ZKmy6YcN22eQ4llXlbR zFeLSk9f2PVVX/QbC29F6h2N+zpS7QyfrIOquAz4u50ez/O7v/nMoVTvfbVP74lfYHracklC iaU4I9FQi7moOBEAhoOnuz4DAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/detnet-dp-dt/k81pqF7vdrvOCL-Mz040FTFHod4>
Subject: Re: [Detnet-dp-dt] Using MS-PW concept for the d-pw
X-BeenThere: detnet-dp-dt@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: DetNet WG Data Plane Design Team <detnet-dp-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/detnet-dp-dt>, <mailto:detnet-dp-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/detnet-dp-dt/>
List-Post: <mailto:detnet-dp-dt@ietf.org>
List-Help: <mailto:detnet-dp-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/detnet-dp-dt>, <mailto:detnet-dp-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Feb 2017 14:46:45 -0000

Hi,



Thanks for the details, the “virtual label” is a good visualization of the problem.

The “virtual label” is practically the local-ID of the detnet-(compound)-flow.



So, if I understand it correctly, You intend to use the d-pw as local-ID to have
less label operation cycle. However counting the number of label operations

I do not see the difference, please correct me if I have not counted correctly.



S-PE packet processing tasks:

Solution-1, MS-PW case, no “l-label”

  a, ingress packet has single label “d-pw1”

  b, label operation: swap “d-pw1” -- > “virtual-label1” = local-ID

  c, duplicate elimination using the local-ID

  d, replication + swap “virtual-label1” -- > “d-pw2”

  e, push outgoing labels (t-label)



Solution-2, Globally unique d-pw scenario

  a, ingress packet has two labels “d-pw + l1”

  b, label operation: pop “l1” -- > “d-pw” = local-ID

  c, duplicate elimination using the local-ID

  d, replication + push “l2”

  e, push outgoing labels (t-label)



The differences are:

- 1b vs. 2b: it a swap vs. pop operation (they lasting equally)

- 1d vs. 2d: it a swap vs. push operation (they lasting equally)



So these differences does not cause label processing cycle differences.

Have I missed something?



Cheers

Bala’zs





-----Original Message-----
From: Jouni Korhonen [mailto:jouni.korhonen@broadcom.com]
Sent: Wednesday, February 22, 2017 8:21 PM
To: Balázs Varga A <balazs.a.varga@ericsson.com>om>; detnet-dp-dt@ietf.org
Subject: Re: [Detnet-dp-dt] Using MS-PW concept for the d-pw



Hi,



Thank you for this. It is very useful. Few comments inline.



> On Feb 22, 2017, at 8:08 AM, Balázs Varga A <balazs.a.varga@ericsson.com<mailto:balazs.a.varga@ericsson.com>> wrote:

>

> Hi,

>

> d-pw collision can be solved if the MS-PW concept is used for the DetNet-PW.



Am I missing something here.. We have been talking about MS-PW with required DetNet modifications from the beginning. What has changed since apart excluding the L-labels (no need to pop those to expose d-pw in this proposal) and using s2s d-pw labels instead of e2e d-pw label value?



> d-pws between x-PE nodes have their own d-pw label. X-PE nodes do d-pw label swap.

> Replicas of a detnet flow have to use different d-pw label.

>

> I have attached a simplified figure:

> - detnet-flow1: A -- > D (B is just a segment-stitching point, C does

> elimination)

> - detnet-flow2: F -- > G (E is just a segment-stitching point, B does

> elimination)

>

> There is no d-pw label collision at B as it allocates the d-pw label

> for the segments of the DetNet-PW. So B can ensure that no collision occurs.

>

> You can treat as a drawback that you need a state for each segment,

> but that is the same as for “normal” MS-PW scenarios.



Except that you need more state than in a “normal” MS-PW scenario. Each x-PE has to have an additional many-to-one mapping of d-pw labels to be able to associate a single seqnum & duplicate elimination function to a set of incoming PWs. For this purpose I added a ‘virtual label’ column.



I hope I got the following drawings correct ;)



Sketching LFIB for S-DetNet-PE (for detnet-flow2):



+========+================+===============+=============================+===+

|        |                |  Elimination  |     Forwarding Semantics       |

| Device | Incoming-Label |---------------|--------------------------------|

|        |                | Virtual-label | Outgoing-Label | Outgoing-Link |

+========+================+===============+================+============+===+

| F      | N/A (from AC)  | d-pw0 (2)     | swap d-pw4 (3) | F->E          |

|        |                |               | swap d-pw3     | F->B          |

+========+================+===============+================+============+===+

| E      | d-pw4          | d-pw4 (1)     | swap d-pw7     | E->B          |

+========+================+===============+================+============+===+

| B      | d-pw4          | d-pw3 (1)     | swap d-pw8     | B->G          |

|        | d-pw3          | d-pw3         |                |               |

+========+================+===============+================+============+===+

| G      | d-pw8          | d-pw8 (1)     | N/A (to   AC)  | G->AC         |

+========+================+===============+================+============+===+



(1) For elimination purposes we need to associate all incoming d-pw labels

    that belong to the same detnet flow to a single “virtual label”. Here the

    “virtual label” to which the seqnum and elimination book keeping is

    associated with is just one of the active d-pw labels, for example, the

    first that gets configured in the device for a detnet flow (i.e., the master

    label). The label could also be truly a virtual label value that is never

    seen on wire..

(2) The ‘virtual label’ the seqnum etc logic is associated with for a

    given detnet flow.

(3) Replication is more or less equivalent to existing 1+1 protection. One

    replica of the packet is done and outgoing labels are swapped accordingly.



So, if we had a “global” e2e d-pw label for each detnet flow, the ‘elimination’

label mapping column would not be needed -> smaller LFIB and and less processing step.

Also, the ‘outgoing-label’ column would not be needed, however, there would not be any

LFIB savings since the same amount of information would be needed for d-pw to L-Labels

mapping. Basically the LFIB for e2e d-pws would look like this (slide 4 from detnet-frer-loa.pptx):



+========+================+=================================+

|        |                |      Forwarding Semantics       |

| Device | Incoming-Label |---------------------------------|

|        |                | Outgoing-Label  | Outgoing-Link |

+========+================+=================+===============+

| A      | N/A (from AC)  | create d-pw     |               |

|        |                | push L1         | A->B          |

|        |                | push L3         | A->C          |

+========+================+=================+===============+

| B      | d-pw           | push L2         | B->D          |

|        | (L1/L6 popped) | push L5         | B->C          |

+========+================+================+===============+

| C      | d-pw           | push L6         | C->B          |

|        | (L3/L5 popped) | push L4         | C->D          |

+========+================+=================+===============+

| D      | d-pw           | N/A (to   AC)   | G->AC         |

|        | (L2/L7 popped) |                 |               |

+========+================+=================+===============+





> As a side effect l-labels are not needed at all. Comments are welcome.



I could like this (one less label layer and somewhat cleaner), however, is there a deployment scenario or an overlay topology that we cannot get working without L-label-layer?



- JOuni







>

> Cheers

> Bala’zs

> <detnet-frer-balazs_v0222.pptx>_______________________________________

> ________

> Detnet-dp-dt mailing list

> Detnet-dp-dt@ietf.org<mailto:Detnet-dp-dt@ietf.org>

> https://www.ietf.org/mailman/listinfo/detnet-dp-dt