Re: [spring] "This solution does not require any SRH data plane change" in draft-filsfilscheng-spring-srv6-srh-compression-02

Robert Raszuk <robert@raszuk.net> Wed, 13 October 2021 22:57 UTC

Return-Path: <robert@raszuk.net>
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 D0D143A1349 for <spring@ietfa.amsl.com>; Wed, 13 Oct 2021 15:57:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 pQ8kYqAhC7Ys for <spring@ietfa.amsl.com>; Wed, 13 Oct 2021 15:57:48 -0700 (PDT)
Received: from mail-ua1-x935.google.com (mail-ua1-x935.google.com [IPv6:2607:f8b0:4864:20::935]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 30B4D3A134C for <spring@ietf.org>; Wed, 13 Oct 2021 15:57:48 -0700 (PDT)
Received: by mail-ua1-x935.google.com with SMTP id e7so7722178ual.11 for <spring@ietf.org>; Wed, 13 Oct 2021 15:57:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VBYOgq/Omigw7cWleg6VMYtima2SsHAukxwVa34uKUs=; b=YbUQh7QHcNG9z63sEjVnorbME8ZsEaUDAA9p6XPc/efo/AebgdrB3xvCtyUxUM1Y/r KkM5LBS3VFba8QRXYh54lfQVGeqhxmCWjgpLjEvTlc2kfnMobCBtJFPaD3cUhg/v+GG1 I3OikWPzRLH0VZwR4PCBAVwCAV7n29TSuzF4DP2F08B6P1WteGwJ1tltZf9jgFM3lO2Z SKbWzPg/hut3ZWIq64Hgr5yjzUnkO/Fc3H1ChVkkgBxaVwLuWVZwdlHqg758SDwP+gCK wy6zU4wfl1pUDxrp3N75RYUvr5QGwP4IYVXe+n0ZLZC+WCHb95jcLAruVQLSqmc1ZagL syyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VBYOgq/Omigw7cWleg6VMYtima2SsHAukxwVa34uKUs=; b=XL4l84YSrGAH0mnC+TToXreja5W66Lv8ZSX5e2B6lpBaF3wkbmgqh+vlG+YMz/9mJ5 t4yNCmYmi71cmmueCCrIAKwbZsAVC24m2S0VeEUNIUxVReF6yO2dh8GV4dL451aWbD2r /pX6Cl07IkwGGUtBHDNe4jHCHjajs1E/g2Mn6xTMQ+LX9z3DnA5dxaL5918jzNDLJxvQ gqFIaCiRA7itGoxF+izK5Kmf6zdgXBuhrzwxr6+JEibqh1k/XH/qjA4I3K9yr4Ldq83K kms3hPucMGRY5kGzWCnvDEhx+PW8uNLCMB8vsM2JBJz0A/jMBbRbkfW8ozIj4LL1cYET +rHA==
X-Gm-Message-State: AOAM531cVQk0ULoR/HZNhaScHBxRRcwhHlVWeIa+XQ1vM3kDEH228QK3 LdeHlq6VvT8zbn+4/ACHJVPotCivYKk+BHXGY88Uog==
X-Google-Smtp-Source: ABdhPJxNhtxW91AUaCI4QqSXnnnZ1mLXptsCUt91KgpOlWlrMEAHu/1g/zWWtvQT0moqCfDKmT5exvFY0OJRDFFP1TE=
X-Received: by 2002:ab0:45c4:: with SMTP id u62mr2485951uau.69.1634165866241; Wed, 13 Oct 2021 15:57:46 -0700 (PDT)
MIME-Version: 1.0
References: <F8D10864-2C21-48F5-8D0E-1C2C1E54E434@juniper.net>
In-Reply-To: <F8D10864-2C21-48F5-8D0E-1C2C1E54E434@juniper.net>
From: Robert Raszuk <robert@raszuk.net>
Date: Thu, 14 Oct 2021 00:57:49 +0200
Message-ID: <CAOj+MMFdTUCTGkKVr0o78kgid4NdVBG30ND=HR4jV0JU_ncsiQ@mail.gmail.com>
To: John Scudder <jgs@juniper.net>
Cc: "draft-filsfilscheng-spring-srv6-srh-compression@ietf.org" <draft-filsfilscheng-spring-srv6-srh-compression@ietf.org>, "spring@ietf.org" <spring@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f62f1a05ce43e3d9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/hSz1ZkdG5cdCClfPWM2683Jydow>
Subject: Re: [spring] "This solution does not require any SRH data plane change" in draft-filsfilscheng-spring-srv6-srh-compression-02
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, 13 Oct 2021 22:57:53 -0000

Hi John,

I think the crux of the matter is indeed in definition of "SRH data plane".
So let me present my own personal understanding of it.

Clearly SRH external format does not change so hardware's ability to read
SRH remains intact. IPv6 packet's header also can be read and processed by
network elements which have no idea about cSIDs so that as well is not
questionable.

Now your definition of data plane is sound if you consider traditional data
planes of network elements when control plane input set's forwarding
behaviour.

Well in SRH as you know we have SIDs which inside may contain functions. So
forwarding behavior is not pre programmed from control plane, but can and
often is embedded in the actual packets. That is what real network
programming is all about. And each function can have zoo of also nested
arguments all resulting in different forwarding outcome.

With such definition of SRH data plane I do not see anything new in adding
few new flavours to existing behaviours or even adding new behaviours.

Now the question is do we all see SRH data plane in the same way. Maybe it
is way ahead of our times and classic ASIC design ? And I am in no way
judging here if this is good or bad - I am just observing the facts and
already published RFCs.

Many thx,
Robert

PS. And I do agree with your inline comment that cSIDs should be possible
to be used without SRH if no special functions are needed at each segment
endpoint.

On Thu, Oct 14, 2021 at 12:28 AM John Scudder <jgs@juniper.net> wrote:

> Hi Folks,
>
> I’m struggling with the claim repeated throughout the beginning of
> draft-filsfilscheng-spring-srv6-srh-compression-02 (Abstract, §1, §3) that
> “this solution does not require any SRH data plane change”.
>
> I’m not aware of a standardized formal definition of “data plane”, it
> seems to follow Justice Stewart’s maxim of “I know it when I see it”.
> However, here’s an attempt, cribbed from some Washington University course
> slides: a “local, per-router function that determines how a datagram
> arriving on a router input port is forwarded to a router output port”.
> Seems reasonable.
>
> I also am not aware of a standardized formal definition of the term “SRH
> data plane”, in fact this draft, its predecessors, some associated blog
> posts, and Clarence’s dissertation, are the only places a search finds the
> phrase (but it’s not formally defined in any of them). So I’m just going to
> assume it means the data plane, as applied to packets that include an SRH.
> (I’m not sure why we should disregard packets that are encoded using
> NEXT-C-SID that omit the SRH, but let’s overlook that for now.)
>
> If this solution does not require any SRH data plane change, presumably it
> would be true that if I take a packet that includes an SRH and place within
> it a series of SIDs encoded with (for example) the REPLACE-C-SID flavor,
> then that packet would be able to successfully traverse a network of
> routers that support plain vanilla RFC 8754. That is, it would arrive at
> its first hop router which according to a local, per-router function, would
> determine how to take the datagram arriving on the router input port and
> forward it to (the correct) router output port. Then that process would be
> repeated across the rest of the network.
>
> But that is patently incorrect: when it’s delivered to the first hop, the
> plain vanilla RFC 8754 router will be unable to apply the REPLACE-C-SID
> behavior, and forwarding to the next hop will fail. It seems that a
> different local, per-router function is required (in fact, the local,
> per-router function defined in the draft) in order for the forwarding to
> succeed. By the definitions I’m using here, that is exactly a data plane
> change.
>
> What, precisely, is then being claimed?
>
> Thanks,
>
> —John