Re: [Tsv-art] [manet] Tsvart early review of draft-ietf-manet-dlep-credit-flow-control-09

Eric Kinzie <ekinzie@labn.net> Tue, 27 February 2024 18:11 UTC

Return-Path: <ekinzie@labn.net>
X-Original-To: tsv-art@ietfa.amsl.com
Delivered-To: tsv-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C82BC1519AD; Tue, 27 Feb 2024 10:11:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.911
X-Spam-Level:
X-Spam-Status: No, score=-6.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=labn.onmicrosoft.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bZJ4J9PIkOtE; Tue, 27 Feb 2024 10:11:22 -0800 (PST)
Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2132.outbound.protection.outlook.com [40.107.92.132]) (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 9F793C15155C; Tue, 27 Feb 2024 10:11:22 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BFZdnfHCrM3oHRPMlc4LI/8mFsQYSUNP3BD+PTeZKE8a/GMz8bDUSaJ9LjjiYKsRzBwqlTZ8Q0n445t3SExD7Snjp8kySymkk46FaPomqHn3cTqPm7pyoDJNUKhocT+3Zhr9mKhoc6d6yLf3oC+bwKWUfos5WhQL0Qv/DEle6xaPNCSgAAhePYEpfIL5w2/kKjzQslRIWmWSqs1VIY2cwYArYTUGFB9yWGHtCxW+Gnw8rgeS7Lo6skea0tyn9N57+ro8G+fuzvqh/Ky9zWggVb59Lcye5f7k+16DF8MF8ZU3rf0jQzwpc8j5H3idDJJvyYf8aS8rZHCvY7MH0cHSRw==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jookiqOnWwlgNeBESteYx6umtew/SOeYwATN4DFWbJU=; b=SjDLHTCVzhLHEHiTm2+G9I+HOYjJ+kmd8rbe7A95c4L+vHkjNmJXIni2Dolyi0chgLkx2i6gNE3GLYMX+A6iPeYK0Z86CiQ6pPHw1MeglQd92d/QrxzO8dri7gDM9O65yg881ghq98jhgr9GkN1+VJiWXHCxXuH4Ts5/NPqqOjZypdKZR3jLB1ROureYKJkHxYiIiKTqtJFD1OS0JnaVV4b1lvuEOVJLa5FBK+FXtfnik4UxEBeR28v0vJ2joPYouHYNgA4/jj3lBGwfGVLmv5SZu/5nn5zK/UEKtgedYDSFWFkENr0IpeA5eYOWwglhJL08zoaOjTKGrTdm2xKIkw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=labn.net; dmarc=pass action=none header.from=labn.net; dkim=pass header.d=labn.net; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=labn.onmicrosoft.com; s=selector2-labn-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jookiqOnWwlgNeBESteYx6umtew/SOeYwATN4DFWbJU=; b=FASNbgoNJS+H1uenxIY1VFnOxRqQAc0jHQqtTVzHqULj1UTHk26WHcCP+LqgEPXSFof0pd7ehGHGWkdGGYzXOnw/lZDBRUlDaFS/BRfIiXrqgVw/9VDK1PpaKqBczJhM2LFGIYUoWdrMJCAbRtJ4I6ltOEvnmXnpd1OZP5oGBe0=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=labn.net;
Received: from PH7PR14MB5619.namprd14.prod.outlook.com (2603:10b6:510:1f4::21) by SA1PR14MB6149.namprd14.prod.outlook.com (2603:10b6:806:2ba::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.34; Tue, 27 Feb 2024 18:11:20 +0000
Received: from PH7PR14MB5619.namprd14.prod.outlook.com ([fe80::68c0:d039:4fbb:88ad]) by PH7PR14MB5619.namprd14.prod.outlook.com ([fe80::68c0:d039:4fbb:88ad%4]) with mapi id 15.20.7316.037; Tue, 27 Feb 2024 18:11:19 +0000
Date: Tue, 27 Feb 2024 13:11:13 -0500
From: Eric Kinzie <ekinzie@labn.net>
To: "Black, David" <David.Black@dell.com>
Cc: Henning Rogge <hrogge@gmail.com>, "Black, David" <David.Black=40dell.com@dmarc.ietf.org>, Don Fedyk <dfedyk@labn.net>, "Velt, R. (Ronald) in 't" <Ronald.intVelt=40tno.nl@dmarc.ietf.org>, Lou Berger <lberger@labn.net>, "tsv-art@ietf.org" <tsv-art@ietf.org>, MANET IETF <manet@ietf.org>
Message-ID: <Zd4lwUIMGSjgYKAd@DESKTOP-P76AGAJ>
References: <MN2PR19MB4045DE0B35B5349A686465F183189@MN2PR19MB4045.namprd19.prod.outlook.com> <a13273b2-6cbe-00ff-25bd-df6c6c623dde@labn.net> <MN2PR19MB4045F38BCD91EB884D142BB7839A9@MN2PR19MB4045.namprd19.prod.outlook.com> <f255fd472a714dea95161209cd55dbb0@tno.nl> <PH7PR14MB53683A3705671E1D5DE87041BB412@PH7PR14MB5368.namprd14.prod.outlook.com> <MN2PR19MB4045C7EB432E61B258212FAF83452@MN2PR19MB4045.namprd19.prod.outlook.com> <CAGnRvuojopZsM0MsXuKQ0fEi+ntbAExvKtCFWuCjZOagLLGRDA@mail.gmail.com> <MN2PR19MB4045B0E04EC921E01B014E4C83452@MN2PR19MB4045.namprd19.prod.outlook.com> <ZdkIyvWnihSMS7r0@DESKTOP-P76AGAJ> <MN2PR19MB4045B29C5533E91F17A5B57883592@MN2PR19MB4045.namprd19.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <MN2PR19MB4045B29C5533E91F17A5B57883592@MN2PR19MB4045.namprd19.prod.outlook.com>
X-ClientProxiedBy: CH0PR13CA0035.namprd13.prod.outlook.com (2603:10b6:610:b2::10) To PH7PR14MB5619.namprd14.prod.outlook.com (2603:10b6:510:1f4::21)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PH7PR14MB5619:EE_|SA1PR14MB6149:EE_
X-MS-Office365-Filtering-Correlation-Id: 97190c3b-6f48-42af-4251-08dc37bf7f5d
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 8SDVarvnnzx54YrYjZi8mvSu0PshPzj3ounuAHS+webdTnUn9RKeZGfMefkkMBaMoSbMhTtfoam2ez474GcQSiuoCnhCwNlPLnDOaZHAEjuYHogLMXAr2Lz+9YmspVz2EUW8CqaxHTq1GUrD3DUR1hsMnkj5CHfIPs6zxPA09eWxRk5Olo/SzEEAFVZQoXrxp4xKSOemgvzlO6g/gXDwsCY0B5oDWeJHo2L0BOsiXTSXpybCIzvjNh+8kJvlQo8MPuwmpQ5xVPqXNesQslX0+GK+O0w4eP+5JSbGH9FaootvMd/Aq1krDbsKhRRLopStlUn4/Hhz3v9sX1r/gf0immMsMp8cKeb/GPFikKADNMYy8+LfpPDK+KzXRxPXkcNb5E+fZgUVBsqzZBNOleJ1wqbadhFvTZt7ktYYFfYan/8jRs74eJwycTtYD1c+aQQggxgzl0MzFkB1Bbo18xhd2bhucruPadxPg/k/uI2A0lg/ad4QE8gGLGTHDcNAwuEcAMYdqOPUbs2RwFXWqhbgsgTgt+Pz4JSFdojJGtEx9v51MY5kqa/r12HnoutqdGNvZnj44Kb7D1RwFrYHQiWjFDr1v9BEOvKmUvHEXKrwHtsG2ObiNi+xRi3vHM/tmKby4mUc2/CQ3WQE+9FNV+b4PA==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR14MB5619.namprd14.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: qKRRnGX7Leo4sN3UA39267nO2kuv3fiCeXNtRS1ojTsr2R9sP9cwr48hFxD2tlKvZL7dA3T2lxEfdrkwD7K3jHOPH10tHvNg3NmykOleq+6xo8Hy1EK+aP234+UKl8xLzgdyC1DYxoR1J08mqzQ2sG3U+hgCfAQngkWrLCUDcG2ZL4Bs5rESi04gEqd4ni8zLCB580LobjVr/dhaY//u3VX19JFxtn2RoJmzhUnp2cIsAsV6QNNOa7hvioebUrb10n3tMoyMhhtgOZY2W/AHYT6tbDZiyh4Lhqx2tVKB9ZEzZQ3vlo5xDL4hBtNhERbF8WHf19cFGq9EIsCuHaiE1Z2oy8b9IYfNr1IY/3JpznPoFlrwGx2/7s8m+BvNXDi9ksGXNusf9zHqGSM0STdjc6+RpBYBfLh/N9drjRzOX3ZGMcBj3yF2p9bEbftk2q7eVqi64DyqjBTjt+zaXvW9zCoJzGFWJXAbdXgDhuXifW3VhGlUfxpiNjj45oCB1dQtg0+lsimJtYI8z4AYLn8mlTHxgpK6igq0CdMEdQud1dtdurkq9BoYVGQayr/TAXbOKf8arvOvT/95lxAKvlVOKVHtj6Ez/piph4Y38FmBpSSUYwFrW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H7PR14MB5619.namprd14.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2024 18:11:19.7689 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: eb60ac54-2184-4344-9b60-40c8b2b72561
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: 7UvSyAzO/eDx9122no/5lgorDBcuGQvXPAPet6by4WQcHM+HTvm2/2+/Ts4y26uhSe9W0UFjNENNPko+rqb2kg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR14MB6149
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/I-nSpyGs09Wt-b4MZin-dI1IpvY>
Subject: Re: [Tsv-art] [manet] Tsvart early review of draft-ietf-manet-dlep-credit-flow-control-09
X-BeenThere: tsv-art@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Transport Area Review Team <tsv-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsv-art/>
List-Post: <mailto:tsv-art@ietf.org>
List-Help: <mailto:tsv-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Feb 2024 18:11:27 -0000

On Tue Feb 27 00:30:28 +0000 2024, Black, David wrote:
> Hi Eric,
> 
> Thanks for jumping in ...
> 
> > I think it should be possible to have a "graceful" reduction in the Credit Window with something along the lines of:
> Ok ...
> 
> > "The modem MAY, at its discretion, after sending the Session Update Message with one or more Credit Window Initialization Data Items
> > that decrease the Credit Window Max Size, continue processing received packets that match the indicated FIDs with an unmodified
> > Credit Window Max Size that arrive before the modem receives the corresponding Session Update Response Message.  However,
> > during this time no additional credits for those FIDs are issued.  After the router's Session Update Response Message is received,
> > the modem waits for each affected window to drain until it reaches the new Credit Window Max Size.
> > At this point the modem resumes issuing credits for that FID, limited by the new Credit Window Max Size."
> > 
> > Misbehaving routers that send packets in the absence of credits will still result in those packets being dropped.
> > But, otherwise, we avoid dropping packets at the receiver simply as a side effect of the change.
> 
> If that's the desired effect, then "MAY, at its discretion" is entirely too weak. The new text needs to begin with
> "The modem SHOULD ..." and would benefit from a little rearrangement, e.g.:
> 
>    After sending the Session Update Message with one or more Credit Window Initialization Data Items that decrease
>    the Credit Window Max Size, the modem SHOULD continue processing received packets that match the indicated FIDs,
>    fit within the window for the unmodified Credit Window Max Size and arrive before the modem receives the corresponding
>    Session Update Response Message. 

Yes, the stronger wording seems appropriate here.

> The rest of the text assumes that the window size won't decrease to or below the new max size before the response
> message arrives.  While that's certainly the likely behavior, it won't always be the case.  So instead of:
> 
>    However,   during this time no additional credits for those FIDs are issued.  After the router's Session Update Response Message is received,
>    the modem waits for each affected window to drain until it reaches the new Credit Window Max Size.
>    At this point the modem resumes issuing credits for that FID, limited by the new Credit Window Max Size."
> 
> I'd suggest:
> 
>    The modem SHOULD NOT issue additional credits for each affected FID until the associated affected
>    Window has drained to be less than the new Credit Window Max Size, regardless of whether sufficient
>    draining occurs before or after the modem receives that corresponding Session Update Response Message.
> 
> I think that one sentence covers both cases and using "SHOULD NOT" makes the point clearer.

I agree with your wording here, also.

Thanks,

Eric