Re: [Gen-art] Genart last call review of draft-ietf-nfsv4-rpcrdma-cm-pvt-data-06

Suhas Nandakumar <suhasietf@gmail.com> Wed, 29 January 2020 15:36 UTC

Return-Path: <suhasietf@gmail.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A04BB12009C; Wed, 29 Jan 2020 07:36:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 ILiBIXUiKt8f; Wed, 29 Jan 2020 07:36:05 -0800 (PST)
Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) (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 C0F75120090; Wed, 29 Jan 2020 07:36:04 -0800 (PST)
Received: by mail-vs1-xe2f.google.com with SMTP id t12so10673961vso.13; Wed, 29 Jan 2020 07:36:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LYXpVLLz5Ur32tc8tdauEdoFk15oyet8Wf21c8txLrQ=; b=laxNMpjccjh/coqF0KtqNMgXfE+Uhemn6+HG8qmciO+td+xHovEWhHTU0pB+EdGsE6 wrgXHHLvAEi1ybLVwHeFjOeVJxVymJkYEaQB2HkdqPNPyxjiPYG4sFc8yK1JO+GD/WEd Y5gjiFLyluzo3wG1abFii8MBWtErGNHjDL76zhtLzZviLON9no4Nws9tn4Fg1IhIcIed iDzPNPGnmC3HSWFK6GVEmTVpvViOpbnEym18tGqmhUqCPlf7iudGItTSOQaq+jxeYzlW zhFyTKlI8rPEjWzkE7CprD2fmV3nCsdYmZJSfgtN7ToTLbdntYECCZHO6nWnqNIrbn90 7xwA==
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=LYXpVLLz5Ur32tc8tdauEdoFk15oyet8Wf21c8txLrQ=; b=RCcRpx20Ed6xhqbXQhP6zpJOvNyXaIS0Wfsv7fEJ2gFV9qZOSx1udubGRm6c6KmYcX a8+yu12FoJacu1U5Gjfa2pxaHJq9MSMXIPPJ+7ZSEtsMNjtCTYCrA4KhH89s2RESbVJP pZZhJZG84jWBQxZ2DRTfZ5bKsOKXywmUMLbh/hvraW1jJDtuC4AQM4RsDhHzlolH3aPx jhbnSk1ScQ8qeLomfgae1luUAaZIpj2yuTDop6SrhnVGxd7ATJHl+n8ksARta0T4g1Vp 5c9ANBrZegCL1/GnUXs1kgKmHC8+hNllyfuR8j9SXYjNgh3/2sTcWyVCHekoLqQOPOiH VYxw==
X-Gm-Message-State: APjAAAV6aiRDqaq+AOPMDQ3nTaX7ky6M1E2IAj69PehsdLcOCu6UOpUk SyyFQwAouDZ82/u/wHbb5d8oafKFsi43oF+QaT0=
X-Google-Smtp-Source: APXvYqw8ijYnVCrZLK2jwjUUyUrk+mC5TsyAoS+P5nb50X+8vx6DyR3Dplx1Bu95DrU6ib01YOxk7RF5dfBObM/R/vk=
X-Received: by 2002:a67:f494:: with SMTP id o20mr1527429vsn.228.1580312163627; Wed, 29 Jan 2020 07:36:03 -0800 (PST)
MIME-Version: 1.0
References: <158015386640.23917.3626035422388212873@ietfa.amsl.com> <301328AC-ECCC-41FA-A8E5-F81A9A7FDAF9@oracle.com> <CAMRcRGR2XkudwuWczgHbF23=E6tAgrzMrUNDNTjJbVR=bmhung@mail.gmail.com> <96353CFE-9CA9-4146-83D7-310E48AD4907@oracle.com>
In-Reply-To: <96353CFE-9CA9-4146-83D7-310E48AD4907@oracle.com>
From: Suhas Nandakumar <suhasietf@gmail.com>
Date: Wed, 29 Jan 2020 07:35:52 -0800
Message-ID: <CAMRcRGSD2JFSf+6T8+F+HqQi6NEjhqfGNDb16R=LS74PBh4i_g@mail.gmail.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: draft-ietf-nfsv4-rpcrdma-cm-pvt-data.all@ietf.org, gen-art@ietf.org, last-call@ietf.org, nfsv4@ietf.org
Content-Type: multipart/alternative; boundary="00000000000025b797059d4919e0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/kQfbTnDNuL6CIaQqnjLajNR7oaA>
Subject: Re: [Gen-art] Genart last call review of draft-ietf-nfsv4-rpcrdma-cm-pvt-data-06
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Jan 2020 15:36:09 -0000

Thanks Chuck for the additional clarification. That helped me to understand
better.
 Sorry that I missed it in my reading.

Yes the suggested changes look great.

Cheers
Suhas

On Wed, Jan 29, 2020 at 7:23 AM Chuck Lever <chuck.lever@oracle.com> wrote:

>
> > On Jan 29, 2020, at 12:03 AM, Suhas Nandakumar <suhasietf@gmail.com>
> wrote:
> >
> > Thanks Chuck for the response. Please see inline
> >
> >> On Tue, Jan 28, 2020 at 7:52 AM Chuck Lever <chuck.lever@oracle.com>
> wrote:
> >>
> >> Zero is a permitted value for the size fields. Section 5.2 explains how
> >> to compute the actual buffer size. If those fields contain zero, the
> >> actual send and receive buffer sizes would be 1024 octets.
> >
> >
> > [Suhas] I am not sure if i am reading it right here. Section 5.2 would
> result in the
> > value of -1 if the min of the values is Zero (0/1024 - 1). Isn't it so ?
>
> Section 5.2 says:
>
>    Inline threshold sizes from 1KB to 256KB can be represented in the
>    Send Size and Receive Size fields.  A sender computes the encoded
>    value by dividing the actual value by 1024 and subtracting one from
>    the result.  A receiver decodes this value by performing a
>    complementary set of operations.
>
> Here, "actual value" means the real size of the buffer. A 1024-octet
> buffer would result in (1024 / 1024) - 1 = 0.
>
> The computation done by the receiver is the inverse:
>
>    (0 + 1) * 1024 = 1024
>
> I could replace "actual value" by "buffer size, in octets". Would it
> help if the text also spelled out the inverse computation?
>
>
> --
> Chuck Lever
>
>
>
>