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

Eric Kinzie <ekinzie@labn.net> Wed, 28 February 2024 11:56 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 AE50AC14EB19; Wed, 28 Feb 2024 03:56:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=ham 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 VDT_KLIBCtTF; Wed, 28 Feb 2024 03:56:38 -0800 (PST)
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2102.outbound.protection.outlook.com [40.107.223.102]) (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 10612C14F697; Wed, 28 Feb 2024 03:56:34 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PDUeAsWuRybFHy26MiS9C7bnLeMsbAsBkHxG2G7MnbkV1HbeDYgFe8O1So0Z2rg4BcghtBeOzNIxHU8+UhApzYG/tcBkVqyVrXN9gpvrkgU7vU4s09jqkHU2QHzoHVRlqph0wqNqGPhm0lZXQroiYJcIPE9ZKYJmb9l3k4w100/oyyS+7iVbKtyJYqOSe6z5noW8cHaVU3SkL1ApcEidFRq213q+zAM+fQNFCFli1lleX2ApMdQVeTLn1pQqDLPfek9UUt6KQ6t3TJ3nKoDr7hrFmWo5rQwRBnUySzxYcTG3T435qmRYLRhx9LirfJ1KPmfvejwhtDUBarCmbxhn0Q==
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=gWaVrLyGBw6KBzCjR9VCd4ACDg+FZ1omvLO4Qhepesk=; b=LLKBNwD+/ee6403+WeXSxaByqfgeYiIH4lHZNAxaB29W073H342zkgrk2ScQkG+zAH5kVLbZmPdgcMDvzoXFXGgzoIP5V5ZSlLoq1hdZd8/aNyKUSUjuqZVyVI5c1p0hw7v/rIx3V78vShygRnv7PC52T+5RlPvyzkiagazfzs7jxpYEXf+rWZQuPDIg3ZoNnU5wkjrL6rfMBGnTX1tDdixC7M4UVk192YWq9t7mETAwFc99dv9H9JFDVB+cUJjdUCKg/ArXFzoHk/qHJbvSM/iCJ0ziNiCK4HdxxC52ZBwYe9MUZa7tsVQ3BHDNVjmYM0vSxe/KlwQnwxGPhaQiQQ==
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=gWaVrLyGBw6KBzCjR9VCd4ACDg+FZ1omvLO4Qhepesk=; b=G/yXkej0yxRooFqXt3ytXKpJpXtC0mZ/c24zCDgburS7hFuu1h62eTwd//oQ/B75U9RRKraiGBV3n0IIeNngV22QLqY8WRDa3+jLH143/jTbjP6+wCIhK1PXAqjYjpUg5ugIDCtHjMiWClDKJYwhM7rVaBwmoN8gIgaRZ4t+wLI=
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 PH0PR14MB4408.namprd14.prod.outlook.com (2603:10b6:510:29::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.41; Wed, 28 Feb 2024 11:56:30 +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; Wed, 28 Feb 2024 11:56:30 +0000
Date: Wed, 28 Feb 2024 06:00:56 -0500
From: Eric Kinzie <ekinzie@labn.net>
To: "Black, David" <David.Black@dell.com>
Cc: Henning Rogge <hrogge@gmail.com>, 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: <Zd8SaIIm1CBfb4Zx@DESKTOP-P76AGAJ>
References: <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> <Zd4lwUIMGSjgYKAd@DESKTOP-P76AGAJ> <MN2PR19MB40456DDDCF68751907ACFE9D83592@MN2PR19MB4045.namprd19.prod.outlook.com>
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <MN2PR19MB40456DDDCF68751907ACFE9D83592@MN2PR19MB4045.namprd19.prod.outlook.com>
X-ClientProxiedBy: MN2PR04CA0013.namprd04.prod.outlook.com (2603:10b6:208:d4::26) To PH7PR14MB5619.namprd14.prod.outlook.com (2603:10b6:510:1f4::21)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: PH7PR14MB5619:EE_|PH0PR14MB4408:EE_
X-MS-Office365-Filtering-Correlation-Id: 4eba4361-015c-4a4f-bd18-08dc38544cf3
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: D7NJTk+b5lKcbB0FF99+/sm+YxQFoZWNSyy1C1tZFqNVAHwx6abrDHQ371xd99nKpVIbjUyHwz307yl2gQb6/FcFe5JfAM+Dx243W6EdbpYK1AxhYqcOTFnOkKbnYNbxr7Oe9EMNJt23HLLYkamiurpoZBTMnNRNFKgAlmGXCQmUOEUoTbfHcsb8adDh/NBf/+sGkeczu4zoqPgcvp4juA7/ngrCeaTBs+7mUr1BjsPz4abVTxDsJwsB+DpBRzh3kH9t/y9gQXBm7BHSEhQ5v9nafQOTB40FxuSzeRGA/p+lHFQjIUHhNaqbpzksJZeahRwbVZOpjfUPpg/xSJqpKBOXR9VKGj1xb/RwRRErZJ7r4jsQiqCOpMYveTxL/0aBlTx4dp0TEkO1AZ13kMgCTM3daHJpDmXNHjoD15sLs9/ps/7FIr6MxUVCZPyJzV+saCAa3nHCoC/rlh3Qi4EnYt2iRLpNes4EHHxXkLcvZI6eswUFL3OllijcymyKvhBLW1NFXvhW15ExHjLiH3IN1gJs6uI4fCFViYYT9d+Gx0i8JWxhPfdKyWq1e9HiSy39XYbHArmT+TrjtJjpQZpqfkK1Wjf/bS4uovIrqTlzhqZyj6U8o8UTF320xphHH2nqHbJGFvRLlnIsX3SIdB2alnwNVhEzEJJxGz1qjThZmr4=
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)(230273577357003); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: My3dBvLxKZCs0Jsh9frDeHax/bNpZtQLUcRC60G/F02VpX07u+1aPGBnJ39fb/U08o7iOj8UsS5V7wFW5X4E62OCmRdp+BH+k99me1DT9Qzpq9aq3Ghovu4fZH/hGHLVuGrEixDL78HNwf0DkhJcgOCBD2LrJ06quVPap7+pOVFSNEVf9dGhNHQZ8xa7V9NM8IoOINJlUENCfv4lKaXqiyYdV8AW/8BZFTkjearfXnNu1TbrIK0Lpc81m8jooSiTK29Hfqdt4Q85YE1gvUvEfxBezmVq2NxLM9h4lfXcVqJMaHdldR18jyscgdGTc9XMhh3ny8IxZnIzDogDdw9bllJf5b9GBRRXmqsanM+y0PwWL2VgJh5ghVspp0xKY3+ROY4FRrCWDKVk7+HlBGwYo8BSeDiZ11m1ZNc2HwBso1kDFC1EMXKfuxj3W3aZ25soN9tze9c5o9M+0IFDRVtpKagMlOLsSVVs8JS85PN9dDj3dA0pGSU4LFAcvoTkd+awadn89GzWhWMgIOk+QBopX3TNzsiOhm5ZVlpAfAzhTZQ0emw9bUUE/7CruFTu6zKdx8RCPtofdLd9cacmXlu0yOKiIxOYt6JaZdeLTDphKR9p47YLbC2qgl+KXbHJVtImqqSa82DW5LuM4aoQ4Pd7L42EXXHA2GT3OWMaWx8uJHlkNWjem8wp+4u7LsePxpjncCzgGVwslwnKCjEARD/W7SCHfhHNJFnns8PZ7TeBv5B0+ACuTyEPWpkWKSk0OdW4B590RKE8bLi3fl8zgzjV4Xwxh02piP0VKqfR17Vb81Spk46REdlGl3XsxHsNgcBVx71kGAvMzV1WQP2QgJOD6PRoiwuVCMSgyikI+gXHFlGEpWpPCxakoHRcLQwMpqPdixtmAW2ZTjchFjme0c8h/5cwqa+xrW0OpZE/pL5ukzLjt64zmIiHiOXPulUQtVdkrZtkuLIRxUo4I3JPHTD7Y/o32uhmOKOBrJICPMwHMidepvz1OwIKrCBFDavZi94iWEGqVci2LzxKaFbr0tH4IXGvlODEELesNNpWOllHBokuNVMdLpK5tTTU+Qg+mtBgiYSoS4bvJttB0nupcpDu9QaSH65HD2NR1ovUthY2x5/OiMfFcNBdSRZ5bmq3irK/4gyyX80nAmy/CFORmA3FP2GrWWq46dZGA9o2ytjuXQKct7DPHxLqiGyvo6dTAKvwqQLO1eWJHnsjXvwTuI1GDJduN3H0bV/zt1m37nzvndzwShMHPVRi57ZayuZ//4WmzBcDe68dWWW1tari/YAC2EKkurHMjteP4ptjAgdlzlFvDrzyMgVRD+31f/H/6mvWYWregLSi9Ztx7pqoM76CSNS8tGBeljivLuZ1nZp/W7CWT8eDO/ya9867NHbG3o2RLWzRyEoHUXupaNbZpQKyk3aQn9RS+O4nlCDozUGm4L5NSXehoaHgqO5xGRDlcu26yDV7PpztJ+yS30gFvccAQA30FGtN9dhz0tWiZca68ZxcZAGwxhE1/44ZBc2aXCyZ5VjikfV0DylnwOi+Cm/9po0WH4nGqzwiQkhrlC2+mlknuvOfdKJJo2HWJr/LFoxo
X-OriginatorOrg: labn.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 4eba4361-015c-4a4f-bd18-08dc38544cf3
X-MS-Exchange-CrossTenant-AuthSource: PH7PR14MB5619.namprd14.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2024 11:56:30.0837 (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: TtmSJIjd7BmhxeoYdYGZ5UYcDoErVQXYU+TG/RgUOrjXuopDziwmVXeYTSHSk1rU+9ZsEsZ5TADbuhtlU82rJg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR14MB4408
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/lqOJYX3gJp3VzC_EOHFpEBoM_4U>
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: Wed, 28 Feb 2024 11:56:38 -0000

On Tue Feb 27 22:07:00 +0000 2024, Black, David wrote:
> Great, in addition to the two sentences below, the following change in section 2.3.1 is also desired to close out this topic:
> 
> > This example assumes that Credit Window Initialization sets the Credit Window Max Size to 1k
> > and applies 1k in credits.  That's not a good assumption - those are separate values in Credit Window
> > Initialize that don't have to be the same - if only 512 bytes of credits are applied because the Max Window Size
> > is only increasing by 512 bytes, then the 1k modem queue is not overrun.  That would be much better -
> > it does require that "applied" mean "added" in the following text in section 2.3.1:
> > 
> > Credit Value:
> >     A 64-bit unsigned integer representing the credits, in octets, to be applied to the Credit Window. This value includes MAC headers as seen on the link between the modem and router. 
> 
> "to be applied to" -> "to be added to"
> 
> Thanks, --David

I agree; this change makes sense.

Eric





> -----Original Message-----
> From: Eric Kinzie <ekinzie@labn.net> 
> Sent: Tuesday, February 27, 2024 1:11 PM
> 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; MANET IETF <manet@ietf.org>
> Subject: Re: [manet] Tsvart early review of draft-ietf-manet-dlep-credit-flow-control-09
> 
> 
> [EXTERNAL EMAIL] 
> 
> 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