Re: [spring] Beyond SRv6.

Tom Herbert <tom@herbertland.com> Fri, 13 September 2019 02:59 UTC

Return-Path: <tom@herbertland.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 EF21E12003F for <spring@ietfa.amsl.com>; Thu, 12 Sep 2019 19:59:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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=herbertland-com.20150623.gappssmtp.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 23LqTUNT1pRM for <spring@ietfa.amsl.com>; Thu, 12 Sep 2019 19:59:31 -0700 (PDT)
Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (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 91A8412001A for <spring@ietf.org>; Thu, 12 Sep 2019 19:59:30 -0700 (PDT)
Received: by mail-ed1-x52c.google.com with SMTP id f2so19380536edw.3 for <spring@ietf.org>; Thu, 12 Sep 2019 19:59:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tkfQF6M4Q3qkNfAf/JVB17UQmIUjgZzYbMWMJ8DYZ+8=; b=T0Jo2qNxsVzZ1dG8czbO9JyD1M5y3lSaeikHSDwPaKQaZSPVR2eJH/18x+etDAy0qh /qY478rt6nq60UAln/TtpKafb4IDrKMAWzgIq4d0aTH+ZRRJZeUVsXXRMLUv6KSA8yUh vGSizlrW8+RRacr0+mNtFprFH0bT0wQukfJiwvBV3+VPrk2SyDCj08oaho0N0jwIACc1 qW6RrsPb+vUX3RCu8fdPQYGcwlGqzhwzOPoROE43iEYmcI+i6bufQU1vZTURwWjOAM0K igBdW+zHRPF4JoyCBtJyFJ4f2CEkp9YYELQ7E43IAWj68BoM0EbQOh3JN8iu2PZiLsMW zp7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tkfQF6M4Q3qkNfAf/JVB17UQmIUjgZzYbMWMJ8DYZ+8=; b=jXkbLe7jnfwXWEFd5eLhJDuh1OuBaZ0Aj0jrrqt9r9G8HgD1y15Jj8Dwq0/a1ex2fq iE+EH5Yhb9Bfa1J2SR+1bxZRdA4gceE3iRJWkBjM57Ptarb3A1DMu/T/1btR4gPqso7H UaVuPDKSdyhtxL7tvAsZembonAZdY0lYtNr6tYbQI1MxkTsevSdmkxE9l6hESdh/Jo7O eVbMSG6hW8YLQIrwha3TsHTtLfBGG4OdchAqzxQqL8s+d/DqpM81uBcI3yo4pC9EVWo6 iL1RsZGRdXbC6vESPPKMNzUp2q6IsU0o/xEiObTNsQFqAm21x6pKyos8ThsFORXwoyqa 3OBw==
X-Gm-Message-State: APjAAAUO0ALst0aNUIcoiAoZg9aPj2zRF50dne3m8VSYtVJGN9J0tQ7h 4AoVB0dJZl+OjlTqK5S7JvifhNgt744CWjsGnwjw2A==
X-Google-Smtp-Source: APXvYqzMIFewgCq8X+YFv9/u8XRqX4EKVjvCAJKix4r3yg5bZQ7KT0cL7HXreRil8mg9ONLqGeR4Zph8Lth+8BucmMA=
X-Received: by 2002:a50:a8c5:: with SMTP id k63mr5705921edc.122.1568343568960; Thu, 12 Sep 2019 19:59:28 -0700 (PDT)
MIME-Version: 1.0
References: <5B57874F-8C54-4E82-BB55-A2B6585B6AE6@bell.ca> <BYAPR05MB5463BA9F2C38745F4BDF5C28AEB00@BYAPR05MB5463.namprd05.prod.outlook.com> <CAOj+MMHvc-P=j0dvs0uMS+NmapQ-RbcgzC4OLg5evUjYpcaoQQ@mail.gmail.com> <704dbd1e-b1e6-0924-42b1-6bf19fa785fe@gmail.com> <CAOj+MMExK2hkex0SiMPZf-XtXstSoibBWSrmXqtazjCS6xUS-A@mail.gmail.com>
In-Reply-To: <CAOj+MMExK2hkex0SiMPZf-XtXstSoibBWSrmXqtazjCS6xUS-A@mail.gmail.com>
From: Tom Herbert <tom@herbertland.com>
Date: Thu, 12 Sep 2019 19:59:17 -0700
Message-ID: <CALx6S366sSE1nxqWrx0YsK6OAUvoCAW5cHGo9LSEdCnM0bM4tA@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, Rob Shakir <robjs@google.com>, SPRING WG <spring@ietf.org>, 6man <6man@ietf.org>, "xiechf@chinatelecom.cn" <xiechf@chinatelecom.cn>, Tarek Saad <tsaad.net@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000005065ec05926671d9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/spring/MWRm8E1nfWiT2gnWWOZZ3X7YPmA>
Subject: Re: [spring] Beyond SRv6.
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: Fri, 13 Sep 2019 02:59:33 -0000

On Thu, Sep 12, 2019, 4:15 PM Robert Raszuk <robert@raszuk.net> wrote:

> Hi Brian,
>
> > To what extent is this behind the present argument?
>
> If you are calling elephant and ASIC/FPGA - that was not my reasoning at
> all.
>
> Regardless if you are processing packets by a fixed burned ASIC or
> programmable NP the packet must be read into DRAM and its header stored in
> SRAM during processing - that is I hope pretty clear to everyone. What
> matters is the amount of SRAM you have at your disposal and then how far
> apart are elements required for processing a given feature.
>

Robert,

Right, but isn't that precisely one of the arguments that 16 byte SIDs are
a problem? For instance, if my parsing buffer is 128 bytes then that allows
an SRH with at most four or maybe five SIDs if I'm not mistaken. It seems
like the smaller SID size of SRV6+, even with the DOH PSSI, option still
would produce smaller a header chain than SRV6 and thereby allow more
segments in the header.

Tom


> I am full supporter of NPs and actually just fyi in my MS thesis I
> designed and prototyped Altera MAX FPGA based router :).  If one can afford
> for required line rate speed rating and total box throughput using NP based
> systems is much better investment. This is more for flexibility (field
> programmability) and software updates for bug fixes and new features then
> anything to do how we should or should not design the packet headers in
> data plane protocols.
>
> In the comment below I was not really making an observation that when you
> separate multiple DOHs from CRH you can not process things - you sure can
> as all such EHs actually carry opaque to each other elements. I was however
> observing the fact that functions may require parameters which are not
> supported by DOHs as well as observed earlier that if you are to make sure
> packets entering your domain or leaving "escaping" your domain contain any
> unexpected headers it is much easier to set such ACL onces instead of keep
> updating it every time new draft gets published and new type gets allocated
> for another SRv6+ Destination Option.
>
> Many thx,
> Robert
>
>
> On Fri, Sep 13, 2019 at 12:32 AM Brian E Carpenter <
> brian.e.carpenter@gmail.com> wrote:
>
>> Robert,
>>
>> > But what is most important that common hardware reads just entire
>> > header then starts processing. So it really makes much more sense to
>> > encode SR SIDs and related functions and their parameters in the same
>> > EH rather then scatter them around.
>>
>> Sorry to get all philosophical, but it seems to me that there's another
>> elephant in the room here (and he's been around for twenty years or so)..
>> There seems to be an assumption that we should design on the assumption
>> that fast path processing is done by ASICs or FPGAs, so header formats
>> should be rigid enough that conditional or linked-list processing can
>> be largely avoided. I've been lectured on the bad design of IPv6 extension
>> headers in a way that only makes sense from an ASIC or FPGA viewpoint.
>>
>> But anybody who's building the fast path using a network processor doesn't
>> have that constraint and can use the existing extension header design
>> happily enough.
>>
>> To what extent is this behind the present argument?
>>
>> Regards
>>    Brian Carpenter
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>