
From internet-drafts@ietf.org  Thu Sep  5 13:35:20 2013
Return-Path: <internet-drafts@ietf.org>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDBC821F8D29; Thu,  5 Sep 2013 13:35:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.563
X-Spam-Level: 
X-Spam-Status: No, score=-102.563 tagged_above=-999 required=5 tests=[AWL=0.037, BAYES_00=-2.599, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NFliUSNeTRwC; Thu,  5 Sep 2013 13:35:19 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 3725121F999E; Thu,  5 Sep 2013 13:35:00 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.70.p1
Message-ID: <20130905203452.24891.36972.idtracker@ietfa.amsl.com>
Date: Thu, 05 Sep 2013 13:34:52 -0700
Cc: storm@ietf.org
Subject: [storm] I-D Action: draft-ietf-storm-rdmap-ext-05.txt
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Sep 2013 20:35:20 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the STORage Maintenance Working Group of the =
IETF.

	Title           : RDMA Protocol Extensions
	Author(s)       : Hemal Shah
                          Felix Marti
                          Wael Noureddine
                          Asgeir Eiriksson
                          Robert Sharp
	Filename        : draft-ietf-storm-rdmap-ext-05.txt
	Pages           : 37
	Date            : 2013-09-05

Abstract:
   This document specifies extensions to the IETF Remote Direct Memory
   Access Protocol (RDMAP [RFC5040]). RDMAP provides read and write
   services directly to applications and enables data to be transferred
   directly into Upper Layer Protocol (ULP) Buffers without
   intermediate data copies. The extensions specified in this document
   provide the following capabilities and/or improvements: Atomic
   Operations and Immediate Data.




The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-storm-rdmap-ext

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-storm-rdmap-ext-05

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-storm-rdmap-ext-05


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From robert.o.sharp@intel.com  Thu Sep  5 14:22:45 2013
Return-Path: <robert.o.sharp@intel.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 106E921E80CC for <storm@ietfa.amsl.com>; Thu,  5 Sep 2013 14:22:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jcglOHv4FdwB for <storm@ietfa.amsl.com>; Thu,  5 Sep 2013 14:22:39 -0700 (PDT)
Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by ietfa.amsl.com (Postfix) with ESMTP id 6B2BF21E80DA for <storm@ietf.org>; Thu,  5 Sep 2013 14:22:38 -0700 (PDT)
Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga101.ch.intel.com with ESMTP; 05 Sep 2013 14:22:38 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.90,849,1371106800"; d="scan'208";a="291361558"
Received: from fmsmsx107.amr.corp.intel.com ([10.19.9.54]) by AZSMGA002.ch.intel.com with ESMTP; 05 Sep 2013 14:22:37 -0700
Received: from fmsmsx153.amr.corp.intel.com (10.19.17.7) by FMSMSX107.amr.corp.intel.com (10.19.9.54) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 5 Sep 2013 14:22:36 -0700
Received: from fmsmsx105.amr.corp.intel.com ([169.254.5.91]) by FMSMSX153.amr.corp.intel.com ([169.254.9.191]) with mapi id 14.03.0123.003; Thu, 5 Sep 2013 14:22:36 -0700
From: "Sharp, Robert O" <robert.o.sharp@intel.com>
To: Tom Talpey <ttalpey@microsoft.com>, "storm@ietf.org" <storm@ietf.org>
Thread-Topic: [storm] Review comments on draft-ietf-storm-rdmap-ext
Thread-Index: Ac5865W+3+PDQi76TQWRLH3sDqnoewtj12JQ
Date: Thu, 5 Sep 2013 21:22:35 +0000
Message-ID: <2ABFA3E36CBB794685BFBA191CC1964952B1D77D@FMSMSX105.amr.corp.intel.com>
References: <614F550557B82C44AC27C492ADA391AA148BF8B1@TK5EX14MBXC285.redmond.corp.microsoft.com>
In-Reply-To: <614F550557B82C44AC27C492ADA391AA148BF8B1@TK5EX14MBXC285.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.1.200.106]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [storm] Review comments on draft-ietf-storm-rdmap-ext
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Sep 2013 21:22:45 -0000

Hi Tom,

Thanks for the comments!  The author's responses are embedded below...

Thanks,
Bob

> -----Original Message-----
> From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf
> Of Tom Talpey
> Sent: Wednesday, July 10, 2013 11:10 AM
> To: storm@ietf.org
> Subject: [storm] Review comments on draft-ietf-storm-rdmap-ext
>=20
> I've read and reviewed the latest RDMA Extensions draft (draft-ietf-storm=
-
> rdmap-ext-04) and have the following comments.
>=20
> I have two high-level concerns. These extensions to the RDMAP protocol ar=
e
> made without any versioning or capability detection between peers at the
> RDMAP level. There is a statement deep in section 5 that "discovery" of
> Atomics needs to be performed by the upper layer or application, and no
> similar statement is made in section 6 regarding Immediate Data.
>=20
> This seems problematic, for two reasons. First, it imposes an interoperab=
ility
> burden on upper layers to perform this negotiation. That's perhaps
> acceptable, but more discussion as to this requirement needs to be made,
> and in particular some discussion of why it is *not* being performed by t=
he
> RDMAP protocol in this extension.

[Authors] Significant text has been added to describe application level dis=
covery used today and how this new capability fits in to the current discov=
ery.

>=20
> Second, there is no discussion of why the chosen set of operations is
> necessary, or sufficient. The Introduction states that (unspecified)
> applications are able to use Atomics and Immediate Data on "other"
> (unspecified) RDMA transports, but there is no discussion of whether the
> operations are sufficient. And, when comparing the Atomics in this
> document to, for example, Infiniband, there is an additional operation
> ("Swap") which is not part of the IB specification. What other operations=
, or
> semantics, are possible? Are those left for future work?
>=20
> In short, I would like to see a succinct Problem Statement, and a discuss=
ion of
> how the extension is to interoperate with existing implementations.
> Discussion of how the RDMAP protocol may be extended in the future would
> be good to have, too.

[Authors] The problem statement has been improved. References to middleware=
 and applications have  been added.

>=20
>=20
> Specific issues on sections follow.
>=20
> + Section 1, paragraph 1
>=20
> >   The RDMA Protocol [RFC5040] provides capabilities for zero copy and
> >   kernel bypass data communications.  This document specifies the
>=20
> There is much more to RDMAP than zero copy, I think. And the concept of
> "kernel bypass" is mentioned just once in RFC5040, and in the abstract; i=
t
> seems irrelevant here and should be omitted. Paragraph 3 goes on to say:

[Authors] Agreed. This paragraph has been reworked.

>=20
> >   Other RDMA transport protocols define the functionality added by
> >   these extensions leading to differences in RDMA applications and/or
>=20
> which makes no specific reference for either the protocols or the
> applications. In other words, what is the detailed problem statement that=
 the
> extensions are proposed to solve?
>=20
> It would be preferable to see specific reasons motivating these extension=
s,
> to justify them individually.
>=20

[Authors] Motivations have been added.=A0

>=20
> + Editorial in section 1, is "following" the right word? Since the Immedi=
ate
> Data is carried by a new message, it seems more like a tinygram-style
> message in itself.
>=20
> >   o  Immediate Data messages allow the ULP at the sender to provide a
> >      small amount of data following an RDMA Message.
>=20


[Authors] Description of the intended usage with RDMA Write and also standa=
lone usage has been reworked.=A0

>=20
> + Section 3 "Atomic Operation"
>=20
> >   Atomic Operation - is an operation that results in an execution of a
> >   64-bit operation at a specific address on a remote node. The
>=20
> The "64-bit" qualifier is not necessary for the glossary and can be remov=
ed
> here. Also, isn't it a specific "registered" address?

[Authors] Switched to ULP Buffer address terminology to be consistent with =
RFC 5041/5040.

>=20
> >   consumer can use Atomic Operations to read, modify and write at the
> >   destination address while at the same time guarantee that no other
> >   read or write operation will occur across any other RDMAP Streams on
> >   an RNIC at the Data Sink.
>=20
> Generalize the last sentence to "The consumer can use Atomic Operations t=
o
> perform operations on the contents of the destination address with certai=
n
> atomicity guarantees." I have other comments on the "across any other
> RDMAP Streams" later.

[Authors] Definition has been reworked.

>=20
> Even if you disagree with the prior sentence, the term "Data Sink" should=
 be
> deleted. Atomics source and sink data at the same peer. In fact, the glos=
sary
> goes on to define "Requester" and "Responder" just a few lines later.
>=20
>=20
> + Section 4 first paragraph
>=20
> >   The control information of RDMA Messages is included in DDP protocol
> >   [RFC5041] defined header fields, with the following new formats:
>=20
> This would appear to propose an extension to RFC5041, as written. This
> should be stated, or made more clear. Any requirements made of other
> protocols are critical to capture.
>=20

[Authors] Text has been changes to reflect that this is only extending RFC =
5040.=A0

>=20
> + Section 4.1, first paragraph
>=20
> >   The RDMA Messages defined by this specification use all 8 bits of
> >   the RDMAP Control Field. The first octet reserved for ULP use in the
> >   DDP Protocol MUST be used by the RDMAP to carry the RDMAP Control
>=20
> This statement appears to have been imported from RFC5040, and therefore
> is not part of the extension. This should be reworded to make it clear wh=
at is
> being extended and changed.
>=20

[Authors] Extension of RFC 5040 has been clarified.=A0

>=20
> + Section 4.1, second paragraph
>=20
> >    0                   1                   2                   3
> >    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
> >                                   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >                                   |T|L| Resrv | DV| RV|Rsv| Opcode|
> >   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >   |                     Invalidate STag                           |
> >   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >
> >               Figure 1 DDP Control and RDMAP Control Fields
>=20
> There are no differences in these fields from RFC5040. What is being
> extended in them? (Just the Opcodes, right?)
>=20

[Authors] Correct.

>=20
> + Section 4.1, table
>=20
> > -------+-----------+-------------------------------------------------
> > 1011b  | Atomic    | 0     | N/A  | 3     | N/A       | Yes
> >        | Response  |       |      |       |           |
> > -------+-----------+-------------------------------------------------
>=20
> The newly-defined use of RDMAP queue #3 is quite surprising. What's the
> purpose of the assignment? What semantics are being enforced? The
> document is silent on them, and as noted in later comments, possibly
> inconsistent.
>=20

[Authors]  Good catch.  QN=3D3 was added late and was not properly covered.=
  Additional text has been added in the revised draft.=A0

>=20
> + Section 5 third paragraph
>=20
> >   Atomic operations as specified in this document execute a 64-bit
> >   operation at a specified destination address on a remote node. The
>=20
> It's much more than "specified", it's a _registered_ address, represented=
 by
> an STag and thereby under the control of the RFC5042 security model. It i=
s
> critical to state this, and make the reference.

[Authors] Agreed.  The term ULP Buffer address should complete the connecti=
on back to RFC 5042 indirectly through RFC 5040.

>=20
> Also, the address has other possible restrictions, with respect to alignm=
ent.
> The protocol should state whether these are required by the protocol itse=
lf,
> or if they are subject to local constraints imposed by the registration. =
If they
> are protocol-imposed, then there will be implications for the "offset" fi=
elds
> with regard to byte granularity, and how and where they will be checked.
> Either way, discussion here is required.

[Authors] We added a note that the errors covered by the wire protocol over=
 the alignment issue and also revised other text regarding the 64-bit align=
ment topic.  Clearly (as you are pointing out) the wire protocol cannot dic=
tate if a given implementation can handle unaligned accesses atomically.  W=
e are documenting the alignment issue and allowing it to be reported proper=
ly.

>=20
> >   operations atomically read, modify and write back the contents of
>=20
> Are read, modify and write the only actions possible in an atomic? It's n=
ot
> clear how the proposed "swap" operations apply here. The R/M/W meaning
> should be made clear.

[Authors] We believe that this text is sufficient.  We consider swap to be =
a modification.

>=20
> >   the destination address and guarantee that Atomic Operations on this
> >   address by other RDMAP Streams on the same RNIC do not occur
> between
> >   the read and the write.
>=20
> This seems to be significantly less of an atomicity guarantee than expect=
ed.
> Normally, atomics protect all concurrent modifications to the target loca=
tion,
> including those from local access via the CPU at the responder, and other
> RNICs. Is the scope intentionally narrowed to a single RNIC here? Whateve=
r
> the guarantee, some statement of RNIC requirements to achieve this is
> needed, because the proposed protocol itself does not address it.

[Authors] Yes, the scope was intentionally narrowed.  The largest scope the=
 authors believe that we can address in a wire protocol document is within =
a single RNIC.

>=20
> >   document MAY be implemented. The discovery of whether the Atomic
> >   Operations are implemented or not is outside the scope of this
> >   specification and it should be handled by the ULPs or applications.
>=20
> This is the first mention in the document of this requirement, and it nee=
ds
> quite a bit more discussion on exactly how an upper layer is to proceed. =
Why
> is the "should" not normative here, and is it a MUST? See earlier comment=
.
>

[Authors] The discovery topic has been reworked and should clear up this is=
sue.

=20
>=20
> + Section 5.2 first paragraph
>=20
> >   The Atomic Operation Request and Response are RDMA Messages.  An
> >   Atomic Operation makes use of the DDP Untagged Buffer Model. Atomic
> >   Operations use the same Queue Number as RDMA Read Requests
> (QN=3D1).
>=20
> Earlier, atomic *requests* are specified to use QN=3D1, but atomic
> *responses* used QN=3D3. Which is correct? Note, section 5.2.2 bullet #3 =
also
> makes this statement.
>=20

[Authors] Good catch.  This has been corrected.

>=20
> + Section 5.2.1 Atomic operation values
>=20
> > ---------+-----------+----------+----------+---------+---------
> >   0011b    |           |
> >   to       | Reserved  |            Not Specified
> >   1111b    |           |
> >   ---------+-----------+-----------------------------------------
>=20
> ... and
>=20
> >   4. At the Responder, when an invalid Atomic Operation Request
> >      Message is delivered to the Remote Peer's RDMAP layer, an error
> >      is surfaced.
>=20
> Are the "Reserved" fields invalid?
>=20

[Authors] Yes, the reserved values are invalid.  Clarifying text has been a=
dded.

>=20
> + Section 5.2.2 points #5 and #7
>=20
> >   5. The RDMAP layer MUST Deliver the Atomic Operation Response
> >      Message to the ULP.
>=20
> >   7. The Responder RDMAP layer MUST pass Atomic Operation Response
> >      Messages to the DDP layer, in the order that the Atomic Operation
> >      Request Messages were received by the RDMAP layer, at the
> >      Responder.
>=20
> These steps appear out of order. I suggest switching them, so the sending=
 of
> the response precedes its processing by the receiver.
>=20

[Authors] Reordered.

>=20
> + Section 5.3. Atomicity Guarantees
>=20
> >   Atomicity of the Read-Modify-Write (RMW) on the Responder's node by
> >   the Atomic Operation MUST be assured in the presence of concurrent
> >   atomic accesses by other RDMAP Streams on the same RNIC.
>=20
> Similar comment as earlier - are these the only types of concurrent acces=
s
> guarantees?
>=20

[Authors] Yes, as described above.=A0

>=20
> + Section 5.4 Atomic completion rules
>=20
> >   1. For an Atomic operation, the contents of the Tagged Buffer at the
> >      Responder MAY be indeterminate until the Atomic Operation
> >      Response Message has been Delivered at the Requester.
>=20
> I don't understand this statement. The protocol defines no means for the
> Requester to acknowledge the Delivery of the Atomic Response, so how can
> this in any way influence the behavior at the Responder?

[Authors] Good comment.  This has been reworked.

>=20
> >   4. Atomic Operation Response Message processing at the Responder
> >      MUST be started only after the Atomic Operation Request Message
> >      has been Delivered by the DDP layer (thus, all previous RDMA
> >      Messages have been properly submitted for ordered Placement).
>=20
> Again, I don't understand. The DDP protocol uses Queue Numbers to enforce
> this ordering, and since the Atomic Request uses QN=3D1, the requirement =
for
> "all previous RDMA Messages" is not sufficiently clear. Is this making a
> requirement that previous RDMA Writes to the Atomic location be Placed
> (there's no mention of this in section 7)? Or, is the Atomic required to
> perform some sort of memory barrier against all other access?
>=20

[Authors] The requirement for starting an Atomic operation at the responder=
 is exactly like RDMA Reads.  There is a sort of barrier to starting the At=
omic Operation with relationship to placing data that is in front of it des=
tined for host memory.  Additional text has been added.

>=20
> + Section 6. Immediate Data
>=20
> >   The Immediate Data operation is used in conjunction with an RDMA
> >   Operation to improve ULP processing efficiency by allowing 8 bytes
> >   of immediate data to be delivered with the completion of the
> >   previous operation after the previous operation has been delivered
> >   at the Remote Peer.
>=20
> I definitely do not understand this. The text appears to state that any
> immediate data is added to some *prior* completion. How can an operation,
> which has already been delivered, be modified by a later one?
>=20

[Authors] Good catch.  Text has been clarified.=A0

>=20
> + Section 6.3 Immediate data handling
>=20
> >   .  The Remote Peer MUST check that Immediate Data and Immediate Data
> >      with SE Messages include exactly 8 bytes of data from the DDP
> >      layer.
>=20
> How does the receiver make this test? There is no length field in the
> Immediate Data message, it's a fixed 8-byte buffer.
>=20

[Authors] DDP always delivers the length with the data.  The receiver will =
just check the DDP length.=A0

>=20
> + Section 7 Ordering table
>=20
> >----------+------------+-------------+-------------+-------------------
> >Atomic    | Atomic     | No Placement| No Placement| Second Atomic
> >          |            | Guarantee   | Guarantee   | Response
> >          |            | between two | between two | Message will
> >          |            | Atomic      | Atomic      | not be
> >          |            | Requests    | Responses   | generated
> >          |            |             |             | until first
> >          |            |             |             | Atomic Response
> >          |            |             |             | has been
> >          |            |             |             | generated
> >----------+------------+-------------+-------------+-------------------
>=20
> This appears to be incorrect. Earlier, there are specific requirements th=
at the
> RMW operation be performed prior to replying to a previous Atomic, and in
> fact all Atomic requests are serialized on a single QN (1). I'm not sure =
what
> application semantic would be satisfied by this rather weak guarantee as
> stated.
>=20

[Authors]  Good point.  Guarantee has been strengthened to include not star=
ting the next message until the previous response message has been generate=
d.=A0

>=20
> + Section 11.1
>=20
> [RFC5042] (RDMA security model) is missing. Needed for discussion of
> Atomics steering tag protection.
>=20
> [RFC5226] is not a normative reference. Move to 11.2, if desired, but mor=
e
> likely, just delete.
>=20

[Authors] Addressed in revised draft.=A0

>=20
> + Section 11.2
>=20
> Would like to see references to Infiniband specifications here, as releva=
nt for
> Atomics and other behavior.
>=20

[Authors] Added.  Thanks!

> _______________________________________________
> storm mailing list
> storm@ietf.org
> https://www.ietf.org/mailman/listinfo/storm

From robert.o.sharp@intel.com  Thu Sep  5 14:24:22 2013
Return-Path: <robert.o.sharp@intel.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C474E21E80DA for <storm@ietfa.amsl.com>; Thu,  5 Sep 2013 14:24:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sWjLVoDJBOKQ for <storm@ietfa.amsl.com>; Thu,  5 Sep 2013 14:24:17 -0700 (PDT)
Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by ietfa.amsl.com (Postfix) with ESMTP id 2EB7721E80CC for <storm@ietf.org>; Thu,  5 Sep 2013 14:24:17 -0700 (PDT)
Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by azsmga102.ch.intel.com with ESMTP; 05 Sep 2013 14:24:04 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.90,849,1371106800";  d="scan'208,217";a="391710011"
Received: from fmsmsx103.amr.corp.intel.com ([10.19.9.34]) by fmsmga001.fm.intel.com with ESMTP; 05 Sep 2013 14:24:03 -0700
Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX103.amr.corp.intel.com (10.19.9.34) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 5 Sep 2013 14:24:03 -0700
Received: from fmsmsx105.amr.corp.intel.com ([169.254.5.91]) by FMSMSX155.amr.corp.intel.com ([169.254.5.18]) with mapi id 14.03.0123.003; Thu, 5 Sep 2013 14:24:03 -0700
From: "Sharp, Robert O" <robert.o.sharp@intel.com>
To: "Wood, Donald E" <donald.e.wood@intel.com>, "storm@ietf.org" <storm@ietf.org>
Thread-Topic: iWARP Storm RFC Comment
Thread-Index: Ac57+fia6Bn597bTQp6DiUXuGYEivguhBstQ
Date: Thu, 5 Sep 2013 21:24:02 +0000
Message-ID: <2ABFA3E36CBB794685BFBA191CC1964952B1D795@FMSMSX105.amr.corp.intel.com>
References: <51C8F64AEA6A2E45A08166544F762D0B53D30AE8@FMSMSX105.amr.corp.intel.com>
In-Reply-To: <51C8F64AEA6A2E45A08166544F762D0B53D30AE8@FMSMSX105.amr.corp.intel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.1.200.106]
Content-Type: multipart/alternative; boundary="_000_2ABFA3E36CBB794685BFBA191CC1964952B1D795FMSMSX105amrcor_"
MIME-Version: 1.0
Subject: Re: [storm] iWARP Storm RFC Comment
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Sep 2013 21:24:23 -0000

--_000_2ABFA3E36CBB794685BFBA191CC1964952B1D795FMSMSX105amrcor_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Thanks Don!  We shortened the sentence as you suggested.

Thanks,
Bob

From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf Of W=
ood, Donald E
Sent: Monday, July 08, 2013 2:38 PM
To: storm@ietf.org
Subject: [storm] iWARP Storm RFC Comment

The following text is in section 6.1:

*           At the Data Sink:

*                If the Immediate Data operation is Completed successfully,=
 the RDMAP Layer passes the following information to the ULP Layer:

*                Eight bytes of Immediate Data

*                An Event, if the Data Sink is configured to generate an Ev=
ent and the RDMA Message Opcode indicates Message Type Immediate Data with =
Solicited Event.
The last bullet is either says too much or too little but is not complete a=
s written.  The Immediate Data Message (without Solicited Event) may also c=
ause an event.

One approach is to stop the sentence sooner, "An Event, if the Data Sink is=
 configured to generate an Event."

Another approach is to add another bullet that says almost the same thing, =
"An Event, if the Data Sink is configured to generate an Event and the RDMA=
 Message Opcode indicates Message Type Immediate Data."

Don Wood

--_000_2ABFA3E36CBB794685BFBA191CC1964952B1D795FMSMSX105amrcor_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoListBullet, li.MsoListBullet, div.MsoListBullet
	{mso-style-priority:99;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:12.0pt;
	margin-left:.25in;
	text-indent:-.25in;
	line-height:12.0pt;
	mso-line-height-rule:exactly;
	mso-list:l2 level1 lfo3;
	font-size:12.0pt;
	font-family:"Courier New";}
p.MsoListBullet2, li.MsoListBullet2, div.MsoListBullet2
	{mso-style-priority:99;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:12.0pt;
	margin-left:.5in;
	text-indent:-.25in;
	line-height:12.0pt;
	mso-line-height-rule:exactly;
	mso-list:l1 level1 lfo6;
	font-size:12.0pt;
	font-family:"Courier New";}
p.MsoListBullet3, li.MsoListBullet3, div.MsoListBullet3
	{mso-style-priority:99;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:12.0pt;
	margin-left:.75in;
	text-indent:-.25in;
	line-height:12.0pt;
	mso-line-height-rule:exactly;
	mso-list:l0 level1 lfo9;
	font-size:12.0pt;
	font-family:"Courier New";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle21
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:-126;
	mso-list-type:simple;
	mso-list-template-ids:1636229736;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-style-link:"List Bullet 3";
	mso-level-text:\F0B7;
	mso-level-tab-stop:.75in;
	mso-level-number-position:left;
	margin-left:.75in;
	text-indent:-.25in;
	font-family:Symbol;
	mso-bidi-font-family:Symbol;}
@list l1
	{mso-list-id:-125;
	mso-list-type:simple;
	mso-list-template-ids:476511514;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-style-link:"List Bullet 2";
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;
	mso-bidi-font-family:Symbol;}
@list l2
	{mso-list-id:-119;
	mso-list-type:simple;
	mso-list-template-ids:-154360592;}
@list l2:level1
	{mso-level-number-format:bullet;
	mso-level-style-link:"List Bullet";
	mso-level-text:\F0B7;
	mso-level-tab-stop:.25in;
	mso-level-number-position:left;
	margin-left:.25in;
	text-indent:-.25in;
	font-family:Symbol;
	mso-bidi-font-family:Symbol;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Thanks Don!&nbsp; We s=
hortened the sentence as you suggested.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Thanks,<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Bob<o:p></o:p></span><=
/p>
</div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b>From:</b> storm-bounces@ietf.org [mailto:storm-bo=
unces@ietf.org]
<b>On Behalf Of </b>Wood, Donald E<br>
<b>Sent:</b> Monday, July 08, 2013 2:38 PM<br>
<b>To:</b> storm@ietf.org<br>
<b>Subject:</b> [storm] iWARP Storm RFC Comment<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The following text is in section 6.1:<o:p></o:p></p>
<p class=3D"MsoListBullet" style=3D"margin-left:.6in;text-indent:-.3in;mso-=
list:l2 level1 lfo3">
<![if !supportLists]><span style=3D"font-family:Symbol"><span style=3D"mso-=
list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roman&quot;"=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>At the Data Sink:<o:p></o:p></p>
<p class=3D"MsoListBullet2" style=3D"margin-left:1.1in;text-indent:-.4in;ms=
o-list:l1 level1 lfo6">
<![if !supportLists]><span style=3D"font-family:Symbol"><span style=3D"mso-=
list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roman&quot;"=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
</span></span></span><![endif]>If the Immediate Data operation is Completed=
 successfully, the RDMAP Layer passes the following information to the ULP =
Layer:<o:p></o:p></p>
<p class=3D"MsoListBullet3" style=3D"margin-left:1.5in;text-indent:-.4in;ms=
o-list:l0 level1 lfo9">
<![if !supportLists]><span style=3D"font-family:Symbol"><span style=3D"mso-=
list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roman&quot;"=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
</span></span></span><![endif]>Eight bytes of Immediate Data<o:p></o:p></p>
<p class=3D"MsoListBullet3" style=3D"margin-left:1.5in;text-indent:-.4in;ms=
o-list:l0 level1 lfo9">
<![if !supportLists]><span style=3D"font-family:Symbol"><span style=3D"mso-=
list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roman&quot;"=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
</span></span></span><![endif]>An Event, if the Data Sink is configured to =
generate an Event and the RDMA Message Opcode indicates Message Type Immedi=
ate Data with Solicited Event.<o:p></o:p></p>
<p class=3D"MsoNormal">The last bullet is either says too much or too littl=
e but is not complete as written.&nbsp; The Immediate Data Message (without=
 Solicited Event) may also cause an event.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">One approach is to stop the sentence sooner, &#8220;=
An Event, if the Data Sink is configured to generate an Event.&#8221;&nbsp;
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Another approach is to add another bullet that says =
almost the same thing, &#8220;An Event, if the Data Sink is configured to g=
enerate an Event and the RDMA Message Opcode indicates Message Type Immedia=
te Data.&#8221;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Don Wood<o:p></o:p></p>
</div>
</div>
</body>
</html>

--_000_2ABFA3E36CBB794685BFBA191CC1964952B1D795FMSMSX105amrcor_--

From robert.o.sharp@intel.com  Thu Sep  5 15:20:30 2013
Return-Path: <robert.o.sharp@intel.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C9DFA21E816E for <storm@ietfa.amsl.com>; Thu,  5 Sep 2013 15:20:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level: 
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_92=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S-YBvZxafvv9 for <storm@ietfa.amsl.com>; Thu,  5 Sep 2013 15:20:25 -0700 (PDT)
Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by ietfa.amsl.com (Postfix) with ESMTP id 0CF8F21E816D for <storm@ietf.org>; Thu,  5 Sep 2013 15:20:24 -0700 (PDT)
Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 05 Sep 2013 15:20:24 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.90,849,1371106800"; d="scan'208";a="391729547"
Received: from fmsmsx105.amr.corp.intel.com ([10.19.9.36]) by fmsmga001.fm.intel.com with ESMTP; 05 Sep 2013 15:20:12 -0700
Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX105.amr.corp.intel.com (10.19.9.36) with Microsoft SMTP Server (TLS) id 14.3.123.3; Thu, 5 Sep 2013 15:20:12 -0700
Received: from fmsmsx105.amr.corp.intel.com ([169.254.5.91]) by FMSMSX114.amr.corp.intel.com ([10.18.116.8]) with mapi id 14.03.0123.003; Thu, 5 Sep 2013 15:20:12 -0700
From: "Sharp, Robert O" <robert.o.sharp@intel.com>
To: "Black, David" <david.black@emc.com>, "storm@ietf.org" <storm@ietf.org>
Thread-Topic: David Black's review of draft-ietf-storm-rdmap-ext-04
Thread-Index: Ac555JDwK6QsDppJRjas//rbxrYADQwn8w8Q
Date: Thu, 5 Sep 2013 22:20:11 +0000
Message-ID: <2ABFA3E36CBB794685BFBA191CC1964952B1D820@FMSMSX105.amr.corp.intel.com>
References: <8D3D17ACE214DC429325B2B98F3AE712983F2ABC@MX15A.corp.emc.com>
In-Reply-To: <8D3D17ACE214DC429325B2B98F3AE712983F2ABC@MX15A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.1.200.106]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [storm] David Black's review of draft-ietf-storm-rdmap-ext-04
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Sep 2013 22:20:30 -0000

Hi David,

Thanks for the comments!  The author's responses are embedded below...

Thanks,
Bob

> -----Original Message-----
> From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf
> Of Black, David
> Sent: Friday, July 05, 2013 8:03 PM
> To: storm@ietf.org
> Subject: [storm] David Black's review of draft-ietf-storm-rdmap-ext-04
>=20
> As I previously indicated, the authors should revise what they can reason=
ably
> edit this coming week and submit a -05 version of this draft by the midni=
ght
> UTC cutoff on Monday, July 15 [WARNING - that's midnight Greenwich (Zulu)
> Time, not any US Time and not British Summer Time!].
>=20
> I'm happy to carry any of the comments below over to become initial WG
> Last Call comments on that -05 version due to the severe delays in dealin=
g
> with this draft.
>=20
> Surprising omission - the term "atomic" is never defined (!).  No, the
> definition is not obvious ... a crucial question (which could be answered=
 by a
> definition or in Section 5.3) is: "Atomic with respect to what?".
> There are atomic operations defined in other contexts that are atomic onl=
y
> with respect to other atomic operations (and not atomic wrt other non-
> atomic operations), and I think considerably more is intended here.
> Section 7 does not appear to be sufficient, as it describes behavior from=
 the
> viewpoint of a single operation issuer, which does not include behavior w=
ith
> respect to operations that may have been issued from elsewhere, including
> local memory access by the Remote Peer.

[Authors] Significant text has been added to describe atomic behavior. The =
wire protocol only covers atomicity between atomic operations on streams in=
 the context of a single RNIC.  It does not cover other RNIC behaviors that=
 cover multiple RNICs or between host software not using the RNIC.

>=20
> Section 4 - say how large the Atomic Request and Atomic Response headers
> are.

[Authors] Addressed in draft

>=20
> Section 4.1 - I think Figure 1 actually contains 3 fields - the two Contr=
ol Fields
> and the Invalidate STag field (see Figure 4 in RFC 5040).  It would be he=
lpful
> to add some text below the figure to indicate which bytes are which field
> (this is also a problem in RFC 5040).  Appendix A helps, but the field
> delineations really need to be here.

[Authors] Text added=A0

>=20
> Throughout section 5 - these operations are specified in terms of
> "destination address".  Would it be better to talk about "buffer offset"?

[Authors] Good comment.  Switched to ULP Buffer address terminology to be c=
onsistent with the other drafts.

>=20
> Section 5:
>=20
>    The discovery of whether the Atomic
>    Operations are implemented or not is outside the scope of this
>    specification and it should be handled by the ULPs or applications.
>=20
> That's just asking for an IESG Discuss position :-).  At least say someth=
ing
> about how discovery could work.  Moreover, what's wrong with just trying =
an
> atomic operation?  If the operation fails, the resulting error will be:
>=20
>    0x0/0x2/0x06, Remote Operation Error / Unexpected OpCode
>=20
> It looks like a FetchAdd with Add Data=3D0 is a no-op that could safely b=
e used
> for this purpose, providing a simple robust discovery mechanism.

[Authors] Added text describing current discovery mechanisms and how this n=
ew capability fits in.

> As part of this, I would add a requirement that if any of the atomic oper=
ations
> are supported, then all of them MUST be supported, so that the FetchAdd
> no-op can be used to discover all of them.

[Authors] All MUST be supported has been added.

>=20
> Section 5.1.1:
>=20
> The "multiple fields of selectable length" text in the Add Mask descripti=
on is
> not clear - I see how this works, but an example that uses an Add Mask to
> designate multiple fields would help.

[Authors] Since there are no other operation examples in the document, we a=
re not sure if we want to add one for this.
However, here is an example:

Remote Data Value: 0x000000000000CDEF
Add Data: 0x000000000000789A
Add Mask: 0x0000000000000808 =3D=3D b'0..0100000001000'

In this example, the Add Mask specifies that there are three independent fi=
elds to be added.  That is, the carry is not propagated from one field to t=
he next.
The fields are:
	Bits 0 - 3
	Bits 4 - 11
	Bits 12 - 63

The results of adding the Remote Data Value and the Add Data for each field=
 are:
	0xF + 0xA =3D 0X9		(carry is dropped)
	0xDE + 0x89 =3D 0x67	(carry is dropped)
	0xC + 0x7 =3D 0x13
The result of the operation is 0x0000000000013679.

>=20
> the FetchAdd pseudo code contains a lot of doubled complement
> operations, e.g., carry =3D !(!(sum & 2)) - why is that not carry =3D sum=
 & 2 ??

[Authors]  The double complement gives a result of 0 or 1 depending on whet=
her the value is zero or non-zero.  The subsequent calculations rely on thi=
s.
It is the equivalent of:
	If (sum & 2)
		carry =3D 1
	else
		carry =3D 0

>=20
> Section 5.1.2
>=20
> This sentence in the last paragraph is problematic standing by itself:
>=20
>    Additionally an error MUST be surfaced and a terminate
>    message MUST be generated.
>=20
> I think that needs to be combined with the previous sentence to introduce=
 a
> bullet list of what has to happen when a non-64-bit-aligned address is us=
ed:
>=20
> 	If a Swap Atomic Operation is attempted on a target buffer address
> 	that is not 64-bit aligned, then:
>=20
> 	o The operation MUST NOT be performed,
> 	o The Responder's memory MUST NOT be modified,
> 	o The result MUST be surfaced as an error, and
> 	o A terminate message MUST be generated.
>=20
> In addition, it's important to say which error is generated.  Section 8.2
> indicates 0x0/0x2/0x07, Remote Operation Error / Catastrophic error,
> localized to RDMAP Stream - say that here also.

[Authors] Section reworked as suggest.  The specific error code is referenc=
ed instead of repeated.

>=20
> Section 5.1.3
>=20
> Same comments as last paragraph in Section 5.1.2
>=20
> This section uses "Original Remote Data Value".  Sections 5.1.1 and 5.1.2=
 use
> "Original Remote Data".  All three should use the same term, and based on
> Section 5.2.2, "Original Remote Data Value" appears to be correct.

[Authors] Corrected

>=20
> Section 5.2.1
>=20
>      Request Identifier: 32 bits.
>=20
>          The Request Identifier specifies a number that is used to
>          identify Atomic Operation Request Message. The use of this
>          field is implementation dependent and outside the scope of
>          this specification.
>=20
> That's not right.  This identifier is returned in the response and used b=
y the
> Requestor to associate the response to the request.  The Requestor can
> choose any value it likes that enables it to do that, and the details of =
how
> those values are generated is outside the scope of this specification, bu=
t
> their use is definitely in scope.

[Authors] Good catch.  Corrected.

>=20
> Section 10, IANA Considerations:
>=20
>    0x9, Immediate Data with SE, [RFCXXXX]
>=20
> Spell out SE as "Solicited Event"

[Authors] Corrected.

>=20
> Section 10.1
>=20
> This one's my fault, partly.  The specification of the new registry is ba=
sed on a
> version of the rddp registries draft that was subsequently changed (e.g.,=
 the
> Assignment Policy paragraph needs to be removed.
>=20
> See the -02 version of the rddp registries draft for text to use as a mod=
el:
>=20
> http://tools.ietf.org/id/draft-ietf-storm-rddp-registries-02.txt
>=20
> I'd suggest working from Section 3.5 in that -02 version.

[Authors] Corrected.we think.  Also added a Queue Number Registry.

>=20
> Thanks,
> --David
> ----------------------------------------------------
> David L. Black, Distinguished Engineer
> EMC Corporation, 176 South St., Hopkinton, MA=A0 01748
> +1 (508) 293-7953=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FAX: +1 (508) 293-7=
786
> david.black@emc.com=A0=A0=A0=A0=A0=A0=A0 Mobile: +1 (978) 394-7754
> ----------------------------------------------------
>=20
>=20
> _______________________________________________
> storm mailing list
> storm@ietf.org
> https://www.ietf.org/mailman/listinfo/storm

From ttalpey@microsoft.com  Fri Sep  6 12:08:07 2013
Return-Path: <ttalpey@microsoft.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4978111E80F6 for <storm@ietfa.amsl.com>; Fri,  6 Sep 2013 12:08:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.599
X-Spam-Level: 
X-Spam-Status: No, score=-103.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id teDFaKI7g6OC for <storm@ietfa.amsl.com>; Fri,  6 Sep 2013 12:08:01 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0154.outbound.protection.outlook.com [207.46.163.154]) by ietfa.amsl.com (Postfix) with ESMTP id C793811E80EF for <storm@ietf.org>; Fri,  6 Sep 2013 12:08:00 -0700 (PDT)
Received: from DM2PR03CA005.namprd03.prod.outlook.com (10.141.52.153) by BLUPR03MB615.namprd03.prod.outlook.com (10.255.124.43) with Microsoft SMTP Server (TLS) id 15.0.745.25; Fri, 6 Sep 2013 19:07:58 +0000
Received: from BL2FFO11FD031.protection.gbl (2a01:111:f400:7c09::23) by DM2PR03CA005.outlook.office365.com (2a01:111:e400:2414::25) with Microsoft SMTP Server (TLS) id 15.0.745.25 via Frontend Transport; Fri, 6 Sep 2013 19:07:57 +0000
Received: from mail.microsoft.com (131.107.125.37) by BL2FFO11FD031.mail.protection.outlook.com (10.173.160.71) with Microsoft SMTP Server (TLS) id 15.0.755.13 via Frontend Transport; Fri, 6 Sep 2013 19:07:56 +0000
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.18]) by TK5EX14MLTC104.redmond.corp.microsoft.com ([157.54.79.159]) with mapi id 14.03.0136.001; Fri, 6 Sep 2013 19:06:50 +0000
From: Tom Talpey <ttalpey@microsoft.com>
To: "storm@ietf.org" <storm@ietf.org>
Thread-Topic: Review comments on updated draft-ietf-storm-rdmap-ext-05
Thread-Index: Ac6rLXpUjkn7KoQ2RSGtVeoLesL+IA==
Date: Fri, 6 Sep 2013 19:06:49 +0000
Message-ID: <614F550557B82C44AC27C492ADA391AA14A28CC4@TK5EX14MBXC284.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.35]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(189002)(199002)(51914003)(33656001)(81816001)(65816001)(47446002)(66066001)(80022001)(50466002)(83072001)(53806001)(44976005)(77096001)(56816003)(46102001)(74502001)(83322001)(69226001)(74366001)(81686001)(46406003)(31966008)(74662001)(54356001)(81542001)(20776003)(59766001)(63696002)(47776003)(47736001)(79102001)(23726002)(50986001)(47976001)(80976001)(6806004)(49866001)(51856001)(76176001)(4396001)(76482001)(74706001)(77982001)(54316002)(55846006)(56776001)(76786001)(81342001)(76796001)(74876001); DIR:OUT; SFP:; SCL:1; SRVR:BLUPR03MB615; H:mail.microsoft.com; CLIP:131.107.125.37; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0961DF5286
X-OriginatorOrg: DuplicateDomain-a84fc36a-4ed7-4e57-ab1c-3e967bcbad48.microsoft.com
Subject: [storm] Review comments on updated draft-ietf-storm-rdmap-ext-05
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Sep 2013 19:08:07 -0000

Authors, thanks for the updates to the RDMA Extensions draft based on comme=
nts received.

I have some comments on the recent set of changes, which I would like to di=
scuss before considering this version ready for Working Group Last Call.


1) Section 1.1 "Discovery of RDMAP Extensions" was added and addresses many=
 of my earlier concerns. However, it says the following:

     " Today there are RDMA applications and/or ULPs that are aware of the =
=20
       existence of Atomic and Immediate data operations for RDMA =20
       transports such as [IB].  Today, these applications need to be aware=
 =20
       that iWARP RNICs do not support these operations."
and
     "Negotiation of Atomic Operations typically are to determine the =20
       scope of atomicity guarantees, not down to the individual Atomic =20
       Operations supported.  Therefore, this specification requires all =20
       Atomic Operations defined within to be supported if an RNIC supports=
 =20
       any Atomic Operations."
Subsequently, section 5 now says:
     " The Atomic Operations specified in this document provide =20
       equivalent functionality to the [IB] RDMA transport, to allow =20
       applications that use these primitives to work interchangeably over =
=20
       iWARP. In addition, this document specifies a basic Swap operation."

That last sentence extends Atomics beyond those of Infiniband, and this in =
turn contradicts the goal stated in section 1.1 that applications should no=
t need to be aware of differences. This inconsistency needs to be addressed=
.


2) While the text has been updated to specify the target of Atomic operatio=
ns as a registered ULP buffer, it does not discuss the fact that this is co=
mpatible with (indeed, required by) the RFC5042 security model. This should=
 be made explicit, and the reference made explicit.


3) In section 5.4, an "Implementation note" uses the invalid term "MAY NOT"=
. Perhaps this means to say the behavior is "OPTIONAL"? Or is it "MUST NOT"=
? As a general comment, when implementation notes contain normative languag=
e, they are not actually notes,. It may be safer to make specific requireme=
nts here, and also check the other notes.


4) In section 6, it is not clear what advice this statement is making. Is i=
t intended to be normative, saying that Immediate Data operations always do=
 this? If so, it should move to the processing text below. Also, the term "=
RDMA Completion" appears three times in this paragraph, but is not defined.=
 Do you mean simply "Completion"?

     " An Immediate Data operation that is not preceded by an RDMA =20
       Write operation causes an RDMA Completion."



5) Nits:

Section 1.1 could use a paragraph break for improved readability.


In the Glossary, ULP is defined as "Upper Level Protocol". The existing 504=
x RFCs, and I believe common usage, use "Upper Layer Protocol". Suggest usi=
ng this definition.

Also in the Glossary, this statement should be moved from the definition of=
 Atomics, to section 5:
    " Atomicity guarantees =20
       across multiple RNICs or between other applications/ULPs running on =
=20
       the Responder with access to the ULP Buffer are outside the scope of=
 =20
       this specification.

In section 4.1, the sentence beginning "This extension defines RDMAP use Qu=
eue Number 3..." appears to be missing a word ("use of"?).

RFC5042 is not referenced in the body, but it appears as a normative refere=
nce. It should be referenced, perhaps from section 5 in the discussion of t=
he target of Atomic operations.

The document has a small number of id-nits which should be corrected.


From iesg-secretary@ietf.org  Fri Sep  6 13:01:36 2013
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8CD7111E816F; Fri,  6 Sep 2013 13:01:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.499
X-Spam-Level: 
X-Spam-Status: No, score=-102.499 tagged_above=-999 required=5 tests=[AWL=0.101, BAYES_00=-2.599, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nP7MX9fXKhzg; Fri,  6 Sep 2013 13:01:36 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id A243211E8193; Fri,  6 Sep 2013 13:01:35 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: IETF-Announce <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 4.70.p1
Message-ID: <20130906200135.10737.58630.idtracker@ietfa.amsl.com>
Date: Fri, 06 Sep 2013 13:01:35 -0700
Cc: storm mailing list <storm@ietf.org>, storm chair <storm-chairs@tools.ietf.org>, RFC Editor <rfc-editor@rfc-editor.org>
Subject: [storm] Protocol Action: 'Definitions of Managed Objects for Internet Small	Computer System Interface (iSCSI)' to Proposed Standard	(draft-ietf-storm-iscsimib-04.txt)
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Sep 2013 20:01:36 -0000

The IESG has approved the following document:
- 'Definitions of Managed Objects for Internet Small Computer System
   Interface (iSCSI)'
  (draft-ietf-storm-iscsimib-04.txt) as Proposed Standard

This document is the product of the STORage Maintenance Working Group.

The IESG contact persons are Martin Stiemerling and Spencer Dawkins.

A URL of this Internet Draft is:
http://datatracker.ietf.org/doc/draft-ietf-storm-iscsimib/




Technical Summary

  This document defines a portion of the Management Information Base
   (MIB) for use with network management protocols. In particular, it
   defines objects for managing a client using the Internet Small
   Computer System Interface (iSCSI) protocol (SCSI over TCP).

   This document makes minor updates to the iSCSI MIB originally
   defined in RFC 4544 to match the current SCSI specifications.


Working Group Summary

  The document has had sufficient review from key WG members.  This is a
  minor update of the iSCSI MIB and benefits from WG review of the
  iSCSI drafts to which it corresponds.

Document Quality

   There are multiple implementations of the iSCSI MIB (RFC 4544)
   that is updated by this document.
   The MIB has been reviewed by the MIB Doctors.

Personnel

David L. Black (david.black@emc.com) is the Document Shepherd.
Martin Stiemerling (martin.stiemerling@neclab.eu) is the responsible Area Director.

RFC Editor Note

In Section 9. "IANA Considerations" please replace the following:
OLD

   RFC Editor's Note (to be removed prior to publication):  this draft
   makes no additional requests of the IANA. IANA is required to update
   the reference for the mib-2 142 to this document.

NEW (new text is *NOT* an RFC Editor's note)

   IANA is requested to update the reference for the mib-2 142 identifier
   to this document.

From david.black@emc.com  Fri Sep  6 16:14:36 2013
Return-Path: <david.black@emc.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A7F0721F9F23 for <storm@ietfa.amsl.com>; Fri,  6 Sep 2013 16:14:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.438
X-Spam-Level: 
X-Spam-Status: No, score=-102.438 tagged_above=-999 required=5 tests=[AWL=-0.439, BAYES_00=-2.599, J_CHICKENPOX_92=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bsxtaWgAOT4z for <storm@ietfa.amsl.com>; Fri,  6 Sep 2013 16:14:32 -0700 (PDT)
Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) by ietfa.amsl.com (Postfix) with ESMTP id C501C21F9EAE for <storm@ietf.org>; Fri,  6 Sep 2013 16:14:30 -0700 (PDT)
Received: from maildlpprd53.lss.emc.com (maildlpprd53.lss.emc.com [10.106.48.157]) by mailuogwprd52.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r86NEOMH021534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Sep 2013 19:14:24 -0400
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd52.lss.emc.com r86NEOMH021534
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1378509264; bh=8dZyM3V3aVnDAiiQmOi585J5tUE=; h=From:To:Date:Subject:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=oZQ6FqXQJ5IFp/u2ykggGKAWFrwYv8jNThxnce5hoff1ZnSLIzyIR/Su990RHEuBC oVuUbExzn4+4tcP07aQkcubWo1dqukBZ4//SKhTnitmiV+OayWeTJ1oeuYj1O/IHLk st7sk9xWAE0C6YOPH6DF6iL6BQATgjnBIKEMvxvs=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd52.lss.emc.com r86NEOMH021534
Received: from mailusrhubprd01.lss.emc.com (mailusrhubprd01.lss.emc.com [10.253.24.19]) by maildlpprd53.lss.emc.com (RSA Interceptor); Fri, 6 Sep 2013 19:14:15 -0400
Received: from mxhub07.corp.emc.com (mxhub07.corp.emc.com [128.222.70.204]) by mailusrhubprd01.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r86NEFXm027933 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 6 Sep 2013 19:14:15 -0400
Received: from mx15a.corp.emc.com ([169.254.1.46]) by mxhub07.corp.emc.com ([128.222.70.204]) with mapi; Fri, 6 Sep 2013 19:14:14 -0400
From: "Black, David" <david.black@emc.com>
To: "Sharp, Robert O" <robert.o.sharp@intel.com>, "storm@ietf.org" <storm@ietf.org>
Date: Fri, 6 Sep 2013 19:14:14 -0400
Thread-Topic: David Black's review of draft-ietf-storm-rdmap-ext-04
Thread-Index: Ac555JDwK6QsDppJRjas//rbxrYADQwn8w8QADLAiRA=
Message-ID: <8D3D17ACE214DC429325B2B98F3AE712025D76270F@MX15A.corp.emc.com>
References: <8D3D17ACE214DC429325B2B98F3AE712983F2ABC@MX15A.corp.emc.com> <2ABFA3E36CBB794685BFBA191CC1964952B1D820@FMSMSX105.amr.corp.intel.com>
In-Reply-To: <2ABFA3E36CBB794685BFBA191CC1964952B1D820@FMSMSX105.amr.corp.intel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd01.lss.emc.com
X-EMM-GWVC: 1
X-EMM-McAfeeVC: 1
X-RSA-Classifications: DLM_1, public
Subject: Re: [storm] David Black's review of draft-ietf-storm-rdmap-ext-04
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Sep 2013 23:14:36 -0000

Hi Robert,

The new -05 draft is a definite improvement.  I have a few comments to add =
-
anything that I haven't commented on here is fine (at least for me).

[1] Atomics and software running on local host (3, although I agree with To=
m's
suggestion to move the text about what's not covered, including whatever
is added/done to respond to this comment).

> [Authors] Significant text has been added to describe atomic behavior. Th=
e
> wire protocol only covers atomicity between atomic operations on streams =
in
> the context of a single RNIC.  It does not cover other RNIC behaviors tha=
t
> cover multiple RNICs or between host software not using the RNIC.

I'm surprised by the latter (host software not using the RNIC).  How does s=
uch
host software that wants to coordinate w/remote atomic operations do so?

Obviously, the main memory subsystem won't do that, but do RNIC implementat=
ions
provide a way to ask the RNIC to do something to local memory that behaves
atomically wrt remote atomic ops (obviously that would be slower than just
accessing the memory from the/a main CPU)?  If so, a sentence pointing out
that this may be available (possibly depending on the RNIC) would be helpfu=
l.

Also the following change would help:

OLD
        Atomicity guarantees
        across multiple RNICs or between other applications/ULPs running on
        the Responder with access to the ULP Buffer are outside the scope o=
f
        this specification.
NEW
        Atomic operations do not provide atomicity guarantees   across mult=
iple
      RNICs or with other applications/ULPs running on the Responder that
      can access the ULP Buffer.

My primary reason for this change is to remove the "outside the
scope of this specification" language.  That's not typical IETF usage,
and is likely to attract unwanted/unwarranted reviewer attention.  It's
better to state what isn't happening.

[2] Discovery (1.1)

> > Moreover, what's wrong with just trying an
> > atomic operation?  If the operation fails, the resulting error will be:
> >
> >    0x0/0x2/0x06, Remote Operation Error / Unexpected OpCode
> >
> > It looks like a FetchAdd with Add Data=3D0 is a no-op that could safely=
 be used
> > for this purpose, providing a simple robust discovery mechanism.
>
> [Authors] Added text describing current discovery mechanisms and how this=
 new
> capability fits in.

Even if the authors don't want to recommend this approach (try an atomic No=
-Op;
either it works or generates an Unexpected OpCode error), please add a sent=
ence
pointing out that it is possible.

[3] Add Mask description (5.1.1)

> > The "multiple fields of selectable length" text in the Add Mask descrip=
tion is
> > not clear - I see how this works, but an example that uses an Add Mask =
to
> > designate multiple fields would help.
>
> [Authors] Since there are no other operation examples in the document, we=
 are
> not sure if we want to add one for this.
> However, here is an example:

I see (says the blind man) - I agree that the example is too long to add, b=
ut
it did help me figure out what appears to be missing.  My confusion was cau=
sed
by the following sentence:

   A bit set in the Add Mask field specifies the field boundary.

This longer sentence would have avoided my confusion:

   A bit set in the Add Mask field specifies the field boundary; for each
   field, a bit is set at the most significant bit position for each field,
   causing any carry out of that bit position to be discarded when the
   addition is performed.

Please use the longer sentence.

[3] FetchAdd pseudo code (5.1.1)

> > the FetchAdd pseudo code contains a lot of doubled complement
> > operations, e.g., carry =3D !(!(sum & 2)) - why is that not carry =3D s=
um & 2 ??
>
> [Authors]  The double complement gives a result of 0 or 1 depending on wh=
ether
> the value is zero or non-zero.  The subsequent calculations rely on this.
> It is the equivalent of:
>       If (sum & 2)
>               carry =3D 1
>       else
>               carry =3D 0

Ok, but that seems too clever; the following would be clearer ('>>' denotes=
 a
right logical shift):

        carry =3D (sum & 2) >> 1

For the other two instances, the loop index provides the shift quantity, e.=
g.,

OLD
      val1 =3D !(!(Original Remote Data Value & bit_location))
NEW
      val1 =3D (Original Remote Data Value & bit_location) >> bit

I would prefer that shift operations be used instead of doubled complement
operations.

[4] Swap editorial nit (5.1.2)

> > This sentence in the last paragraph is problematic standing by itself:
> >
> >    Additionally an error MUST be surfaced and a terminate
> >    message MUST be generated.
> >
> > I think that needs to be combined with the previous sentence to introdu=
ce a
> > bullet list of what has to happen when a non-64-bit-aligned address is =
used:
> >
> >     If a Swap Atomic Operation is attempted on a target buffer address
> >     that is not 64-bit aligned, then:
> >
> >     o The operation MUST NOT be performed,
> >     o The Responder's memory MUST NOT be modified,
> >     o The result MUST be surfaced as an error, and
> >     o A terminate message MUST be generated.
> >
> > In addition, it's important to say which error is generated.  Section 8=
.2
> > indicates 0x0/0x2/0x07, Remote Operation Error / Catastrophic error,
> > localized to RDMAP Stream - say that here also.
>
> [Authors] Section reworked as suggest.  The specific error code is refere=
nced
> instead of repeated.

Change the sentence before the itemized list to the new sentence above
that starts with "If a" and make the same change to the CmpSwap text in the
next section.

[5] Request Identifier for Atomic operations (5.2.1)

Editorial change:

OLD
         The Request Identifier specifies a number that is used to
         identify Atomic Operation Request Message. The value used in
         this field is implementation dependent and outside the scope
         of this specification. The value of this field is reflected
         back to the Local Peer in the Atomic Operation Response
         message.
NEW
         The Request Identifier specifies a number that is used to
         identify Atomic Operation Request Message. The value used in
         this field is selected by the RNIC that sends this message,
         and is reflected back to the Local Peer in the Atomic
         Operation Response message.

My primary reason this change is to remove the "outside the
scope of this specification" language.  That's not typical IETF usage,
and is likely to attract unwanted/unwarranted reviewer attention.

[6] IANA Considerations.

I'll almost certainly find some more text changes that'll be needed
here - I'll provide those as comments during WG Last Call.  For starters,
the last paragraph in Section 10 should call IANA's attention to the
two new registries (not just one) and say that they are in Sections
10.1 and 10.2.

Thanks,
--David

> -----Original Message-----
> From: Sharp, Robert O [mailto:robert.o.sharp@intel.com]
> Sent: Thursday, September 05, 2013 6:20 PM
> To: Black, David; storm@ietf.org
> Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
>
> Hi David,
>
> Thanks for the comments!  The author's responses are embedded below...
>
> Thanks,
> Bob
>
> > -----Original Message-----
> > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf
> > Of Black, David
> > Sent: Friday, July 05, 2013 8:03 PM
> > To: storm@ietf.org
> > Subject: [storm] David Black's review of draft-ietf-storm-rdmap-ext-04
> >
> > As I previously indicated, the authors should revise what they can
> reasonably
> > edit this coming week and submit a -05 version of this draft by the mid=
night
> > UTC cutoff on Monday, July 15 [WARNING - that's midnight Greenwich (Zul=
u)
> > Time, not any US Time and not British Summer Time!].
> >
> > I'm happy to carry any of the comments below over to become initial WG
> > Last Call comments on that -05 version due to the severe delays in deal=
ing
> > with this draft.
> >
> > Surprising omission - the term "atomic" is never defined (!).  No, the
> > definition is not obvious ... a crucial question (which could be answer=
ed by
> a
> > definition or in Section 5.3) is: "Atomic with respect to what?".
> > There are atomic operations defined in other contexts that are atomic o=
nly
> > with respect to other atomic operations (and not atomic wrt other non-
> > atomic operations), and I think considerably more is intended here.
> > Section 7 does not appear to be sufficient, as it describes behavior fr=
om
> the
> > viewpoint of a single operation issuer, which does not include behavior=
 with
> > respect to operations that may have been issued from elsewhere, includi=
ng
> > local memory access by the Remote Peer.
>
> [Authors] Significant text has been added to describe atomic behavior. Th=
e
> wire protocol only covers atomicity between atomic operations on streams =
in
> the context of a single RNIC.  It does not cover other RNIC behaviors tha=
t
> cover multiple RNICs or between host software not using the RNIC.
>
> >
> > Section 4 - say how large the Atomic Request and Atomic Response header=
s
> > are.
>
> [Authors] Addressed in draft
>
> >
> > Section 4.1 - I think Figure 1 actually contains 3 fields - the two Con=
trol
> Fields
> > and the Invalidate STag field (see Figure 4 in RFC 5040).  It would be
> helpful
> > to add some text below the figure to indicate which bytes are which fie=
ld
> > (this is also a problem in RFC 5040).  Appendix A helps, but the field
> > delineations really need to be here.
>
> [Authors] Text added
>
> >
> > Throughout section 5 - these operations are specified in terms of
> > "destination address".  Would it be better to talk about "buffer offset=
"?
>
> [Authors] Good comment.  Switched to ULP Buffer address terminology to be
> consistent with the other drafts.
>
> >
> > Section 5:
> >
> >    The discovery of whether the Atomic
> >    Operations are implemented or not is outside the scope of this
> >    specification and it should be handled by the ULPs or applications.
> >
> > That's just asking for an IESG Discuss position :-).  At least say some=
thing
> > about how discovery could work.  Moreover, what's wrong with just tryin=
g an
> > atomic operation?  If the operation fails, the resulting error will be:
> >
> >    0x0/0x2/0x06, Remote Operation Error / Unexpected OpCode
> >
> > It looks like a FetchAdd with Add Data=3D0 is a no-op that could safely=
 be
> used
> > for this purpose, providing a simple robust discovery mechanism.
>
> [Authors] Added text describing current discovery mechanisms and how this=
 new
> capability fits in.
>
> > As part of this, I would add a requirement that if any of the atomic
> operations
> > are supported, then all of them MUST be supported, so that the FetchAdd
> > no-op can be used to discover all of them.
>
> [Authors] All MUST be supported has been added.
>
> >
> > Section 5.1.1:
> >
> > The "multiple fields of selectable length" text in the Add Mask descrip=
tion
> is
> > not clear - I see how this works, but an example that uses an Add Mask =
to
> > designate multiple fields would help.
>
> [Authors] Since there are no other operation examples in the document, we=
 are
> not sure if we want to add one for this.
> However, here is an example:
>
> Remote Data Value: 0x000000000000CDEF
> Add Data: 0x000000000000789A
> Add Mask: 0x0000000000000808 =3D=3D b'0..0100000001000'
>
> In this example, the Add Mask specifies that there are three independent
> fields to be added.  That is, the carry is not propagated from one field =
to
> the next.
> The fields are:
>       Bits 0 - 3
>       Bits 4 - 11
>       Bits 12 - 63
>
> The results of adding the Remote Data Value and the Add Data for each fie=
ld
> are:
>       0xF + 0xA =3D 0X9         (carry is dropped)
>       0xDE + 0x89 =3D 0x67      (carry is dropped)
>       0xC + 0x7 =3D 0x13
> The result of the operation is 0x0000000000013679.
>
> >
> > the FetchAdd pseudo code contains a lot of doubled complement
> > operations, e.g., carry =3D !(!(sum & 2)) - why is that not carry =3D s=
um & 2 ??
>
> [Authors]  The double complement gives a result of 0 or 1 depending on wh=
ether
> the value is zero or non-zero.  The subsequent calculations rely on this.
> It is the equivalent of:
>       If (sum & 2)
>               carry =3D 1
>       else
>               carry =3D 0
>
> >
> > Section 5.1.2
> >
> > This sentence in the last paragraph is problematic standing by itself:
> >
> >    Additionally an error MUST be surfaced and a terminate
> >    message MUST be generated.
> >
> > I think that needs to be combined with the previous sentence to introdu=
ce a
> > bullet list of what has to happen when a non-64-bit-aligned address is =
used:
> >
> >     If a Swap Atomic Operation is attempted on a target buffer address
> >     that is not 64-bit aligned, then:
> >
> >     o The operation MUST NOT be performed,
> >     o The Responder's memory MUST NOT be modified,
> >     o The result MUST be surfaced as an error, and
> >     o A terminate message MUST be generated.
> >
> > In addition, it's important to say which error is generated.  Section 8=
.2
> > indicates 0x0/0x2/0x07, Remote Operation Error / Catastrophic error,
> > localized to RDMAP Stream - say that here also.
>
> [Authors] Section reworked as suggest.  The specific error code is refere=
nced
> instead of repeated.
>
> >
> > Section 5.1.3
> >
> > Same comments as last paragraph in Section 5.1.2
> >
> > This section uses "Original Remote Data Value".  Sections 5.1.1 and 5.1=
.2
> use
> > "Original Remote Data".  All three should use the same term, and based =
on
> > Section 5.2.2, "Original Remote Data Value" appears to be correct.
>
> [Authors] Corrected
>
> >
> > Section 5.2.1
> >
> >      Request Identifier: 32 bits.
> >
> >          The Request Identifier specifies a number that is used to
> >          identify Atomic Operation Request Message. The use of this
> >          field is implementation dependent and outside the scope of
> >          this specification.
> >
> > That's not right.  This identifier is returned in the response and used=
 by
> the
> > Requestor to associate the response to the request.  The Requestor can
> > choose any value it likes that enables it to do that, and the details o=
f how
> > those values are generated is outside the scope of this specification, =
but
> > their use is definitely in scope.
>
> [Authors] Good catch.  Corrected.
>
> >
> > Section 10, IANA Considerations:
> >
> >    0x9, Immediate Data with SE, [RFCXXXX]
> >
> > Spell out SE as "Solicited Event"
>
> [Authors] Corrected.
>
> >
> > Section 10.1
> >
> > This one's my fault, partly.  The specification of the new registry is =
based
> on a
> > version of the rddp registries draft that was subsequently changed (e.g=
.,
> the
> > Assignment Policy paragraph needs to be removed.
> >
> > See the -02 version of the rddp registries draft for text to use as a m=
odel:
> >
> > http://tools.ietf.org/id/draft-ietf-storm-rddp-registries-02.txt
> >
> > I'd suggest working from Section 3.5 in that -02 version.
>
> [Authors] Corrected.we think.  Also added a Queue Number Registry.
>
> >
> > Thanks,
> > --David
> > ----------------------------------------------------
> > David L. Black, Distinguished Engineer
> > EMC Corporation, 176 South St., Hopkinton, MA  01748
> > +1 (508) 293-7953             FAX: +1 (508) 293-7786
> > david.black@emc.com        Mobile: +1 (978) 394-7754
> > ----------------------------------------------------
> >
> >
> > _______________________________________________
> > storm mailing list
> > storm@ietf.org
> > https://www.ietf.org/mailman/listinfo/storm


From david.black@emc.com  Fri Sep  6 16:31:22 2013
Return-Path: <david.black@emc.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0D9E711E80E3 for <storm@ietfa.amsl.com>; Fri,  6 Sep 2013 16:31:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ps-P9tzKXXfp for <storm@ietfa.amsl.com>; Fri,  6 Sep 2013 16:31:18 -0700 (PDT)
Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) by ietfa.amsl.com (Postfix) with ESMTP id CDE1121F9FB5 for <storm@ietf.org>; Fri,  6 Sep 2013 16:31:17 -0700 (PDT)
Received: from maildlpprd54.lss.emc.com (maildlpprd54.lss.emc.com [10.106.48.158]) by mailuogwprd54.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r86NVBZD031708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Sep 2013 19:31:12 -0400
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd54.lss.emc.com r86NVBZD031708
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1378510272; bh=HJk/sWtA5hlWkupWc6pRtXJISGA=; h=From:To:Date:Subject:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=c8VMQWrDKpyQuXsNfNhVwdLSVSRpK9o2LgdWaMkAWJMzgl92XxRPZZz0/sawvcknJ vPRgbi2gIcgil1c9VOzSpXKLXGpkByl2+j2yWf75rT0gQKecqk+r2VL03ENPAJ6Y+d FuHKO69giI6yMDy2JMbRJFVQmZeXP4t6elnU8dv8=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd54.lss.emc.com r86NVBZD031708
Received: from mailusrhubprd04.lss.emc.com (mailusrhubprd04.lss.emc.com [10.253.24.22]) by maildlpprd54.lss.emc.com (RSA Interceptor); Fri, 6 Sep 2013 19:31:06 -0400
Received: from mxhub28.corp.emc.com (mxhub28.corp.emc.com [10.254.110.184]) by mailusrhubprd04.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r86NV54Z029874 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 6 Sep 2013 19:31:06 -0400
Received: from mx15a.corp.emc.com ([169.254.1.46]) by mxhub28.corp.emc.com ([10.254.110.184]) with mapi; Fri, 6 Sep 2013 19:31:06 -0400
From: "Black, David" <david.black@emc.com>
To: "Sharp, Robert O" <robert.o.sharp@intel.com>, Tom Talpey <ttalpey@microsoft.com>, "storm@ietf.org" <storm@ietf.org>
Date: Fri, 6 Sep 2013 19:31:04 -0400
Thread-Topic: [storm] Review comments on draft-ietf-storm-rdmap-ext
Thread-Index: Ac5865W+3+PDQi76TQWRLH3sDqnoewtj12JQADcqFOA=
Message-ID: <8D3D17ACE214DC429325B2B98F3AE712025D762712@MX15A.corp.emc.com>
References: <614F550557B82C44AC27C492ADA391AA148BF8B1@TK5EX14MBXC285.redmond.corp.microsoft.com> <2ABFA3E36CBB794685BFBA191CC1964952B1D77D@FMSMSX105.amr.corp.intel.com>
In-Reply-To: <2ABFA3E36CBB794685BFBA191CC1964952B1D77D@FMSMSX105.amr.corp.intel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd04.lss.emc.com
X-EMM-GWVC: 1
X-RSA-Classifications: DLM_1, public
X-EMM-McAfeeVC: 1
Subject: Re: [storm] Review comments on draft-ietf-storm-rdmap-ext
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Sep 2013 23:31:22 -0000

One more small item:

> > + Section 5.2.1 Atomic operation values
> >
> > >   ---------+-----------+----------+----------+---------+---------
> > >   0011b    |           |
> > >   to       | Reserved  |            Not Specified
> > >   1111b    |           |
> > >   ---------+-----------+-----------------------------------------
> >
> > ... and
> >
> > >   4. At the Responder, when an invalid Atomic Operation Request
> > >      Message is delivered to the Remote Peer's RDMAP layer, an error
> > >      is surfaced.
> >
> > Are the "Reserved" fields invalid?
> >
>
> [Authors] Yes, the reserved values are invalid.  Clarifying text has been
> added.

Unbeknownst to you, "Reserved" turns out to be a reserved word for IANA tha=
t
has a meaning different from usage in other standards bodies (we hit this i=
n
working through IANA's comments on the iscsi-sam draft).  This is not a pro=
blem
in the new IANA Considerations text, but we probably ought to also expunge
use of that word here.

I suggest deleting the above table row in Figure 5, and making the followin=
g
change to item 4 below the table:

OLD
   4. At the Responder, when an invalid Atomic Operation Request
      Message with a reserved Atomic Operation Code is delivered to the
      Remote Peer's RDMAP layer, an error MUST be surfaced.
NEW
   4. At the Responder, an error MUST be surfaced in response to delivery
      to the Remote Peer's RDMAP layer of an Atomic Operation Request
      Message with an Atomic Operation Code that the RNIC does not support.

Thanks,
--David

> -----Original Message-----
> From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf Of
> Sharp, Robert O
> Sent: Thursday, September 05, 2013 5:23 PM
> To: Tom Talpey; storm@ietf.org
> Subject: Re: [storm] Review comments on draft-ietf-storm-rdmap-ext
>
> Hi Tom,
>
> Thanks for the comments!  The author's responses are embedded below...
>
> Thanks,
> Bob
>
> > -----Original Message-----
> > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf
> > Of Tom Talpey
> > Sent: Wednesday, July 10, 2013 11:10 AM
> > To: storm@ietf.org
> > Subject: [storm] Review comments on draft-ietf-storm-rdmap-ext
> >
> > I've read and reviewed the latest RDMA Extensions draft (draft-ietf-sto=
rm-
> > rdmap-ext-04) and have the following comments.
> >
> > I have two high-level concerns. These extensions to the RDMAP protocol =
are
> > made without any versioning or capability detection between peers at th=
e
> > RDMAP level. There is a statement deep in section 5 that "discovery" of
> > Atomics needs to be performed by the upper layer or application, and no
> > similar statement is made in section 6 regarding Immediate Data.
> >
> > This seems problematic, for two reasons. First, it imposes an
> interoperability
> > burden on upper layers to perform this negotiation. That's perhaps
> > acceptable, but more discussion as to this requirement needs to be made=
,
> > and in particular some discussion of why it is *not* being performed by=
 the
> > RDMAP protocol in this extension.
>
> [Authors] Significant text has been added to describe application level
> discovery used today and how this new capability fits in to the current
> discovery.
>
> >
> > Second, there is no discussion of why the chosen set of operations is
> > necessary, or sufficient. The Introduction states that (unspecified)
> > applications are able to use Atomics and Immediate Data on "other"
> > (unspecified) RDMA transports, but there is no discussion of whether th=
e
> > operations are sufficient. And, when comparing the Atomics in this
> > document to, for example, Infiniband, there is an additional operation
> > ("Swap") which is not part of the IB specification. What other operatio=
ns,
> or
> > semantics, are possible? Are those left for future work?
> >
> > In short, I would like to see a succinct Problem Statement, and a discu=
ssion
> of
> > how the extension is to interoperate with existing implementations.
> > Discussion of how the RDMAP protocol may be extended in the future woul=
d
> > be good to have, too.
>
> [Authors] The problem statement has been improved. References to middlewa=
re
> and applications have  been added.
>
> >
> >
> > Specific issues on sections follow.
> >
> > + Section 1, paragraph 1
> >
> > >   The RDMA Protocol [RFC5040] provides capabilities for zero copy and
> > >   kernel bypass data communications.  This document specifies the
> >
> > There is much more to RDMAP than zero copy, I think. And the concept of
> > "kernel bypass" is mentioned just once in RFC5040, and in the abstract;=
 it
> > seems irrelevant here and should be omitted. Paragraph 3 goes on to say=
:
>
> [Authors] Agreed. This paragraph has been reworked.
>
> >
> > >   Other RDMA transport protocols define the functionality added by
> > >   these extensions leading to differences in RDMA applications and/or
> >
> > which makes no specific reference for either the protocols or the
> > applications. In other words, what is the detailed problem statement th=
at
> the
> > extensions are proposed to solve?
> >
> > It would be preferable to see specific reasons motivating these extensi=
ons,
> > to justify them individually.
> >
>
> [Authors] Motivations have been added.
>
> >
> > + Editorial in section 1, is "following" the right word? Since the Imme=
diate
> > Data is carried by a new message, it seems more like a tinygram-style
> > message in itself.
> >
> > >   o  Immediate Data messages allow the ULP at the sender to provide a
> > >      small amount of data following an RDMA Message.
> >
>
>
> [Authors] Description of the intended usage with RDMA Write and also
> standalone usage has been reworked.
>
> >
> > + Section 3 "Atomic Operation"
> >
> > >   Atomic Operation - is an operation that results in an execution of =
a
> > >   64-bit operation at a specific address on a remote node. The
> >
> > The "64-bit" qualifier is not necessary for the glossary and can be rem=
oved
> > here. Also, isn't it a specific "registered" address?
>
> [Authors] Switched to ULP Buffer address terminology to be consistent wit=
h RFC
> 5041/5040.
>
> >
> > >   consumer can use Atomic Operations to read, modify and write at the
> > >   destination address while at the same time guarantee that no other
> > >   read or write operation will occur across any other RDMAP Streams o=
n
> > >   an RNIC at the Data Sink.
> >
> > Generalize the last sentence to "The consumer can use Atomic Operations=
 to
> > perform operations on the contents of the destination address with cert=
ain
> > atomicity guarantees." I have other comments on the "across any other
> > RDMAP Streams" later.
>
> [Authors] Definition has been reworked.
>
> >
> > Even if you disagree with the prior sentence, the term "Data Sink" shou=
ld be
> > deleted. Atomics source and sink data at the same peer. In fact, the
> glossary
> > goes on to define "Requester" and "Responder" just a few lines later.
> >
> >
> > + Section 4 first paragraph
> >
> > >   The control information of RDMA Messages is included in DDP protoco=
l
> > >   [RFC5041] defined header fields, with the following new formats:
> >
> > This would appear to propose an extension to RFC5041, as written. This
> > should be stated, or made more clear. Any requirements made of other
> > protocols are critical to capture.
> >
>
> [Authors] Text has been changes to reflect that this is only extending RF=
C
> 5040.
>
> >
> > + Section 4.1, first paragraph
> >
> > >   The RDMA Messages defined by this specification use all 8 bits of
> > >   the RDMAP Control Field. The first octet reserved for ULP use in th=
e
> > >   DDP Protocol MUST be used by the RDMAP to carry the RDMAP Control
> >
> > This statement appears to have been imported from RFC5040, and therefor=
e
> > is not part of the extension. This should be reworded to make it clear =
what
> is
> > being extended and changed.
> >
>
> [Authors] Extension of RFC 5040 has been clarified.
>
> >
> > + Section 4.1, second paragraph
> >
> > >    0                   1                   2                   3
> > >    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
> > >                                   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >                                   |T|L| Resrv | DV| RV|Rsv| Opcode|
> > >   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >   |                     Invalidate STag                           |
> > >   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >
> > >               Figure 1 DDP Control and RDMAP Control Fields
> >
> > There are no differences in these fields from RFC5040. What is being
> > extended in them? (Just the Opcodes, right?)
> >
>
> [Authors] Correct.
>
> >
> > + Section 4.1, table
> >
> > > -------+-----------+-------------------------------------------------
> > > 1011b  | Atomic    | 0     | N/A  | 3     | N/A       | Yes
> > >        | Response  |       |      |       |           |
> > > -------+-----------+-------------------------------------------------
> >
> > The newly-defined use of RDMAP queue #3 is quite surprising. What's the
> > purpose of the assignment? What semantics are being enforced? The
> > document is silent on them, and as noted in later comments, possibly
> > inconsistent.
> >
>
> [Authors]  Good catch.  QN=3D3 was added late and was not properly covere=
d.
> Additional text has been added in the revised draft.
>
> >
> > + Section 5 third paragraph
> >
> > >   Atomic operations as specified in this document execute a 64-bit
> > >   operation at a specified destination address on a remote node. The
> >
> > It's much more than "specified", it's a _registered_ address, represent=
ed by
> > an STag and thereby under the control of the RFC5042 security model. It=
 is
> > critical to state this, and make the reference.
>
> [Authors] Agreed.  The term ULP Buffer address should complete the connec=
tion
> back to RFC 5042 indirectly through RFC 5040.
>
> >
> > Also, the address has other possible restrictions, with respect to
> alignment.
> > The protocol should state whether these are required by the protocol it=
self,
> > or if they are subject to local constraints imposed by the registration=
. If
> they
> > are protocol-imposed, then there will be implications for the "offset"
> fields
> > with regard to byte granularity, and how and where they will be checked=
.
> > Either way, discussion here is required.
>
> [Authors] We added a note that the errors covered by the wire protocol ov=
er
> the alignment issue and also revised other text regarding the 64-bit alig=
nment
> topic.  Clearly (as you are pointing out) the wire protocol cannot dictat=
e if
> a given implementation can handle unaligned accesses atomically.  We are
> documenting the alignment issue and allowing it to be reported properly.
>
> >
> > >   operations atomically read, modify and write back the contents of
> >
> > Are read, modify and write the only actions possible in an atomic? It's=
 not
> > clear how the proposed "swap" operations apply here. The R/M/W meaning
> > should be made clear.
>
> [Authors] We believe that this text is sufficient.  We consider swap to b=
e a
> modification.
>
> >
> > >   the destination address and guarantee that Atomic Operations on thi=
s
> > >   address by other RDMAP Streams on the same RNIC do not occur
> > between
> > >   the read and the write.
> >
> > This seems to be significantly less of an atomicity guarantee than expe=
cted.
> > Normally, atomics protect all concurrent modifications to the target
> location,
> > including those from local access via the CPU at the responder, and oth=
er
> > RNICs. Is the scope intentionally narrowed to a single RNIC here? Whate=
ver
> > the guarantee, some statement of RNIC requirements to achieve this is
> > needed, because the proposed protocol itself does not address it.
>
> [Authors] Yes, the scope was intentionally narrowed.  The largest scope t=
he
> authors believe that we can address in a wire protocol document is within=
 a
> single RNIC.
>
> >
> > >   document MAY be implemented. The discovery of whether the Atomic
> > >   Operations are implemented or not is outside the scope of this
> > >   specification and it should be handled by the ULPs or applications.
> >
> > This is the first mention in the document of this requirement, and it n=
eeds
> > quite a bit more discussion on exactly how an upper layer is to proceed=
. Why
> > is the "should" not normative here, and is it a MUST? See earlier comme=
nt.
> >
>
> [Authors] The discovery topic has been reworked and should clear up this
> issue.
>
>
> >
> > + Section 5.2 first paragraph
> >
> > >   The Atomic Operation Request and Response are RDMA Messages.  An
> > >   Atomic Operation makes use of the DDP Untagged Buffer Model. Atomic
> > >   Operations use the same Queue Number as RDMA Read Requests
> > (QN=3D1).
> >
> > Earlier, atomic *requests* are specified to use QN=3D1, but atomic
> > *responses* used QN=3D3. Which is correct? Note, section 5.2.2 bullet #=
3 also
> > makes this statement.
> >
>
> [Authors] Good catch.  This has been corrected.
>
> >
> > + Section 5.2.1 Atomic operation values
> >
> > > ---------+-----------+----------+----------+---------+---------
> > >   0011b    |           |
> > >   to       | Reserved  |            Not Specified
> > >   1111b    |           |
> > >   ---------+-----------+-----------------------------------------
> >
> > ... and
> >
> > >   4. At the Responder, when an invalid Atomic Operation Request
> > >      Message is delivered to the Remote Peer's RDMAP layer, an error
> > >      is surfaced.
> >
> > Are the "Reserved" fields invalid?
> >
>
> [Authors] Yes, the reserved values are invalid.  Clarifying text has been
> added.
>
> >
> > + Section 5.2.2 points #5 and #7
> >
> > >   5. The RDMAP layer MUST Deliver the Atomic Operation Response
> > >      Message to the ULP.
> >
> > >   7. The Responder RDMAP layer MUST pass Atomic Operation Response
> > >      Messages to the DDP layer, in the order that the Atomic Operatio=
n
> > >      Request Messages were received by the RDMAP layer, at the
> > >      Responder.
> >
> > These steps appear out of order. I suggest switching them, so the sendi=
ng of
> > the response precedes its processing by the receiver.
> >
>
> [Authors] Reordered.
>
> >
> > + Section 5.3. Atomicity Guarantees
> >
> > >   Atomicity of the Read-Modify-Write (RMW) on the Responder's node by
> > >   the Atomic Operation MUST be assured in the presence of concurrent
> > >   atomic accesses by other RDMAP Streams on the same RNIC.
> >
> > Similar comment as earlier - are these the only types of concurrent acc=
ess
> > guarantees?
> >
>
> [Authors] Yes, as described above.
>
> >
> > + Section 5.4 Atomic completion rules
> >
> > >   1. For an Atomic operation, the contents of the Tagged Buffer at th=
e
> > >      Responder MAY be indeterminate until the Atomic Operation
> > >      Response Message has been Delivered at the Requester.
> >
> > I don't understand this statement. The protocol defines no means for th=
e
> > Requester to acknowledge the Delivery of the Atomic Response, so how ca=
n
> > this in any way influence the behavior at the Responder?
>
> [Authors] Good comment.  This has been reworked.
>
> >
> > >   4. Atomic Operation Response Message processing at the Responder
> > >      MUST be started only after the Atomic Operation Request Message
> > >      has been Delivered by the DDP layer (thus, all previous RDMA
> > >      Messages have been properly submitted for ordered Placement).
> >
> > Again, I don't understand. The DDP protocol uses Queue Numbers to enfor=
ce
> > this ordering, and since the Atomic Request uses QN=3D1, the requiremen=
t for
> > "all previous RDMA Messages" is not sufficiently clear. Is this making =
a
> > requirement that previous RDMA Writes to the Atomic location be Placed
> > (there's no mention of this in section 7)? Or, is the Atomic required t=
o
> > perform some sort of memory barrier against all other access?
> >
>
> [Authors] The requirement for starting an Atomic operation at the respond=
er is
> exactly like RDMA Reads.  There is a sort of barrier to starting the Atom=
ic
> Operation with relationship to placing data that is in front of it destin=
ed
> for host memory.  Additional text has been added.
>
> >
> > + Section 6. Immediate Data
> >
> > >   The Immediate Data operation is used in conjunction with an RDMA
> > >   Operation to improve ULP processing efficiency by allowing 8 bytes
> > >   of immediate data to be delivered with the completion of the
> > >   previous operation after the previous operation has been delivered
> > >   at the Remote Peer.
> >
> > I definitely do not understand this. The text appears to state that any
> > immediate data is added to some *prior* completion. How can an operatio=
n,
> > which has already been delivered, be modified by a later one?
> >
>
> [Authors] Good catch.  Text has been clarified.
>
> >
> > + Section 6.3 Immediate data handling
> >
> > >   .  The Remote Peer MUST check that Immediate Data and Immediate Dat=
a
> > >      with SE Messages include exactly 8 bytes of data from the DDP
> > >      layer.
> >
> > How does the receiver make this test? There is no length field in the
> > Immediate Data message, it's a fixed 8-byte buffer.
> >
>
> [Authors] DDP always delivers the length with the data.  The receiver wil=
l
> just check the DDP length.
>
> >
> > + Section 7 Ordering table
> >
> > >----------+------------+-------------+-------------+------------------=
-
> > >Atomic    | Atomic     | No Placement| No Placement| Second Atomic
> > >          |            | Guarantee   | Guarantee   | Response
> > >          |            | between two | between two | Message will
> > >          |            | Atomic      | Atomic      | not be
> > >          |            | Requests    | Responses   | generated
> > >          |            |             |             | until first
> > >          |            |             |             | Atomic Response
> > >          |            |             |             | has been
> > >          |            |             |             | generated
> > >----------+------------+-------------+-------------+------------------=
-
> >
> > This appears to be incorrect. Earlier, there are specific requirements =
that
> the
> > RMW operation be performed prior to replying to a previous Atomic, and =
in
> > fact all Atomic requests are serialized on a single QN (1). I'm not sur=
e
> what
> > application semantic would be satisfied by this rather weak guarantee a=
s
> > stated.
> >
>
> [Authors]  Good point.  Guarantee has been strengthened to include not
> starting the next message until the previous response message has been
> generated.
>
> >
> > + Section 11.1
> >
> > [RFC5042] (RDMA security model) is missing. Needed for discussion of
> > Atomics steering tag protection.
> >
> > [RFC5226] is not a normative reference. Move to 11.2, if desired, but m=
ore
> > likely, just delete.
> >
>
> [Authors] Addressed in revised draft.
>
> >
> > + Section 11.2
> >
> > Would like to see references to Infiniband specifications here, as rele=
vant
> for
> > Atomics and other behavior.
> >
>
> [Authors] Added.  Thanks!
>
> > _______________________________________________
> > storm mailing list
> > storm@ietf.org
> > https://www.ietf.org/mailman/listinfo/storm
> _______________________________________________
> storm mailing list
> storm@ietf.org
> https://www.ietf.org/mailman/listinfo/storm


From internet-drafts@ietf.org  Wed Sep 11 13:51:49 2013
Return-Path: <internet-drafts@ietf.org>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7440B21F9DB8; Wed, 11 Sep 2013 13:51:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.552
X-Spam-Level: 
X-Spam-Status: No, score=-102.552 tagged_above=-999 required=5 tests=[AWL=0.048, BAYES_00=-2.599, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v6KCzToMTafW; Wed, 11 Sep 2013 13:51:48 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 8BE3B21F9193; Wed, 11 Sep 2013 13:51:48 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.71.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20130911205148.28811.33546.idtracker@ietfa.amsl.com>
Date: Wed, 11 Sep 2013 13:51:48 -0700
Cc: storm@ietf.org
Subject: [storm] I-D Action: draft-ietf-storm-rdmap-ext-06.txt
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Sep 2013 20:51:49 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the STORage Maintenance Working Group of the =
IETF.

	Title           : RDMA Protocol Extensions
	Author(s)       : Hemal Shah
                          Felix Marti
                          Wael Noureddine
                          Asgeir Eiriksson
                          Robert Sharp
	Filename        : draft-ietf-storm-rdmap-ext-06.txt
	Pages           : 36
	Date            : 2013-09-11

Abstract:
   This document specifies extensions to the IETF Remote Direct Memory
   Access Protocol (RDMAP [RFC5040]). RDMAP provides read and write
   services directly to applications and enables data to be transferred
   directly into Upper Layer Protocol (ULP) Buffers without
   intermediate data copies. The extensions specified in this document
   provide the following capabilities and/or improvements: Atomic
   Operations and Immediate Data.




The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-storm-rdmap-ext

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-storm-rdmap-ext-06

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-storm-rdmap-ext-06


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From robert.o.sharp@intel.com  Wed Sep 11 14:03:10 2013
Return-Path: <robert.o.sharp@intel.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B065121F9F2D for <storm@ietfa.amsl.com>; Wed, 11 Sep 2013 14:03:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rl36473xAYRC for <storm@ietfa.amsl.com>; Wed, 11 Sep 2013 14:03:06 -0700 (PDT)
Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by ietfa.amsl.com (Postfix) with ESMTP id 8025A21F9F2B for <storm@ietf.org>; Wed, 11 Sep 2013 14:03:06 -0700 (PDT)
Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 11 Sep 2013 14:03:06 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.90,886,1371106800"; d="scan'208";a="400183521"
Received: from fmsmsx106.amr.corp.intel.com ([10.19.9.37]) by fmsmga002.fm.intel.com with ESMTP; 11 Sep 2013 14:03:05 -0700
Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX106.amr.corp.intel.com (10.19.9.37) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 11 Sep 2013 14:03:05 -0700
Received: from fmsmsx105.amr.corp.intel.com ([169.254.5.185]) by FMSMSX113.amr.corp.intel.com ([169.254.4.33]) with mapi id 14.03.0123.003; Wed, 11 Sep 2013 14:03:05 -0700
From: "Sharp, Robert O" <robert.o.sharp@intel.com>
To: Tom Talpey <ttalpey@microsoft.com>, "storm@ietf.org" <storm@ietf.org>
Thread-Topic: Review comments on updated draft-ietf-storm-rdmap-ext-05
Thread-Index: Ac6rLXpUjkn7KoQ2RSGtVeoLesL+IAEA6uEg
Date: Wed, 11 Sep 2013 21:03:04 +0000
Message-ID: <2ABFA3E36CBB794685BFBA191CC1964952B2D3BF@FMSMSX105.amr.corp.intel.com>
References: <614F550557B82C44AC27C492ADA391AA14A28CC4@TK5EX14MBXC284.redmond.corp.microsoft.com>
In-Reply-To: <614F550557B82C44AC27C492ADA391AA14A28CC4@TK5EX14MBXC284.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.1.200.108]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [storm] Review comments on updated draft-ietf-storm-rdmap-ext-05
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Sep 2013 21:03:10 -0000

Hi Tom,

Again, thanks for the review and comments.  Responses below...

Thanks,
Bob

> -----Original Message-----
> From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf
> Of Tom Talpey
> Sent: Friday, September 06, 2013 2:07 PM
> To: storm@ietf.org
> Subject: [storm] Review comments on updated draft-ietf-storm-rdmap-ext-
> 05
>=20
> Authors, thanks for the updates to the RDMA Extensions draft based on
> comments received.
>=20
> I have some comments on the recent set of changes, which I would like to
> discuss before considering this version ready for Working Group Last Call=
.
>=20
>=20
> 1) Section 1.1 "Discovery of RDMAP Extensions" was added and addresses
> many of my earlier concerns. However, it says the following:
>=20
>      " Today there are RDMA applications and/or ULPs that are aware of th=
e
>        existence of Atomic and Immediate data operations for RDMA
>        transports such as [IB].  Today, these applications need to be awa=
re
>        that iWARP RNICs do not support these operations."
> and
>      "Negotiation of Atomic Operations typically are to determine the
>        scope of atomicity guarantees, not down to the individual Atomic
>        Operations supported.  Therefore, this specification requires all
>        Atomic Operations defined within to be supported if an RNIC suppor=
ts
>        any Atomic Operations."
> Subsequently, section 5 now says:
>      " The Atomic Operations specified in this document provide
>        equivalent functionality to the [IB] RDMA transport, to allow
>        applications that use these primitives to work interchangeably ove=
r
>        iWARP. In addition, this document specifies a basic Swap operation=
."
>=20
> That last sentence extends Atomics beyond those of Infiniband, and this i=
n
> turn contradicts the goal stated in section 1.1 that applications should =
not
> need to be aware of differences. This inconsistency needs to be addressed=
.
>=20

The Swap operation has been removed and a reference to OFA Verbs extensions=
 for masked atomics has been added.

>=20
> 2) While the text has been updated to specify the target of Atomic
> operations as a registered ULP buffer, it does not discuss the fact that =
this is
> compatible with (indeed, required by) the RFC5042 security model. This
> should be made explicit, and the reference made explicit.
>=20

Added reference to RFC 5042 and the ULP Buffer address reference to the 504=
2 security model.

>=20
> 3) In section 5.4, an "Implementation note" uses the invalid term "MAY
> NOT". Perhaps this means to say the behavior is "OPTIONAL"? Or is it "MUS=
T
> NOT"? As a general comment, when implementation notes contain
> normative language, they are not actually notes,. It may be safer to make
> specific requirements here, and also check the other notes.
>=20

The intention was to note that since this is a wire protocol, it is importa=
nt to note that it is an implementation decision to provide greater scope o=
f atomicity than just the RNIC.  Changed MAY NOT to may not.  We considered=
 making this a positive MAY requirement, but that didn't seem like a good i=
dea when we discussed it.

>=20
> 4) In section 6, it is not clear what advice this statement is making. Is=
 it
> intended to be normative, saying that Immediate Data operations always do
> this? If so, it should move to the processing text below. Also, the term
> "RDMA Completion" appears three times in this paragraph, but is not
> defined. Do you mean simply "Completion"?
>=20
>      " An Immediate Data operation that is not preceded by an RDMA
>        Write operation causes an RDMA Completion."
>=20

This text is descriptive and intended to describe the expected usage, but i=
ndicate that the expected usage is not absolutely required.   For example, =
there is no error checking if immediate data is not proceeded by an RDMA Wr=
ite.   RDMA Completion is defined in RFC5040.

>=20
>=20
> 5) Nits:
>=20
> Section 1.1 could use a paragraph break for improved readability.
>=20

=A0Fixed.

>=20
> In the Glossary, ULP is defined as "Upper Level Protocol". The existing 5=
04x
> RFCs, and I believe common usage, use "Upper Layer Protocol". Suggest
> using this definition.

Thanks.  Seems like we can just delete the definition then.  Do you agree?

>=20
> Also in the Glossary, this statement should be moved from the definition =
of
> Atomics, to section 5:
>     " Atomicity guarantees
>        across multiple RNICs or between other applications/ULPs running o=
n
>        the Responder with access to the ULP Buffer are outside the scope =
of
>        this specification.
>=20
=A0Fixed.


> In section 4.1, the sentence beginning "This extension defines RDMAP use
> Queue Number 3..." appears to be missing a word ("use of"?).
>=20

Thanks!  Fixed

> RFC5042 is not referenced in the body, but it appears as a normative
> reference. It should be referenced, perhaps from section 5 in the discuss=
ion
> of the target of Atomic operations.
>=20
> The document has a small number of id-nits which should be corrected.

Long lines have been fixed.

We are not sure what to do with these at this point:

=3D=3D Missing Reference: 'RFCXXXX' is mentioned on line 1266, but not
     defined
     'RFC Editor: Please replace XXXX in all instances of [RFCXXXX] abo...'
=3D=3D Missing Reference: 'RFC5226' is mentioned on line 1264, but not
     defined
'Allocation Policy: Standards Action ([RFC5226])...'

>=20
> _______________________________________________
> storm mailing list
> storm@ietf.org
> https://www.ietf.org/mailman/listinfo/storm

From robert.o.sharp@intel.com  Wed Sep 11 14:09:09 2013
Return-Path: <robert.o.sharp@intel.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5784311E81B0 for <storm@ietfa.amsl.com>; Wed, 11 Sep 2013 14:09:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.399
X-Spam-Level: 
X-Spam-Status: No, score=-7.399 tagged_above=-999 required=5 tests=[BAYES_50=0.001, J_CHICKENPOX_92=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6+U7T3cDwVFB for <storm@ietfa.amsl.com>; Wed, 11 Sep 2013 14:09:05 -0700 (PDT)
Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by ietfa.amsl.com (Postfix) with ESMTP id CC00421F99CE for <storm@ietf.org>; Wed, 11 Sep 2013 14:09:04 -0700 (PDT)
Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga101.ch.intel.com with ESMTP; 11 Sep 2013 14:09:03 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.90,886,1371106800"; d="scan'208";a="293718355"
Received: from fmsmsx107.amr.corp.intel.com ([10.19.9.54]) by AZSMGA002.ch.intel.com with ESMTP; 11 Sep 2013 14:09:02 -0700
Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX107.amr.corp.intel.com (10.19.9.54) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 11 Sep 2013 14:09:02 -0700
Received: from fmsmsx105.amr.corp.intel.com ([169.254.5.185]) by FMSMSX110.amr.corp.intel.com ([169.254.1.188]) with mapi id 14.03.0123.003; Wed, 11 Sep 2013 14:09:02 -0700
From: "Sharp, Robert O" <robert.o.sharp@intel.com>
To: "Black, David" <david.black@emc.com>, "storm@ietf.org" <storm@ietf.org>
Thread-Topic: David Black's review of draft-ietf-storm-rdmap-ext-04
Thread-Index: Ac555JDwK6QsDppJRjas//rbxrYADQwn8w8QADLAiRAA+MIQMA==
Date: Wed, 11 Sep 2013 21:09:01 +0000
Message-ID: <2ABFA3E36CBB794685BFBA191CC1964952B2D3F5@FMSMSX105.amr.corp.intel.com>
References: <8D3D17ACE214DC429325B2B98F3AE712983F2ABC@MX15A.corp.emc.com> <2ABFA3E36CBB794685BFBA191CC1964952B1D820@FMSMSX105.amr.corp.intel.com> <8D3D17ACE214DC429325B2B98F3AE712025D76270F@MX15A.corp.emc.com>
In-Reply-To: <8D3D17ACE214DC429325B2B98F3AE712025D76270F@MX15A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.1.200.108]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [storm] David Black's review of draft-ietf-storm-rdmap-ext-04
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Sep 2013 21:09:09 -0000

Hi David,

Thanks again for the review and comments.  Responses below...

Thanks,
Bob

> -----Original Message-----
> From: Black, David [mailto:david.black@emc.com]
> Sent: Friday, September 06, 2013 6:14 PM
> To: Sharp, Robert O; storm@ietf.org
> Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
>=20
> Hi Robert,
>=20
> The new -05 draft is a definite improvement.  I have a few comments to ad=
d -
> anything that I haven't commented on here is fine (at least for me).
>=20
> [1] Atomics and software running on local host (3, although I agree with
> Tom's suggestion to move the text about what's not covered, including
> whatever is added/done to respond to this comment).
>=20
> > [Authors] Significant text has been added to describe atomic behavior.
> > The wire protocol only covers atomicity between atomic operations on
> > streams in the context of a single RNIC.  It does not cover other RNIC
> > behaviors that cover multiple RNICs or between host software not using
> the RNIC.
>=20
> I'm surprised by the latter (host software not using the RNIC).  How does
> such host software that wants to coordinate w/remote atomic operations do
> so?
>=20
> Obviously, the main memory subsystem won't do that, but do RNIC
> implementations provide a way to ask the RNIC to do something to local
> memory that behaves atomically wrt remote atomic ops (obviously that
> would be slower than just accessing the memory from the/a main CPU)?  If
> so, a sentence pointing out that this may be available (possibly dependin=
g on
> the RNIC) would be helpful.
>=20
The specifics of the implementation (platform and/or adapter) as well as an=
ything we would need to cover in a verbs document do not seem in scope.  We=
 agree with what you expect and RNIC to at least attempt provide, but do no=
t believe that it should be discussed in this spec. =20

> Also the following change would help:
>=20
> OLD
>         Atomicity guarantees
>         across multiple RNICs or between other applications/ULPs running =
on
>         the Responder with access to the ULP Buffer are outside the scope=
 of
>         this specification.
> NEW
>         Atomic operations do not provide atomicity guarantees   across mu=
ltiple
>       RNICs or with other applications/ULPs running on the Responder that
>       can access the ULP Buffer.

We can work to remove the "outside the scope" statement, but the new text a=
bove implies that and RNIC will not provide wider guarantees and that is no=
t what we want to say here.  It is likely that implementations will do more=
 than the wire protocol can guarantee.  If we change the "do not" to a "may=
 not" this works for me.

>=20
> My primary reason for this change is to remove the "outside the scope of =
this
> specification" language.  That's not typical IETF usage, and is likely to=
 attract
> unwanted/unwarranted reviewer attention.  It's better to state what isn't
> happening.
>=20
> [2] Discovery (1.1)
>=20
> > > Moreover, what's wrong with just trying an atomic operation?  If the
> > > operation fails, the resulting error will be:
> > >
> > >    0x0/0x2/0x06, Remote Operation Error / Unexpected OpCode
> > >
> > > It looks like a FetchAdd with Add Data=3D0 is a no-op that could
> > > safely be used for this purpose, providing a simple robust discovery
> mechanism.
> >
> > [Authors] Added text describing current discovery mechanisms and how
> > this new capability fits in.
>=20
> Even if the authors don't want to recommend this approach (try an atomic
> No-Op; either it works or generates an Unexpected OpCode error), please
> add a sentence pointing out that it is possible.

Added a paragraph

>=20
> [3] Add Mask description (5.1.1)
>=20
> > > The "multiple fields of selectable length" text in the Add Mask
> > > description is not clear - I see how this works, but an example that
> > > uses an Add Mask to designate multiple fields would help.
> >
> > [Authors] Since there are no other operation examples in the document,
> > we are not sure if we want to add one for this.
> > However, here is an example:
>=20
> I see (says the blind man) - I agree that the example is too long to add,=
 but it
> did help me figure out what appears to be missing.  My confusion was caus=
ed
> by the following sentence:
>=20
>    A bit set in the Add Mask field specifies the field boundary.
>=20
> This longer sentence would have avoided my confusion:
>=20
>    A bit set in the Add Mask field specifies the field boundary; for each
>    field, a bit is set at the most significant bit position for each fiel=
d,
>    causing any carry out of that bit position to be discarded when the
>    addition is performed.
>=20
> Please use the longer sentence.

This is better.  Thanks!

>=20
> [3] FetchAdd pseudo code (5.1.1)
>=20
> > > the FetchAdd pseudo code contains a lot of doubled complement
> > > operations, e.g., carry =3D !(!(sum & 2)) - why is that not carry =3D=
 sum & 2 ??
> >
> > [Authors]  The double complement gives a result of 0 or 1 depending on
> > whether the value is zero or non-zero.  The subsequent calculations rel=
y on
> this.
> > It is the equivalent of:
> >       If (sum & 2)
> >               carry =3D 1
> >       else
> >               carry =3D 0
>=20
> Ok, but that seems too clever; the following would be clearer ('>>' denot=
es a
> right logical shift):
>=20
>         carry =3D (sum & 2) >> 1
>=20
> For the other two instances, the loop index provides the shift quantity, =
e.g.,
>=20
> OLD
>       val1 =3D !(!(Original Remote Data Value & bit_location)) NEW
>       val1 =3D (Original Remote Data Value & bit_location) >> bit
>=20
> I would prefer that shift operations be used instead of doubled complemen=
t
> operations.

This is a nice clarification.  Thanks.

>=20
> [4] Swap editorial nit (5.1.2)
>=20
> > > This sentence in the last paragraph is problematic standing by itself=
:
> > >
> > >    Additionally an error MUST be surfaced and a terminate
> > >    message MUST be generated.
> > >
> > > I think that needs to be combined with the previous sentence to
> > > introduce a bullet list of what has to happen when a non-64-bit-align=
ed
> address is used:
> > >
> > >     If a Swap Atomic Operation is attempted on a target buffer addres=
s
> > >     that is not 64-bit aligned, then:
> > >
> > >     o The operation MUST NOT be performed,
> > >     o The Responder's memory MUST NOT be modified,
> > >     o The result MUST be surfaced as an error, and
> > >     o A terminate message MUST be generated.
> > >
> > > In addition, it's important to say which error is generated.
> > > Section 8.2 indicates 0x0/0x2/0x07, Remote Operation Error /
> > > Catastrophic error, localized to RDMAP Stream - say that here also.
> >
> > [Authors] Section reworked as suggest.  The specific error code is
> > referenced instead of repeated.
>=20
> Change the sentence before the itemized list to the new sentence above
> that starts with "If a" and make the same change to the CmpSwap text in t=
he
> next section.

Fixed.  Thanks.

>=20
> [5] Request Identifier for Atomic operations (5.2.1)
>=20
> Editorial change:
>=20
> OLD
>          The Request Identifier specifies a number that is used to
>          identify Atomic Operation Request Message. The value used in
>          this field is implementation dependent and outside the scope
>          of this specification. The value of this field is reflected
>          back to the Local Peer in the Atomic Operation Response
>          message.
> NEW
>          The Request Identifier specifies a number that is used to
>          identify Atomic Operation Request Message. The value used in
>          this field is selected by the RNIC that sends this message,
>          and is reflected back to the Local Peer in the Atomic
>          Operation Response message.
>=20
> My primary reason this change is to remove the "outside the scope of this
> specification" language.  That's not typical IETF usage, and is likely to=
 attract
> unwanted/unwarranted reviewer attention.

Fixed.  Thanks!

>=20
> [6] IANA Considerations.
>=20
> I'll almost certainly find some more text changes that'll be needed here =
- I'll
> provide those as comments during WG Last Call.  For starters, the last
> paragraph in Section 10 should call IANA's attention to the two new regis=
tries
> (not just one) and say that they are in Sections
> 10.1 and 10.2.
>=20
> Thanks,
> --David
>=20
> > -----Original Message-----
> > From: Sharp, Robert O [mailto:robert.o.sharp@intel.com]
> > Sent: Thursday, September 05, 2013 6:20 PM
> > To: Black, David; storm@ietf.org
> > Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
> >
> > Hi David,
> >
> > Thanks for the comments!  The author's responses are embedded below...
> >
> > Thanks,
> > Bob
> >
> > > -----Original Message-----
> > > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On
> > > Behalf Of Black, David
> > > Sent: Friday, July 05, 2013 8:03 PM
> > > To: storm@ietf.org
> > > Subject: [storm] David Black's review of
> > > draft-ietf-storm-rdmap-ext-04
> > >
> > > As I previously indicated, the authors should revise what they can
> > reasonably
> > > edit this coming week and submit a -05 version of this draft by the
> > > midnight UTC cutoff on Monday, July 15 [WARNING - that's midnight
> > > Greenwich (Zulu) Time, not any US Time and not British Summer Time!].
> > >
> > > I'm happy to carry any of the comments below over to become initial
> > > WG Last Call comments on that -05 version due to the severe delays
> > > in dealing with this draft.
> > >
> > > Surprising omission - the term "atomic" is never defined (!).  No,
> > > the definition is not obvious ... a crucial question (which could be
> > > answered by
> > a
> > > definition or in Section 5.3) is: "Atomic with respect to what?".
> > > There are atomic operations defined in other contexts that are
> > > atomic only with respect to other atomic operations (and not atomic
> > > wrt other non- atomic operations), and I think considerably more is
> intended here.
> > > Section 7 does not appear to be sufficient, as it describes behavior
> > > from
> > the
> > > viewpoint of a single operation issuer, which does not include
> > > behavior with respect to operations that may have been issued from
> > > elsewhere, including local memory access by the Remote Peer.
> >
> > [Authors] Significant text has been added to describe atomic behavior.
> > The wire protocol only covers atomicity between atomic operations on
> > streams in the context of a single RNIC.  It does not cover other RNIC
> > behaviors that cover multiple RNICs or between host software not using
> the RNIC.
> >
> > >
> > > Section 4 - say how large the Atomic Request and Atomic Response
> > > headers are.
> >
> > [Authors] Addressed in draft
> >
> > >
> > > Section 4.1 - I think Figure 1 actually contains 3 fields - the two
> > > Control
> > Fields
> > > and the Invalidate STag field (see Figure 4 in RFC 5040).  It would
> > > be
> > helpful
> > > to add some text below the figure to indicate which bytes are which
> > > field (this is also a problem in RFC 5040).  Appendix A helps, but
> > > the field delineations really need to be here.
> >
> > [Authors] Text added
> >
> > >
> > > Throughout section 5 - these operations are specified in terms of
> > > "destination address".  Would it be better to talk about "buffer offs=
et"?
> >
> > [Authors] Good comment.  Switched to ULP Buffer address terminology to
> > be consistent with the other drafts.
> >
> > >
> > > Section 5:
> > >
> > >    The discovery of whether the Atomic
> > >    Operations are implemented or not is outside the scope of this
> > >    specification and it should be handled by the ULPs or applications=
.
> > >
> > > That's just asking for an IESG Discuss position :-).  At least say
> > > something about how discovery could work.  Moreover, what's wrong
> > > with just trying an atomic operation?  If the operation fails, the re=
sulting
> error will be:
> > >
> > >    0x0/0x2/0x06, Remote Operation Error / Unexpected OpCode
> > >
> > > It looks like a FetchAdd with Add Data=3D0 is a no-op that could
> > > safely be
> > used
> > > for this purpose, providing a simple robust discovery mechanism.
> >
> > [Authors] Added text describing current discovery mechanisms and how
> > this new capability fits in.
> >
> > > As part of this, I would add a requirement that if any of the atomic
> > operations
> > > are supported, then all of them MUST be supported, so that the
> > > FetchAdd no-op can be used to discover all of them.
> >
> > [Authors] All MUST be supported has been added.
> >
> > >
> > > Section 5.1.1:
> > >
> > > The "multiple fields of selectable length" text in the Add Mask
> > > description
> > is
> > > not clear - I see how this works, but an example that uses an Add
> > > Mask to designate multiple fields would help.
> >
> > [Authors] Since there are no other operation examples in the document,
> > we are not sure if we want to add one for this.
> > However, here is an example:
> >
> > Remote Data Value: 0x000000000000CDEF
> > Add Data: 0x000000000000789A
> > Add Mask: 0x0000000000000808 =3D=3D b'0..0100000001000'
> >
> > In this example, the Add Mask specifies that there are three
> > independent fields to be added.  That is, the carry is not propagated
> > from one field to the next.
> > The fields are:
> >       Bits 0 - 3
> >       Bits 4 - 11
> >       Bits 12 - 63
> >
> > The results of adding the Remote Data Value and the Add Data for each
> > field
> > are:
> >       0xF + 0xA =3D 0X9         (carry is dropped)
> >       0xDE + 0x89 =3D 0x67      (carry is dropped)
> >       0xC + 0x7 =3D 0x13
> > The result of the operation is 0x0000000000013679.
> >
> > >
> > > the FetchAdd pseudo code contains a lot of doubled complement
> > > operations, e.g., carry =3D !(!(sum & 2)) - why is that not carry =3D=
 sum & 2 ??
> >
> > [Authors]  The double complement gives a result of 0 or 1 depending on
> > whether the value is zero or non-zero.  The subsequent calculations rel=
y on
> this.
> > It is the equivalent of:
> >       If (sum & 2)
> >               carry =3D 1
> >       else
> >               carry =3D 0
> >
> > >
> > > Section 5.1.2
> > >
> > > This sentence in the last paragraph is problematic standing by itself=
:
> > >
> > >    Additionally an error MUST be surfaced and a terminate
> > >    message MUST be generated.
> > >
> > > I think that needs to be combined with the previous sentence to
> > > introduce a bullet list of what has to happen when a non-64-bit-align=
ed
> address is used:
> > >
> > >     If a Swap Atomic Operation is attempted on a target buffer addres=
s
> > >     that is not 64-bit aligned, then:
> > >
> > >     o The operation MUST NOT be performed,
> > >     o The Responder's memory MUST NOT be modified,
> > >     o The result MUST be surfaced as an error, and
> > >     o A terminate message MUST be generated.
> > >
> > > In addition, it's important to say which error is generated.
> > > Section 8.2 indicates 0x0/0x2/0x07, Remote Operation Error /
> > > Catastrophic error, localized to RDMAP Stream - say that here also.
> >
> > [Authors] Section reworked as suggest.  The specific error code is
> > referenced instead of repeated.
> >
> > >
> > > Section 5.1.3
> > >
> > > Same comments as last paragraph in Section 5.1.2
> > >
> > > This section uses "Original Remote Data Value".  Sections 5.1.1 and
> > > 5.1.2
> > use
> > > "Original Remote Data".  All three should use the same term, and
> > > based on Section 5.2.2, "Original Remote Data Value" appears to be
> correct.
> >
> > [Authors] Corrected
> >
> > >
> > > Section 5.2.1
> > >
> > >      Request Identifier: 32 bits.
> > >
> > >          The Request Identifier specifies a number that is used to
> > >          identify Atomic Operation Request Message. The use of this
> > >          field is implementation dependent and outside the scope of
> > >          this specification.
> > >
> > > That's not right.  This identifier is returned in the response and
> > > used by
> > the
> > > Requestor to associate the response to the request.  The Requestor
> > > can choose any value it likes that enables it to do that, and the
> > > details of how those values are generated is outside the scope of
> > > this specification, but their use is definitely in scope.
> >
> > [Authors] Good catch.  Corrected.
> >
> > >
> > > Section 10, IANA Considerations:
> > >
> > >    0x9, Immediate Data with SE, [RFCXXXX]
> > >
> > > Spell out SE as "Solicited Event"
> >
> > [Authors] Corrected.
> >
> > >
> > > Section 10.1
> > >
> > > This one's my fault, partly.  The specification of the new registry
> > > is based
> > on a
> > > version of the rddp registries draft that was subsequently changed
> > > (e.g.,
> > the
> > > Assignment Policy paragraph needs to be removed.
> > >
> > > See the -02 version of the rddp registries draft for text to use as a=
 model:
> > >
> > > http://tools.ietf.org/id/draft-ietf-storm-rddp-registries-02.txt
> > >
> > > I'd suggest working from Section 3.5 in that -02 version.
> >
> > [Authors] Corrected.we think.  Also added a Queue Number Registry.
> >
> > >
> > > Thanks,
> > > --David
> > > ----------------------------------------------------
> > > David L. Black, Distinguished Engineer EMC Corporation, 176 South
> > > St., Hopkinton, MA  01748
> > > +1 (508) 293-7953             FAX: +1 (508) 293-7786
> > > david.black@emc.com        Mobile: +1 (978) 394-7754
> > > ----------------------------------------------------
> > >
> > >
> > > _______________________________________________
> > > storm mailing list
> > > storm@ietf.org
> > > https://www.ietf.org/mailman/listinfo/storm


From robert.o.sharp@intel.com  Wed Sep 11 14:11:28 2013
Return-Path: <robert.o.sharp@intel.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7183311E81BE for <storm@ietfa.amsl.com>; Wed, 11 Sep 2013 14:11:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2Z9-uDrIGw0V for <storm@ietfa.amsl.com>; Wed, 11 Sep 2013 14:11:23 -0700 (PDT)
Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by ietfa.amsl.com (Postfix) with ESMTP id 2EF2921F99D0 for <storm@ietf.org>; Wed, 11 Sep 2013 14:11:23 -0700 (PDT)
Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 11 Sep 2013 14:11:22 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.90,886,1371106800"; d="scan'208";a="401974951"
Received: from fmsmsx107.amr.corp.intel.com ([10.19.9.54]) by orsmga002.jf.intel.com with ESMTP; 11 Sep 2013 14:11:22 -0700
Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX107.amr.corp.intel.com (10.19.9.54) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 11 Sep 2013 14:11:22 -0700
Received: from fmsmsx105.amr.corp.intel.com ([169.254.5.185]) by FMSMSX112.amr.corp.intel.com ([169.254.3.169]) with mapi id 14.03.0123.003; Wed, 11 Sep 2013 14:11:22 -0700
From: "Sharp, Robert O" <robert.o.sharp@intel.com>
To: "Black, David" <david.black@emc.com>, Tom Talpey <ttalpey@microsoft.com>,  "storm@ietf.org" <storm@ietf.org>
Thread-Topic: [storm] Review comments on draft-ietf-storm-rdmap-ext
Thread-Index: Ac5865W+3+PDQi76TQWRLH3sDqnoewtj12JQADcqFOAA9uducA==
Date: Wed, 11 Sep 2013 21:11:21 +0000
Message-ID: <2ABFA3E36CBB794685BFBA191CC1964952B2D40C@FMSMSX105.amr.corp.intel.com>
References: <614F550557B82C44AC27C492ADA391AA148BF8B1@TK5EX14MBXC285.redmond.corp.microsoft.com> <2ABFA3E36CBB794685BFBA191CC1964952B1D77D@FMSMSX105.amr.corp.intel.com> <8D3D17ACE214DC429325B2B98F3AE712025D762712@MX15A.corp.emc.com>
In-Reply-To: <8D3D17ACE214DC429325B2B98F3AE712025D762712@MX15A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.1.200.108]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [storm] Review comments on draft-ietf-storm-rdmap-ext
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Sep 2013 21:11:28 -0000

Hi David,

Thanks again.  Responses below...

Thanks,
Bob

> -----Original Message-----
> From: Black, David [mailto:david.black@emc.com]
> Sent: Friday, September 06, 2013 6:31 PM
> To: Sharp, Robert O; Tom Talpey; storm@ietf.org
> Subject: RE: [storm] Review comments on draft-ietf-storm-rdmap-ext
>=20
> One more small item:
>=20
> > > + Section 5.2.1 Atomic operation values
> > >
> > > >   ---------+-----------+----------+----------+---------+---------
> > > >   0011b    |           |
> > > >   to       | Reserved  |            Not Specified
> > > >   1111b    |           |
> > > >   ---------+-----------+-----------------------------------------
> > >
> > > ... and
> > >
> > > >   4. At the Responder, when an invalid Atomic Operation Request
> > > >      Message is delivered to the Remote Peer's RDMAP layer, an erro=
r
> > > >      is surfaced.
> > >
> > > Are the "Reserved" fields invalid?
> > >
> >
> > [Authors] Yes, the reserved values are invalid.  Clarifying text has
> > been added.
>=20
> Unbeknownst to you, "Reserved" turns out to be a reserved word for IANA
> that has a meaning different from usage in other standards bodies (we hit
> this in working through IANA's comments on the iscsi-sam draft).  This is=
 not a
> problem in the new IANA Considerations text, but we probably ought to als=
o
> expunge use of that word here.
>=20

That is unfortunate.  We changed it to un-used in the rest of the doc but d=
on't like that much.  Also now it is different than RFC 5040.  Are you sure=
 we want to change this?

> I suggest deleting the above table row in Figure 5, and making the follow=
ing
> change to item 4 below the table:
>=20
> OLD
>    4. At the Responder, when an invalid Atomic Operation Request
>       Message with a reserved Atomic Operation Code is delivered to the
>       Remote Peer's RDMAP layer, an error MUST be surfaced.
> NEW
>    4. At the Responder, an error MUST be surfaced in response to delivery
>       to the Remote Peer's RDMAP layer of an Atomic Operation Request
>       Message with an Atomic Operation Code that the RNIC does not suppor=
t.
>=20

Good suggestion.

> Thanks,
> --David
>=20
> > -----Original Message-----
> > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf
> > Of Sharp, Robert O
> > Sent: Thursday, September 05, 2013 5:23 PM
> > To: Tom Talpey; storm@ietf.org
> > Subject: Re: [storm] Review comments on draft-ietf-storm-rdmap-ext
> >
> > Hi Tom,
> >
> > Thanks for the comments!  The author's responses are embedded below...
> >
> > Thanks,
> > Bob
> >

From david.black@emc.com  Fri Sep 13 22:14:05 2013
Return-Path: <david.black@emc.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F157C11E80D1 for <storm@ietfa.amsl.com>; Fri, 13 Sep 2013 22:14:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YSSJ7hctuGYL for <storm@ietfa.amsl.com>; Fri, 13 Sep 2013 22:14:00 -0700 (PDT)
Received: from mailuogwhop.emc.com (mailuogwhop.emc.com [168.159.213.141]) by ietfa.amsl.com (Postfix) with ESMTP id 253B421F90A7 for <storm@ietf.org>; Fri, 13 Sep 2013 22:13:59 -0700 (PDT)
Received: from maildlpprd01.lss.emc.com (maildlpprd01.lss.emc.com [10.253.24.33]) by mailuogwprd03.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r8E5DwmP009447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Sep 2013 01:13:58 -0400
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd03.lss.emc.com r8E5DwmP009447
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1379135638; bh=eZrXAaG93SLgHOykOuXU009UQaE=; h=From:To:Date:Subject:Message-ID:Content-Type: Content-Transfer-Encoding:MIME-Version; b=wTdpzov5IYieFkPtCxwU2k9G+Gw1cHue6qgK4YqkkC9y/CJOP0qpWGJxnE48HQgzJ BTBcJ44PYytP4boyO8e/REAahdZRHHaNvtJprceuJkD1wX3wOemrpKThJJ/pO5SCul +3Hk/rcrHzjXmJwrFB9ybuM/ewo1DArsCcUHmXjI=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd03.lss.emc.com r8E5DwmP009447
Received: from mailusrhubprd52.lss.emc.com (mailusrhubprd52.lss.emc.com [10.106.48.25]) by maildlpprd01.lss.emc.com (RSA Interceptor); Sat, 14 Sep 2013 01:13:50 -0400
Received: from mxhub21.corp.emc.com (mxhub21.corp.emc.com [128.222.70.133]) by mailusrhubprd52.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r8E5DoI4012760 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sat, 14 Sep 2013 01:13:50 -0400
Received: from mx15a.corp.emc.com ([169.254.1.46]) by mxhub21.corp.emc.com ([128.222.70.133]) with mapi; Sat, 14 Sep 2013 01:13:49 -0400
From: "Black, David" <david.black@emc.com>
To: "Sharp, Robert O" <robert.o.sharp@intel.com>, Tom Talpey <ttalpey@microsoft.com>, "storm@ietf.org" <storm@ietf.org>
Date: Sat, 14 Sep 2013 01:13:49 -0400
Thread-Topic: Unassigned vs. Reserved in rdmap-ext draft
Thread-Index: Ac6w8/laSw0o3ma3RLCdlkF3uUN2yg==
Message-ID: <8D3D17ACE214DC429325B2B98F3AE712025DA1BD36@MX15A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd52.lss.emc.com
X-EMM-GWVC: 1
X-EMM-McAfeeVC: 1
X-RSA-Classifications: public
Subject: [storm] Unassigned vs. Reserved in rdmap-ext draft
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Sep 2013 05:14:05 -0000

Bob,

> > > > + Section 5.2.1 Atomic operation values
> > > >
> > > > >   ---------+-----------+----------+----------+---------+---------
> > > > >   0011b    |           |
> > > > >   to       | Reserved  |            Not Specified
> > > > >   1111b    |           |
> > > > >   ---------+-----------+-----------------------------------------
> > > >
> > > > ... and
> > > >
> > > > >   4. At the Responder, when an invalid Atomic Operation Request
> > > > >      Message is delivered to the Remote Peer's RDMAP layer, an er=
ror
> > > > >      is surfaced.
> > > >
> > > > Are the "Reserved" fields invalid?
> > > >
> > >
> > > [Authors] Yes, the reserved values are invalid.  Clarifying text has
> > > been added.
> >
> > Unbeknownst to you, "Reserved" turns out to be a reserved word for IANA
> > that has a meaning different from usage in other standards bodies (we h=
it
> > this in working through IANA's comments on the iscsi-sam draft).  This =
is
> not a
> > problem in the new IANA Considerations text, but we probably ought to a=
lso
> > expunge use of that word here.
> >
>=20
> That is unfortunate.  We changed it to un-used in the rest of the doc but
> don't like that much.  Also now it is different than RFC 5040.  Are you s=
ure
> we want to change this?

Oops, you're right - go back to Reserved in the figure and body of draft, a=
nd
just stick with Unassigned in the IANA Considerations.  Sorry for the detou=
r ...

Thanks,
--David


> -----Original Message-----
> From: Sharp, Robert O [mailto:robert.o.sharp@intel.com]
> Sent: Wednesday, September 11, 2013 5:11 PM
> To: Black, David; Tom Talpey; storm@ietf.org
> Subject: RE: [storm] Review comments on draft-ietf-storm-rdmap-ext
>=20
> Hi David,
>=20
> Thanks again.  Responses below...
>=20
> Thanks,
> Bob
>=20
> > -----Original Message-----
> > From: Black, David [mailto:david.black@emc.com]
> > Sent: Friday, September 06, 2013 6:31 PM
> > To: Sharp, Robert O; Tom Talpey; storm@ietf.org
> > Subject: RE: [storm] Review comments on draft-ietf-storm-rdmap-ext
> >
> > One more small item:
> >
> > > > + Section 5.2.1 Atomic operation values
> > > >
> > > > >   ---------+-----------+----------+----------+---------+---------
> > > > >   0011b    |           |
> > > > >   to       | Reserved  |            Not Specified
> > > > >   1111b    |           |
> > > > >   ---------+-----------+-----------------------------------------
> > > >
> > > > ... and
> > > >
> > > > >   4. At the Responder, when an invalid Atomic Operation Request
> > > > >      Message is delivered to the Remote Peer's RDMAP layer, an er=
ror
> > > > >      is surfaced.
> > > >
> > > > Are the "Reserved" fields invalid?
> > > >
> > >
> > > [Authors] Yes, the reserved values are invalid.  Clarifying text has
> > > been added.
> >
> > Unbeknownst to you, "Reserved" turns out to be a reserved word for IANA
> > that has a meaning different from usage in other standards bodies (we h=
it
> > this in working through IANA's comments on the iscsi-sam draft).  This =
is
> not a
> > problem in the new IANA Considerations text, but we probably ought to a=
lso
> > expunge use of that word here.
> >
>=20
> That is unfortunate.  We changed it to un-used in the rest of the doc but
> don't like that much.  Also now it is different than RFC 5040.  Are you s=
ure
> we want to change this?
>=20
> > I suggest deleting the above table row in Figure 5, and making the foll=
owing
> > change to item 4 below the table:
> >
> > OLD
> >    4. At the Responder, when an invalid Atomic Operation Request
> >       Message with a reserved Atomic Operation Code is delivered to the
> >       Remote Peer's RDMAP layer, an error MUST be surfaced.
> > NEW
> >    4. At the Responder, an error MUST be surfaced in response to delive=
ry
> >       to the Remote Peer's RDMAP layer of an Atomic Operation Request
> >       Message with an Atomic Operation Code that the RNIC does not supp=
ort.
> >
>=20
> Good suggestion.
>=20
> > Thanks,
> > --David
> >
> > > -----Original Message-----
> > > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behal=
f
> > > Of Sharp, Robert O
> > > Sent: Thursday, September 05, 2013 5:23 PM
> > > To: Tom Talpey; storm@ietf.org
> > > Subject: Re: [storm] Review comments on draft-ietf-storm-rdmap-ext
> > >
> > > Hi Tom,
> > >
> > > Thanks for the comments!  The author's responses are embedded below..=
.
> > >
> > > Thanks,
> > > Bob
> > >


From david.black@emc.com  Fri Sep 13 22:14:13 2013
Return-Path: <david.black@emc.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4034411E80F3 for <storm@ietfa.amsl.com>; Fri, 13 Sep 2013 22:14:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u9SrvDnm63nB for <storm@ietfa.amsl.com>; Fri, 13 Sep 2013 22:14:09 -0700 (PDT)
Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) by ietfa.amsl.com (Postfix) with ESMTP id 320F811E80ED for <storm@ietf.org>; Fri, 13 Sep 2013 22:14:09 -0700 (PDT)
Received: from maildlpprd54.lss.emc.com (maildlpprd54.lss.emc.com [10.106.48.158]) by mailuogwprd53.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r8E5E2II012750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Sep 2013 01:14:03 -0400
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd53.lss.emc.com r8E5E2II012750
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1379135643; bh=QNiBgfuTbhnxznPq4P36CC/QZmQ=; h=From:To:Date:Subject:Message-ID:Content-Type: Content-Transfer-Encoding:MIME-Version; b=YWa2O3RJcBrNlVH4o7sKfs6galP1c3FswLfPGjdujwu6lCZOhs1pvNk6rt7y85r8e jG5yyV2/5Yb3dRUF/FblOCpTcEg1TjkL4SrolvnaFSLS2SemsU2MTJoRdNhSM9ioH1 vj8Vg5a3b7hB0aerX8BOgaXXPktYm06SrMHsXLTw=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd53.lss.emc.com r8E5E2II012750
Received: from mailusrhubprd04.lss.emc.com (mailusrhubprd04.lss.emc.com [10.253.24.22]) by maildlpprd54.lss.emc.com (RSA Interceptor); Sat, 14 Sep 2013 01:13:49 -0400
Received: from mxhub20.corp.emc.com (mxhub20.corp.emc.com [10.254.93.49]) by mailusrhubprd04.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r8E5DnRE014440 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sat, 14 Sep 2013 01:13:49 -0400
Received: from mx15a.corp.emc.com ([169.254.1.46]) by mxhub20.corp.emc.com ([10.254.93.49]) with mapi; Sat, 14 Sep 2013 01:13:49 -0400
From: "Black, David" <david.black@emc.com>
To: "Sharp, Robert O" <robert.o.sharp@intel.com>, "storm@ietf.org" <storm@ietf.org>
Date: Sat, 14 Sep 2013 01:13:48 -0400
Thread-Topic: idnits on rdmap-ext draft
Thread-Index: Ac6w84SmJQlI5vgLSq2GTc+cAN8/KQ==
Message-ID: <8D3D17ACE214DC429325B2B98F3AE712025DA1BD35@MX15A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd04.lss.emc.com
X-EMM-GWVC: 1
X-RSA-Classifications: public
X-EMM-McAfeeVC: 1
Subject: [storm] idnits on rdmap-ext draft
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Sep 2013 05:14:13 -0000

> We are not sure what to do with these at this point:
>=20
> =3D=3D Missing Reference: 'RFCXXXX' is mentioned on line 1266, but not
>      defined
>      'RFC Editor: Please replace XXXX in all instances of [RFCXXXX] abo..=
.'
> =3D=3D Missing Reference: 'RFC5226' is mentioned on line 1264, but not
>      defined
> 'Allocation Policy: Standards Action ([RFC5226])...'

Ignore the first nit - that's a typical nit in IANA Considerations when
defining a new registry.  When Tom or I prepare the writeup on this draft
for the IESG, that'll be noted as ok to ignore.

The second nit is indicating that RFC5226 needs to be added as a Normative
Reference - do that, please.

Thanks,
--David

> -----Original Message-----
> From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf Of
> Sharp, Robert O
> Sent: Wednesday, September 11, 2013 5:03 PM
> To: Tom Talpey; storm@ietf.org
> Subject: Re: [storm] Review comments on updated draft-ietf-storm-rdmap-ex=
t-05
>=20
> Hi Tom,
>=20
> Again, thanks for the review and comments.  Responses below...
>=20
> Thanks,
> Bob
>=20
> > -----Original Message-----
> > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf
> > Of Tom Talpey
> > Sent: Friday, September 06, 2013 2:07 PM
> > To: storm@ietf.org
> > Subject: [storm] Review comments on updated draft-ietf-storm-rdmap-ext-
> > 05
> >
> > Authors, thanks for the updates to the RDMA Extensions draft based on
> > comments received.
> >
> > I have some comments on the recent set of changes, which I would like t=
o
> > discuss before considering this version ready for Working Group Last Ca=
ll.
> >
> >
> > 1) Section 1.1 "Discovery of RDMAP Extensions" was added and addresses
> > many of my earlier concerns. However, it says the following:
> >
> >      " Today there are RDMA applications and/or ULPs that are aware of =
the
> >        existence of Atomic and Immediate data operations for RDMA
> >        transports such as [IB].  Today, these applications need to be a=
ware
> >        that iWARP RNICs do not support these operations."
> > and
> >      "Negotiation of Atomic Operations typically are to determine the
> >        scope of atomicity guarantees, not down to the individual Atomic
> >        Operations supported.  Therefore, this specification requires al=
l
> >        Atomic Operations defined within to be supported if an RNIC supp=
orts
> >        any Atomic Operations."
> > Subsequently, section 5 now says:
> >      " The Atomic Operations specified in this document provide
> >        equivalent functionality to the [IB] RDMA transport, to allow
> >        applications that use these primitives to work interchangeably o=
ver
> >        iWARP. In addition, this document specifies a basic Swap operati=
on."
> >
> > That last sentence extends Atomics beyond those of Infiniband, and this=
 in
> > turn contradicts the goal stated in section 1.1 that applications shoul=
d not
> > need to be aware of differences. This inconsistency needs to be address=
ed.
> >
>=20
> The Swap operation has been removed and a reference to OFA Verbs extensio=
ns
> for masked atomics has been added.
>=20
> >
> > 2) While the text has been updated to specify the target of Atomic
> > operations as a registered ULP buffer, it does not discuss the fact tha=
t
> this is
> > compatible with (indeed, required by) the RFC5042 security model. This
> > should be made explicit, and the reference made explicit.
> >
>=20
> Added reference to RFC 5042 and the ULP Buffer address reference to the 5=
042
> security model.
>=20
> >
> > 3) In section 5.4, an "Implementation note" uses the invalid term "MAY
> > NOT". Perhaps this means to say the behavior is "OPTIONAL"? Or is it "M=
UST
> > NOT"? As a general comment, when implementation notes contain
> > normative language, they are not actually notes,. It may be safer to ma=
ke
> > specific requirements here, and also check the other notes.
> >
>=20
> The intention was to note that since this is a wire protocol, it is impor=
tant
> to note that it is an implementation decision to provide greater scope of
> atomicity than just the RNIC.  Changed MAY NOT to may not.  We considered
> making this a positive MAY requirement, but that didn't seem like a good =
idea
> when we discussed it.
>=20
> >
> > 4) In section 6, it is not clear what advice this statement is making. =
Is it
> > intended to be normative, saying that Immediate Data operations always =
do
> > this? If so, it should move to the processing text below. Also, the ter=
m
> > "RDMA Completion" appears three times in this paragraph, but is not
> > defined. Do you mean simply "Completion"?
> >
> >      " An Immediate Data operation that is not preceded by an RDMA
> >        Write operation causes an RDMA Completion."
> >
>=20
> This text is descriptive and intended to describe the expected usage, but
> indicate that the expected usage is not absolutely required.   For exampl=
e,
> there is no error checking if immediate data is not proceeded by an RDMA
> Write.   RDMA Completion is defined in RFC5040.
>=20
> >
> >
> > 5) Nits:
> >
> > Section 1.1 could use a paragraph break for improved readability.
> >
>=20
> =A0Fixed.
>=20
> >
> > In the Glossary, ULP is defined as "Upper Level Protocol". The existing=
 504x
> > RFCs, and I believe common usage, use "Upper Layer Protocol". Suggest
> > using this definition.
>=20
> Thanks.  Seems like we can just delete the definition then.  Do you agree=
?
>=20
> >
> > Also in the Glossary, this statement should be moved from the definitio=
n of
> > Atomics, to section 5:
> >     " Atomicity guarantees
> >        across multiple RNICs or between other applications/ULPs running=
 on
> >        the Responder with access to the ULP Buffer are outside the scop=
e of
> >        this specification.
> >
> =A0Fixed.
>=20
>=20
> > In section 4.1, the sentence beginning "This extension defines RDMAP us=
e
> > Queue Number 3..." appears to be missing a word ("use of"?).
> >
>=20
> Thanks!  Fixed
>=20
> > RFC5042 is not referenced in the body, but it appears as a normative
> > reference. It should be referenced, perhaps from section 5 in the discu=
ssion
> > of the target of Atomic operations.
> >
> > The document has a small number of id-nits which should be corrected.
>=20
> Long lines have been fixed.
>=20
> We are not sure what to do with these at this point:
>=20
> =3D=3D Missing Reference: 'RFCXXXX' is mentioned on line 1266, but not
>      defined
>      'RFC Editor: Please replace XXXX in all instances of [RFCXXXX] abo..=
.'
> =3D=3D Missing Reference: 'RFC5226' is mentioned on line 1264, but not
>      defined
> 'Allocation Policy: Standards Action ([RFC5226])...'>=20
> >
> > _______________________________________________
> > storm mailing list
> > storm@ietf.org
> > https://www.ietf.org/mailman/listinfo/storm
> _______________________________________________
> storm mailing list
> storm@ietf.org
> https://www.ietf.org/mailman/listinfo/storm


From david.black@emc.com  Fri Sep 13 22:14:20 2013
Return-Path: <david.black@emc.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 218C721F90A7 for <storm@ietfa.amsl.com>; Fri, 13 Sep 2013 22:14:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.299
X-Spam-Level: 
X-Spam-Status: No, score=-102.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_92=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IN5MMycpVAob for <storm@ietfa.amsl.com>; Fri, 13 Sep 2013 22:14:15 -0700 (PDT)
Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) by ietfa.amsl.com (Postfix) with ESMTP id A0EEC11E80EC for <storm@ietf.org>; Fri, 13 Sep 2013 22:14:15 -0700 (PDT)
Received: from maildlpprd53.lss.emc.com (maildlpprd53.lss.emc.com [10.106.48.157]) by mailuogwprd53.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r8E5E9A2012853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Sep 2013 01:14:11 -0400
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd53.lss.emc.com r8E5E9A2012853
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1379135651; bh=hPI/iG9nzY0Ffl1IrmQhHYgtDhc=; h=From:To:Date:Subject:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=rTVYdtoysAcNlfHjRoL0z2CMw5a6DfZjX5RHmaJVj1wI6a8UEKmBxx3xBX4zYJtpl DIlkOBt1XHL26D4Y/MbYM6KP/jmatYviHZltztkYXDigKmk/VUaxgkS5g+PQDHXDkl oFCc/NuwZx9s0ixFtbipBRtT7RNuTC7fRu/kkdEE=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd53.lss.emc.com r8E5E9A2012853
Received: from mailusrhubprd53.lss.emc.com (mailusrhubprd53.lss.emc.com [10.106.48.18]) by maildlpprd53.lss.emc.com (RSA Interceptor); Sat, 14 Sep 2013 01:13:49 -0400
Received: from mxhub15.corp.emc.com (mxhub15.corp.emc.com [128.222.70.236]) by mailusrhubprd53.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r8E5DmX8027694 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sat, 14 Sep 2013 01:13:49 -0400
Received: from mx15a.corp.emc.com ([169.254.1.46]) by mxhub15.corp.emc.com ([128.222.70.236]) with mapi; Sat, 14 Sep 2013 01:13:48 -0400
From: "Black, David" <david.black@emc.com>
To: "Sharp, Robert O" <robert.o.sharp@intel.com>, "storm@ietf.org" <storm@ietf.org>
Date: Sat, 14 Sep 2013 01:13:46 -0400
Thread-Topic: David Black's review of draft-ietf-storm-rdmap-ext-04
Thread-Index: Ac555JDwK6QsDppJRjas//rbxrYADQwn8w8QADLAiRAA+MIQMABvonpg
Message-ID: <8D3D17ACE214DC429325B2B98F3AE712025DA1BD34@MX15A.corp.emc.com>
References: <8D3D17ACE214DC429325B2B98F3AE712983F2ABC@MX15A.corp.emc.com> <2ABFA3E36CBB794685BFBA191CC1964952B1D820@FMSMSX105.amr.corp.intel.com> <8D3D17ACE214DC429325B2B98F3AE712025D76270F@MX15A.corp.emc.com> <2ABFA3E36CBB794685BFBA191CC1964952B2D3F5@FMSMSX105.amr.corp.intel.com>
In-Reply-To: <2ABFA3E36CBB794685BFBA191CC1964952B2D3F5@FMSMSX105.amr.corp.intel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd53.lss.emc.com
X-EMM-GWVC: 1
X-EMM-McAfeeVC: 1
X-RSA-Classifications: DLM_1, public
Subject: Re: [storm] David Black's review of draft-ietf-storm-rdmap-ext-04
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Sep 2013 05:14:20 -0000

Hi Bob,

Ok, we're down to just topic [1] - thank you for picking up the other chang=
es:

> > [1] Atomics and software running on local host (3, although I agree wit=
h
> > Tom's suggestion to move the text about what's not covered, including
> > whatever is added/done to respond to this comment).
> >
> > > [Authors] Significant text has been added to describe atomic behavior=
.
> > > The wire protocol only covers atomicity between atomic operations on
> > > streams in the context of a single RNIC.  It does not cover other RNI=
C
> > > behaviors that cover multiple RNICs or between host software not usin=
g
> > > the RNIC.
> >
> > I'm surprised by the latter (host software not using the RNIC).  How do=
es
> > such host software that wants to coordinate w/remote atomic operations =
do
> > so?
> >
> > Obviously, the main memory subsystem won't do that, but do RNIC
> > implementations provide a way to ask the RNIC to do something to local
> > memory that behaves atomically wrt remote atomic ops (obviously that
> > would be slower than just accessing the memory from the/a main CPU)?  I=
f
> > so, a sentence pointing out that this may be available (possibly depend=
ing on
> > the RNIC) would be helpful.
> >
> The specifics of the implementation (platform and/or adapter) as well as
> anything we would need to cover in a verbs document do not seem in scope.=
  We
> agree with what you expect and RNIC to at least attempt provide, but do n=
ot
> believe that it should be discussed in this spec.

I'm not looking for a "discussion" - a single sentence saying that some RNI=
C
implementations may provide atomicity behavior wrt local accesses performed
via the RNIC would suffice.  See suggested text below that picks up this
point in the second NEW sentence.

>
> > Also the following change would help:
> >
> > OLD
> >         Atomicity guarantees
> >         across multiple RNICs or between other applications/ULPs runnin=
g on
> >         the Responder with access to the ULP Buffer are outside the sco=
pe of
> >         this specification.
> > NEW
> >         Atomic operations do not provide atomicity guarantees   across
> multiple
> >       RNICs or with other applications/ULPs running on the Responder th=
at
> >       can access the ULP Buffer.
>
> We can work to remove the "outside the scope" statement, but the new text
> above implies that and RNIC will not provide wider guarantees and that is=
 not
> what we want to say here.  It is likely that implementations will do more=
 than
> the wire protocol can guarantee.  If we change the "do not" to a "may not=
"
> this works for me.

How about this text:

NEW
      The Requester of an atomic operation cannot rely on atomic operation
        behavior at the Responder across multiple RNICs or with respect to =
other
        applications/ULPs running at the Responder that can access the ULP =
Buffer.
        Some RNIC implementations may provide such atomic behavior, but it =
is
        NOT REQUIRED by the atomic operations specified in this document.

What I've tried to do is express the lack of guarantee as "cannot rely on"
in the first sentence punctuated by the clear "NOT REQUIRED" statement abou=
t
what RNIC implementations could do in the second sentence.

Thanks,
--David

> -----Original Message-----
> From: Sharp, Robert O [mailto:robert.o.sharp@intel.com]
> Sent: Wednesday, September 11, 2013 5:09 PM
> To: Black, David; storm@ietf.org
> Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
>
> Hi David,
>
> Thanks again for the review and comments.  Responses below...
>
> Thanks,
> Bob
>
> > -----Original Message-----
> > From: Black, David [mailto:david.black@emc.com]
> > Sent: Friday, September 06, 2013 6:14 PM
> > To: Sharp, Robert O; storm@ietf.org
> > Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
> >
> > Hi Robert,
> >
> > The new -05 draft is a definite improvement.  I have a few comments to =
add -
> > anything that I haven't commented on here is fine (at least for me).
> >
> > [1] Atomics and software running on local host (3, although I agree wit=
h
> > Tom's suggestion to move the text about what's not covered, including
> > whatever is added/done to respond to this comment).
> >
> > > [Authors] Significant text has been added to describe atomic behavior=
.
> > > The wire protocol only covers atomicity between atomic operations on
> > > streams in the context of a single RNIC.  It does not cover other RNI=
C
> > > behaviors that cover multiple RNICs or between host software not usin=
g
> > the RNIC.
> >
> > I'm surprised by the latter (host software not using the RNIC).  How do=
es
> > such host software that wants to coordinate w/remote atomic operations =
do
> > so?
> >
> > Obviously, the main memory subsystem won't do that, but do RNIC
> > implementations provide a way to ask the RNIC to do something to local
> > memory that behaves atomically wrt remote atomic ops (obviously that
> > would be slower than just accessing the memory from the/a main CPU)?  I=
f
> > so, a sentence pointing out that this may be available (possibly depend=
ing
> on
> > the RNIC) would be helpful.
> >
> The specifics of the implementation (platform and/or adapter) as well as
> anything we would need to cover in a verbs document do not seem in scope.=
  We
> agree with what you expect and RNIC to at least attempt provide, but do n=
ot
> believe that it should be discussed in this spec.
>
> > Also the following change would help:
> >
> > OLD
> >         Atomicity guarantees
> >         across multiple RNICs or between other applications/ULPs runnin=
g on
> >         the Responder with access to the ULP Buffer are outside the sco=
pe of
> >         this specification.
> > NEW
> >         Atomic operations do not provide atomicity guarantees   across
> multiple
> >       RNICs or with other applications/ULPs running on the Responder th=
at
> >       can access the ULP Buffer.
>
> We can work to remove the "outside the scope" statement, but the new text
> above implies that and RNIC will not provide wider guarantees and that is=
 not
> what we want to say here.  It is likely that implementations will do more=
 than
> the wire protocol can guarantee.  If we change the "do not" to a "may not=
"
> this works for me.
>
> >
> > My primary reason for this change is to remove the "outside the scope o=
f
> this
> > specification" language.  That's not typical IETF usage, and is likely =
to
> attract
> > unwanted/unwarranted reviewer attention.  It's better to state what isn=
't
> > happening.
> >
> > [2] Discovery (1.1)
> >
> > > > Moreover, what's wrong with just trying an atomic operation?  If th=
e
> > > > operation fails, the resulting error will be:
> > > >
> > > >    0x0/0x2/0x06, Remote Operation Error / Unexpected OpCode
> > > >
> > > > It looks like a FetchAdd with Add Data=3D0 is a no-op that could
> > > > safely be used for this purpose, providing a simple robust discover=
y
> > mechanism.
> > >
> > > [Authors] Added text describing current discovery mechanisms and how
> > > this new capability fits in.
> >
> > Even if the authors don't want to recommend this approach (try an atomi=
c
> > No-Op; either it works or generates an Unexpected OpCode error), please
> > add a sentence pointing out that it is possible.
>
> Added a paragraph
>
> >
> > [3] Add Mask description (5.1.1)
> >
> > > > The "multiple fields of selectable length" text in the Add Mask
> > > > description is not clear - I see how this works, but an example tha=
t
> > > > uses an Add Mask to designate multiple fields would help.
> > >
> > > [Authors] Since there are no other operation examples in the document=
,
> > > we are not sure if we want to add one for this.
> > > However, here is an example:
> >
> > I see (says the blind man) - I agree that the example is too long to ad=
d,
> but it
> > did help me figure out what appears to be missing.  My confusion was ca=
used
> > by the following sentence:
> >
> >    A bit set in the Add Mask field specifies the field boundary.
> >
> > This longer sentence would have avoided my confusion:
> >
> >    A bit set in the Add Mask field specifies the field boundary; for ea=
ch
> >    field, a bit is set at the most significant bit position for each fi=
eld,
> >    causing any carry out of that bit position to be discarded when the
> >    addition is performed.
> >
> > Please use the longer sentence.
>
> This is better.  Thanks!
>
> >
> > [3] FetchAdd pseudo code (5.1.1)
> >
> > > > the FetchAdd pseudo code contains a lot of doubled complement
> > > > operations, e.g., carry =3D !(!(sum & 2)) - why is that not carry =
=3D sum &
> 2 ??
> > >
> > > [Authors]  The double complement gives a result of 0 or 1 depending o=
n
> > > whether the value is zero or non-zero.  The subsequent calculations r=
ely
> on
> > this.
> > > It is the equivalent of:
> > >       If (sum & 2)
> > >               carry =3D 1
> > >       else
> > >               carry =3D 0
> >
> > Ok, but that seems too clever; the following would be clearer ('>>' den=
otes
> a
> > right logical shift):
> >
> >         carry =3D (sum & 2) >> 1
> >
> > For the other two instances, the loop index provides the shift quantity=
,
> e.g.,
> >
> > OLD
> >       val1 =3D !(!(Original Remote Data Value & bit_location)) NEW
> >       val1 =3D (Original Remote Data Value & bit_location) >> bit
> >
> > I would prefer that shift operations be used instead of doubled complem=
ent
> > operations.
>
> This is a nice clarification.  Thanks.
>
> >
> > [4] Swap editorial nit (5.1.2)
> >
> > > > This sentence in the last paragraph is problematic standing by itse=
lf:
> > > >
> > > >    Additionally an error MUST be surfaced and a terminate
> > > >    message MUST be generated.
> > > >
> > > > I think that needs to be combined with the previous sentence to
> > > > introduce a bullet list of what has to happen when a non-64-bit-ali=
gned
> > address is used:
> > > >
> > > >     If a Swap Atomic Operation is attempted on a target buffer addr=
ess
> > > >     that is not 64-bit aligned, then:
> > > >
> > > >     o The operation MUST NOT be performed,
> > > >     o The Responder's memory MUST NOT be modified,
> > > >     o The result MUST be surfaced as an error, and
> > > >     o A terminate message MUST be generated.
> > > >
> > > > In addition, it's important to say which error is generated.
> > > > Section 8.2 indicates 0x0/0x2/0x07, Remote Operation Error /
> > > > Catastrophic error, localized to RDMAP Stream - say that here also.
> > >
> > > [Authors] Section reworked as suggest.  The specific error code is
> > > referenced instead of repeated.
> >
> > Change the sentence before the itemized list to the new sentence above
> > that starts with "If a" and make the same change to the CmpSwap text in=
 the
> > next section.
>
> Fixed.  Thanks.
>
> >
> > [5] Request Identifier for Atomic operations (5.2.1)
> >
> > Editorial change:
> >
> > OLD
> >          The Request Identifier specifies a number that is used to
> >          identify Atomic Operation Request Message. The value used in
> >          this field is implementation dependent and outside the scope
> >          of this specification. The value of this field is reflected
> >          back to the Local Peer in the Atomic Operation Response
> >          message.
> > NEW
> >          The Request Identifier specifies a number that is used to
> >          identify Atomic Operation Request Message. The value used in
> >          this field is selected by the RNIC that sends this message,
> >          and is reflected back to the Local Peer in the Atomic
> >          Operation Response message.
> >
> > My primary reason this change is to remove the "outside the scope of th=
is
> > specification" language.  That's not typical IETF usage, and is likely =
to
> attract
> > unwanted/unwarranted reviewer attention.
>
> Fixed.  Thanks!
>
> >
> > [6] IANA Considerations.
> >
> > I'll almost certainly find some more text changes that'll be needed her=
e -
> I'll
> > provide those as comments during WG Last Call.  For starters, the last
> > paragraph in Section 10 should call IANA's attention to the two new
> registries
> > (not just one) and say that they are in Sections
> > 10.1 and 10.2.
> >
> > Thanks,
> > --David
> >
> > > -----Original Message-----
> > > From: Sharp, Robert O [mailto:robert.o.sharp@intel.com]
> > > Sent: Thursday, September 05, 2013 6:20 PM
> > > To: Black, David; storm@ietf.org
> > > Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
> > >
> > > Hi David,
> > >
> > > Thanks for the comments!  The author's responses are embedded below..=
.
> > >
> > > Thanks,
> > > Bob
> > >
> > > > -----Original Message-----
> > > > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On
> > > > Behalf Of Black, David
> > > > Sent: Friday, July 05, 2013 8:03 PM
> > > > To: storm@ietf.org
> > > > Subject: [storm] David Black's review of
> > > > draft-ietf-storm-rdmap-ext-04
> > > >
> > > > As I previously indicated, the authors should revise what they can
> > > reasonably
> > > > edit this coming week and submit a -05 version of this draft by the
> > > > midnight UTC cutoff on Monday, July 15 [WARNING - that's midnight
> > > > Greenwich (Zulu) Time, not any US Time and not British Summer Time!=
].
> > > >
> > > > I'm happy to carry any of the comments below over to become initial
> > > > WG Last Call comments on that -05 version due to the severe delays
> > > > in dealing with this draft.
> > > >
> > > > Surprising omission - the term "atomic" is never defined (!).  No,
> > > > the definition is not obvious ... a crucial question (which could b=
e
> > > > answered by
> > > a
> > > > definition or in Section 5.3) is: "Atomic with respect to what?".
> > > > There are atomic operations defined in other contexts that are
> > > > atomic only with respect to other atomic operations (and not atomic
> > > > wrt other non- atomic operations), and I think considerably more is
> > intended here.
> > > > Section 7 does not appear to be sufficient, as it describes behavio=
r
> > > > from
> > > the
> > > > viewpoint of a single operation issuer, which does not include
> > > > behavior with respect to operations that may have been issued from
> > > > elsewhere, including local memory access by the Remote Peer.
> > >
> > > [Authors] Significant text has been added to describe atomic behavior=
.
> > > The wire protocol only covers atomicity between atomic operations on
> > > streams in the context of a single RNIC.  It does not cover other RNI=
C
> > > behaviors that cover multiple RNICs or between host software not usin=
g
> > the RNIC.
> > >
> > > >
> > > > Section 4 - say how large the Atomic Request and Atomic Response
> > > > headers are.
> > >
> > > [Authors] Addressed in draft
> > >
> > > >
> > > > Section 4.1 - I think Figure 1 actually contains 3 fields - the two
> > > > Control
> > > Fields
> > > > and the Invalidate STag field (see Figure 4 in RFC 5040).  It would
> > > > be
> > > helpful
> > > > to add some text below the figure to indicate which bytes are which
> > > > field (this is also a problem in RFC 5040).  Appendix A helps, but
> > > > the field delineations really need to be here.
> > >
> > > [Authors] Text added
> > >
> > > >
> > > > Throughout section 5 - these operations are specified in terms of
> > > > "destination address".  Would it be better to talk about "buffer
> offset"?
> > >
> > > [Authors] Good comment.  Switched to ULP Buffer address terminology t=
o
> > > be consistent with the other drafts.
> > >
> > > >
> > > > Section 5:
> > > >
> > > >    The discovery of whether the Atomic
> > > >    Operations are implemented or not is outside the scope of this
> > > >    specification and it should be handled by the ULPs or applicatio=
ns.
> > > >
> > > > That's just asking for an IESG Discuss position :-).  At least say
> > > > something about how discovery could work.  Moreover, what's wrong
> > > > with just trying an atomic operation?  If the operation fails, the
> resulting
> > error will be:
> > > >
> > > >    0x0/0x2/0x06, Remote Operation Error / Unexpected OpCode
> > > >
> > > > It looks like a FetchAdd with Add Data=3D0 is a no-op that could
> > > > safely be
> > > used
> > > > for this purpose, providing a simple robust discovery mechanism.
> > >
> > > [Authors] Added text describing current discovery mechanisms and how
> > > this new capability fits in.
> > >
> > > > As part of this, I would add a requirement that if any of the atomi=
c
> > > operations
> > > > are supported, then all of them MUST be supported, so that the
> > > > FetchAdd no-op can be used to discover all of them.
> > >
> > > [Authors] All MUST be supported has been added.
> > >
> > > >
> > > > Section 5.1.1:
> > > >
> > > > The "multiple fields of selectable length" text in the Add Mask
> > > > description
> > > is
> > > > not clear - I see how this works, but an example that uses an Add
> > > > Mask to designate multiple fields would help.
> > >
> > > [Authors] Since there are no other operation examples in the document=
,
> > > we are not sure if we want to add one for this.
> > > However, here is an example:
> > >
> > > Remote Data Value: 0x000000000000CDEF
> > > Add Data: 0x000000000000789A
> > > Add Mask: 0x0000000000000808 =3D=3D b'0..0100000001000'
> > >
> > > In this example, the Add Mask specifies that there are three
> > > independent fields to be added.  That is, the carry is not propagated
> > > from one field to the next.
> > > The fields are:
> > >       Bits 0 - 3
> > >       Bits 4 - 11
> > >       Bits 12 - 63
> > >
> > > The results of adding the Remote Data Value and the Add Data for each
> > > field
> > > are:
> > >       0xF + 0xA =3D 0X9         (carry is dropped)
> > >       0xDE + 0x89 =3D 0x67      (carry is dropped)
> > >       0xC + 0x7 =3D 0x13
> > > The result of the operation is 0x0000000000013679.
> > >
> > > >
> > > > the FetchAdd pseudo code contains a lot of doubled complement
> > > > operations, e.g., carry =3D !(!(sum & 2)) - why is that not carry =
=3D sum &
> 2 ??
> > >
> > > [Authors]  The double complement gives a result of 0 or 1 depending o=
n
> > > whether the value is zero or non-zero.  The subsequent calculations r=
ely
> on
> > this.
> > > It is the equivalent of:
> > >       If (sum & 2)
> > >               carry =3D 1
> > >       else
> > >               carry =3D 0
> > >
> > > >
> > > > Section 5.1.2
> > > >
> > > > This sentence in the last paragraph is problematic standing by itse=
lf:
> > > >
> > > >    Additionally an error MUST be surfaced and a terminate
> > > >    message MUST be generated.
> > > >
> > > > I think that needs to be combined with the previous sentence to
> > > > introduce a bullet list of what has to happen when a non-64-bit-ali=
gned
> > address is used:
> > > >
> > > >     If a Swap Atomic Operation is attempted on a target buffer addr=
ess
> > > >     that is not 64-bit aligned, then:
> > > >
> > > >     o The operation MUST NOT be performed,
> > > >     o The Responder's memory MUST NOT be modified,
> > > >     o The result MUST be surfaced as an error, and
> > > >     o A terminate message MUST be generated.
> > > >
> > > > In addition, it's important to say which error is generated.
> > > > Section 8.2 indicates 0x0/0x2/0x07, Remote Operation Error /
> > > > Catastrophic error, localized to RDMAP Stream - say that here also.
> > >
> > > [Authors] Section reworked as suggest.  The specific error code is
> > > referenced instead of repeated.
> > >
> > > >
> > > > Section 5.1.3
> > > >
> > > > Same comments as last paragraph in Section 5.1.2
> > > >
> > > > This section uses "Original Remote Data Value".  Sections 5.1.1 and
> > > > 5.1.2
> > > use
> > > > "Original Remote Data".  All three should use the same term, and
> > > > based on Section 5.2.2, "Original Remote Data Value" appears to be
> > correct.
> > >
> > > [Authors] Corrected
> > >
> > > >
> > > > Section 5.2.1
> > > >
> > > >      Request Identifier: 32 bits.
> > > >
> > > >          The Request Identifier specifies a number that is used to
> > > >          identify Atomic Operation Request Message. The use of this
> > > >          field is implementation dependent and outside the scope of
> > > >          this specification.
> > > >
> > > > That's not right.  This identifier is returned in the response and
> > > > used by
> > > the
> > > > Requestor to associate the response to the request.  The Requestor
> > > > can choose any value it likes that enables it to do that, and the
> > > > details of how those values are generated is outside the scope of
> > > > this specification, but their use is definitely in scope.
> > >
> > > [Authors] Good catch.  Corrected.
> > >
> > > >
> > > > Section 10, IANA Considerations:
> > > >
> > > >    0x9, Immediate Data with SE, [RFCXXXX]
> > > >
> > > > Spell out SE as "Solicited Event"
> > >
> > > [Authors] Corrected.
> > >
> > > >
> > > > Section 10.1
> > > >
> > > > This one's my fault, partly.  The specification of the new registry
> > > > is based
> > > on a
> > > > version of the rddp registries draft that was subsequently changed
> > > > (e.g.,
> > > the
> > > > Assignment Policy paragraph needs to be removed.
> > > >
> > > > See the -02 version of the rddp registries draft for text to use as=
 a
> model:
> > > >
> > > > http://tools.ietf.org/id/draft-ietf-storm-rddp-registries-02.txt
> > > >
> > > > I'd suggest working from Section 3.5 in that -02 version.
> > >
> > > [Authors] Corrected.we think.  Also added a Queue Number Registry.
> > >
> > > >
> > > > Thanks,
> > > > --David
> > > > ----------------------------------------------------
> > > > David L. Black, Distinguished Engineer EMC Corporation, 176 South
> > > > St., Hopkinton, MA  01748
> > > > +1 (508) 293-7953             FAX: +1 (508) 293-7786
> > > > david.black@emc.com        Mobile: +1 (978) 394-7754
> > > > ----------------------------------------------------
> > > >
> > > >
> > > > _______________________________________________
> > > > storm mailing list
> > > > storm@ietf.org
> > > > https://www.ietf.org/mailman/listinfo/storm
>


From robert.o.sharp@intel.com  Mon Sep 16 13:03:36 2013
Return-Path: <robert.o.sharp@intel.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 40CB011E80FC for <storm@ietfa.amsl.com>; Mon, 16 Sep 2013 13:03:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i9Gf3mjm-Usw for <storm@ietfa.amsl.com>; Mon, 16 Sep 2013 13:03:31 -0700 (PDT)
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by ietfa.amsl.com (Postfix) with ESMTP id 9503C11E8313 for <storm@ietf.org>; Mon, 16 Sep 2013 13:03:24 -0700 (PDT)
Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 16 Sep 2013 13:00:21 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.90,917,1371106800"; d="scan'208";a="379102806"
Received: from fmsmsx105.amr.corp.intel.com ([10.19.9.36]) by orsmga001.jf.intel.com with ESMTP; 16 Sep 2013 13:03:23 -0700
Received: from fmsmsx152.amr.corp.intel.com (10.19.17.221) by FMSMSX105.amr.corp.intel.com (10.19.9.36) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 16 Sep 2013 13:03:23 -0700
Received: from fmsmsx105.amr.corp.intel.com ([169.254.5.47]) by fmsmsx152.amr.corp.intel.com ([169.254.6.249]) with mapi id 14.03.0123.003; Mon, 16 Sep 2013 13:03:23 -0700
From: "Sharp, Robert O" <robert.o.sharp@intel.com>
To: "Black, David" <david.black@emc.com>, Tom Talpey <ttalpey@microsoft.com>,  "storm@ietf.org" <storm@ietf.org>
Thread-Topic: Unassigned vs. Reserved in rdmap-ext draft
Thread-Index: Ac6w8/laSw0o3ma3RLCdlkF3uUN2ygCI7esg
Date: Mon, 16 Sep 2013 20:03:22 +0000
Message-ID: <2ABFA3E36CBB794685BFBA191CC1964952B3A6B1@FMSMSX105.amr.corp.intel.com>
References: <8D3D17ACE214DC429325B2B98F3AE712025DA1BD36@MX15A.corp.emc.com>
In-Reply-To: <8D3D17ACE214DC429325B2B98F3AE712025DA1BD36@MX15A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.1.200.108]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [storm] Unassigned vs. Reserved in rdmap-ext draft
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Sep 2013 20:03:36 -0000

Hi David,

Back to Reserved it is.

Thanks,
Bob

> -----Original Message-----
> From: Black, David [mailto:david.black@emc.com]
> Sent: Saturday, September 14, 2013 12:14 AM
> To: Sharp, Robert O; Tom Talpey; storm@ietf.org
> Subject: Unassigned vs. Reserved in rdmap-ext draft
>=20
> Bob,
>=20
> > > > > + Section 5.2.1 Atomic operation values
> > > > >
> > > > > >   ---------+-----------+----------+----------+---------+-------=
--
> > > > > >   0011b    |           |
> > > > > >   to       | Reserved  |            Not Specified
> > > > > >   1111b    |           |
> > > > > >
> > > > > > ---------+-----------+----------------------------------------
> > > > > > -
> > > > >
> > > > > ... and
> > > > >
> > > > > >   4. At the Responder, when an invalid Atomic Operation Request
> > > > > >      Message is delivered to the Remote Peer's RDMAP layer, an =
error
> > > > > >      is surfaced.
> > > > >
> > > > > Are the "Reserved" fields invalid?
> > > > >
> > > >
> > > > [Authors] Yes, the reserved values are invalid.  Clarifying text
> > > > has been added.
> > >
> > > Unbeknownst to you, "Reserved" turns out to be a reserved word for
> > > IANA that has a meaning different from usage in other standards
> > > bodies (we hit this in working through IANA's comments on the
> > > iscsi-sam draft).  This is
> > not a
> > > problem in the new IANA Considerations text, but we probably ought
> > > to also expunge use of that word here.
> > >
> >
> > That is unfortunate.  We changed it to un-used in the rest of the doc
> > but don't like that much.  Also now it is different than RFC 5040.
> > Are you sure we want to change this?
>=20
> Oops, you're right - go back to Reserved in the figure and body of draft,=
 and
> just stick with Unassigned in the IANA Considerations.  Sorry for the det=
our
> ...
>=20
> Thanks,
> --David
>=20
>=20
> > -----Original Message-----
> > From: Sharp, Robert O [mailto:robert.o.sharp@intel.com]
> > Sent: Wednesday, September 11, 2013 5:11 PM
> > To: Black, David; Tom Talpey; storm@ietf.org
> > Subject: RE: [storm] Review comments on draft-ietf-storm-rdmap-ext
> >
> > Hi David,
> >
> > Thanks again.  Responses below...
> >
> > Thanks,
> > Bob
> >
> > > -----Original Message-----
> > > From: Black, David [mailto:david.black@emc.com]
> > > Sent: Friday, September 06, 2013 6:31 PM
> > > To: Sharp, Robert O; Tom Talpey; storm@ietf.org
> > > Subject: RE: [storm] Review comments on draft-ietf-storm-rdmap-ext
> > >
> > > One more small item:
> > >
> > > > > + Section 5.2.1 Atomic operation values
> > > > >
> > > > > >   ---------+-----------+----------+----------+---------+-------=
--
> > > > > >   0011b    |           |
> > > > > >   to       | Reserved  |            Not Specified
> > > > > >   1111b    |           |
> > > > > >
> > > > > > ---------+-----------+----------------------------------------
> > > > > > -
> > > > >
> > > > > ... and
> > > > >
> > > > > >   4. At the Responder, when an invalid Atomic Operation Request
> > > > > >      Message is delivered to the Remote Peer's RDMAP layer, an =
error
> > > > > >      is surfaced.
> > > > >
> > > > > Are the "Reserved" fields invalid?
> > > > >
> > > >
> > > > [Authors] Yes, the reserved values are invalid.  Clarifying text
> > > > has been added.
> > >
> > > Unbeknownst to you, "Reserved" turns out to be a reserved word for
> > > IANA that has a meaning different from usage in other standards
> > > bodies (we hit this in working through IANA's comments on the
> > > iscsi-sam draft).  This is
> > not a
> > > problem in the new IANA Considerations text, but we probably ought
> > > to also expunge use of that word here.
> > >
> >
> > That is unfortunate.  We changed it to un-used in the rest of the doc
> > but don't like that much.  Also now it is different than RFC 5040.
> > Are you sure we want to change this?
> >
> > > I suggest deleting the above table row in Figure 5, and making the
> > > following change to item 4 below the table:
> > >
> > > OLD
> > >    4. At the Responder, when an invalid Atomic Operation Request
> > >       Message with a reserved Atomic Operation Code is delivered to t=
he
> > >       Remote Peer's RDMAP layer, an error MUST be surfaced.
> > > NEW
> > >    4. At the Responder, an error MUST be surfaced in response to deli=
very
> > >       to the Remote Peer's RDMAP layer of an Atomic Operation Request
> > >       Message with an Atomic Operation Code that the RNIC does not
> support.
> > >
> >
> > Good suggestion.
> >
> > > Thanks,
> > > --David
> > >
> > > > -----Original Message-----
> > > > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On
> > > > Behalf Of Sharp, Robert O
> > > > Sent: Thursday, September 05, 2013 5:23 PM
> > > > To: Tom Talpey; storm@ietf.org
> > > > Subject: Re: [storm] Review comments on draft-ietf-storm-rdmap-ext
> > > >
> > > > Hi Tom,
> > > >
> > > > Thanks for the comments!  The author's responses are embedded
> below...
> > > >
> > > > Thanks,
> > > > Bob
> > > >


From robert.o.sharp@intel.com  Mon Sep 16 13:13:20 2013
Return-Path: <robert.o.sharp@intel.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F23DC11E8145 for <storm@ietfa.amsl.com>; Mon, 16 Sep 2013 13:13:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lz23EecA9L9B for <storm@ietfa.amsl.com>; Mon, 16 Sep 2013 13:13:15 -0700 (PDT)
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by ietfa.amsl.com (Postfix) with ESMTP id B1E9911E81A1 for <storm@ietf.org>; Mon, 16 Sep 2013 13:13:15 -0700 (PDT)
Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 16 Sep 2013 13:10:12 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.90,917,1371106800"; d="scan'208";a="379106720"
Received: from fmsmsx105.amr.corp.intel.com ([10.19.9.36]) by orsmga001.jf.intel.com with ESMTP; 16 Sep 2013 13:12:49 -0700
Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX105.amr.corp.intel.com (10.19.9.36) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 16 Sep 2013 13:12:49 -0700
Received: from fmsmsx105.amr.corp.intel.com ([169.254.5.47]) by FMSMSX112.amr.corp.intel.com ([169.254.3.169]) with mapi id 14.03.0123.003; Mon, 16 Sep 2013 13:12:49 -0700
From: "Sharp, Robert O" <robert.o.sharp@intel.com>
To: "Black, David" <david.black@emc.com>, "storm@ietf.org" <storm@ietf.org>
Thread-Topic: idnits on rdmap-ext draft
Thread-Index: Ac6w84SmJQlI5vgLSq2GTc+cAN8/KQCJSgCg
Date: Mon, 16 Sep 2013 20:12:48 +0000
Message-ID: <2ABFA3E36CBB794685BFBA191CC1964952B3A6D3@FMSMSX105.amr.corp.intel.com>
References: <8D3D17ACE214DC429325B2B98F3AE712025DA1BD35@MX15A.corp.emc.com>
In-Reply-To: <8D3D17ACE214DC429325B2B98F3AE712025DA1BD35@MX15A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.1.200.108]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [storm] idnits on rdmap-ext draft
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Sep 2013 20:13:20 -0000

Hi David,

We've added the reference go RFC5226.  I don't know why I was thinking that=
 this section would be moved to another RFC that held the registry values, =
but we've fixed that now.

Thanks,
Bob

> -----Original Message-----
> From: Black, David [mailto:david.black@emc.com]
> Sent: Saturday, September 14, 2013 12:14 AM
> To: Sharp, Robert O; storm@ietf.org
> Subject: idnits on rdmap-ext draft
>=20
> > We are not sure what to do with these at this point:
> >
> > =3D=3D Missing Reference: 'RFCXXXX' is mentioned on line 1266, but not
> >      defined
> >      'RFC Editor: Please replace XXXX in all instances of [RFCXXXX] abo=
...'
> > =3D=3D Missing Reference: 'RFC5226' is mentioned on line 1264, but not
> >      defined
> > 'Allocation Policy: Standards Action ([RFC5226])...'
>=20
> Ignore the first nit - that's a typical nit in IANA Considerations when d=
efining a
> new registry.  When Tom or I prepare the writeup on this draft for the IE=
SG,
> that'll be noted as ok to ignore.
>=20
> The second nit is indicating that RFC5226 needs to be added as a Normativ=
e
> Reference - do that, please.
>=20
> Thanks,
> --David
>=20
> > -----Original Message-----
> > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On Behalf
> > Of Sharp, Robert O
> > Sent: Wednesday, September 11, 2013 5:03 PM
> > To: Tom Talpey; storm@ietf.org
> > Subject: Re: [storm] Review comments on updated
> > draft-ietf-storm-rdmap-ext-05
> >
> > Hi Tom,
> >
> > Again, thanks for the review and comments.  Responses below...
> >
> > Thanks,
> > Bob
> >
> > > -----Original Message-----
> > > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On
> > > Behalf Of Tom Talpey
> > > Sent: Friday, September 06, 2013 2:07 PM
> > > To: storm@ietf.org
> > > Subject: [storm] Review comments on updated
> > > draft-ietf-storm-rdmap-ext-
> > > 05
> > >
> > > Authors, thanks for the updates to the RDMA Extensions draft based
> > > on comments received.
> > >
> > > I have some comments on the recent set of changes, which I would
> > > like to discuss before considering this version ready for Working Gro=
up
> Last Call.
> > >
> > >
> > > 1) Section 1.1 "Discovery of RDMAP Extensions" was added and
> > > addresses many of my earlier concerns. However, it says the following=
:
> > >
> > >      " Today there are RDMA applications and/or ULPs that are aware o=
f the
> > >        existence of Atomic and Immediate data operations for RDMA
> > >        transports such as [IB].  Today, these applications need to be=
 aware
> > >        that iWARP RNICs do not support these operations."
> > > and
> > >      "Negotiation of Atomic Operations typically are to determine the
> > >        scope of atomicity guarantees, not down to the individual Atom=
ic
> > >        Operations supported.  Therefore, this specification requires =
all
> > >        Atomic Operations defined within to be supported if an RNIC su=
pports
> > >        any Atomic Operations."
> > > Subsequently, section 5 now says:
> > >      " The Atomic Operations specified in this document provide
> > >        equivalent functionality to the [IB] RDMA transport, to allow
> > >        applications that use these primitives to work interchangeably=
 over
> > >        iWARP. In addition, this document specifies a basic Swap opera=
tion."
> > >
> > > That last sentence extends Atomics beyond those of Infiniband, and
> > > this in turn contradicts the goal stated in section 1.1 that
> > > applications should not need to be aware of differences. This
> inconsistency needs to be addressed.
> > >
> >
> > The Swap operation has been removed and a reference to OFA Verbs
> > extensions for masked atomics has been added.
> >
> > >
> > > 2) While the text has been updated to specify the target of Atomic
> > > operations as a registered ULP buffer, it does not discuss the fact
> > > that
> > this is
> > > compatible with (indeed, required by) the RFC5042 security model.
> > > This should be made explicit, and the reference made explicit.
> > >
> >
> > Added reference to RFC 5042 and the ULP Buffer address reference to
> > the 5042 security model.
> >
> > >
> > > 3) In section 5.4, an "Implementation note" uses the invalid term
> > > "MAY NOT". Perhaps this means to say the behavior is "OPTIONAL"? Or
> > > is it "MUST NOT"? As a general comment, when implementation notes
> > > contain normative language, they are not actually notes,. It may be
> > > safer to make specific requirements here, and also check the other
> notes.
> > >
> >
> > The intention was to note that since this is a wire protocol, it is
> > important to note that it is an implementation decision to provide
> > greater scope of atomicity than just the RNIC.  Changed MAY NOT to may
> > not.  We considered making this a positive MAY requirement, but that
> > didn't seem like a good idea when we discussed it.
> >
> > >
> > > 4) In section 6, it is not clear what advice this statement is
> > > making. Is it intended to be normative, saying that Immediate Data
> > > operations always do this? If so, it should move to the processing
> > > text below. Also, the term "RDMA Completion" appears three times in
> > > this paragraph, but is not defined. Do you mean simply "Completion"?
> > >
> > >      " An Immediate Data operation that is not preceded by an RDMA
> > >        Write operation causes an RDMA Completion."
> > >
> >
> > This text is descriptive and intended to describe the expected usage, b=
ut
> > indicate that the expected usage is not absolutely required.   For exam=
ple,
> > there is no error checking if immediate data is not proceeded by an RDM=
A
> > Write.   RDMA Completion is defined in RFC5040.
> >
> > >
> > >
> > > 5) Nits:
> > >
> > > Section 1.1 could use a paragraph break for improved readability.
> > >
> >
> > =A0Fixed.
> >
> > >
> > > In the Glossary, ULP is defined as "Upper Level Protocol". The
> > > existing 504x RFCs, and I believe common usage, use "Upper Layer
> > > Protocol". Suggest using this definition.
> >
> > Thanks.  Seems like we can just delete the definition then.  Do you agr=
ee?
> >
> > >
> > > Also in the Glossary, this statement should be moved from the
> > > definition of Atomics, to section 5:
> > >     " Atomicity guarantees
> > >        across multiple RNICs or between other applications/ULPs runni=
ng on
> > >        the Responder with access to the ULP Buffer are outside the sc=
ope of
> > >        this specification.
> > >
> > =A0Fixed.
> >
> >
> > > In section 4.1, the sentence beginning "This extension defines RDMAP
> > > use Queue Number 3..." appears to be missing a word ("use of"?).
> > >
> >
> > Thanks!  Fixed
> >
> > > RFC5042 is not referenced in the body, but it appears as a normative
> > > reference. It should be referenced, perhaps from section 5 in the
> > > discussion of the target of Atomic operations.
> > >
> > > The document has a small number of id-nits which should be corrected.
> >
> > Long lines have been fixed.
> >
> > We are not sure what to do with these at this point:
> >
> > =3D=3D Missing Reference: 'RFCXXXX' is mentioned on line 1266, but not
> >      defined
> >      'RFC Editor: Please replace XXXX in all instances of [RFCXXXX] abo=
...'
> > =3D=3D Missing Reference: 'RFC5226' is mentioned on line 1264, but not
> >      defined
> > 'Allocation Policy: Standards Action ([RFC5226])...'>
> > >
> > > _______________________________________________
> > > storm mailing list
> > > storm@ietf.org
> > > https://www.ietf.org/mailman/listinfo/storm
> > _______________________________________________
> > storm mailing list
> > storm@ietf.org
> > https://www.ietf.org/mailman/listinfo/storm


From robert.o.sharp@intel.com  Mon Sep 16 13:44:54 2013
Return-Path: <robert.o.sharp@intel.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E854711E832C for <storm@ietfa.amsl.com>; Mon, 16 Sep 2013 13:44:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.699
X-Spam-Level: 
X-Spam-Status: No, score=-8.699 tagged_above=-999 required=5 tests=[AWL=1.300,  BAYES_00=-2.599, J_CHICKENPOX_92=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sWNK9tVas13E for <storm@ietfa.amsl.com>; Mon, 16 Sep 2013 13:44:50 -0700 (PDT)
Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by ietfa.amsl.com (Postfix) with ESMTP id 492DB11E8324 for <storm@ietf.org>; Mon, 16 Sep 2013 13:44:50 -0700 (PDT)
Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga101.ch.intel.com with ESMTP; 16 Sep 2013 13:44:46 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.90,918,1371106800"; d="scan'208";a="295571106"
Received: from fmsmsx108.amr.corp.intel.com ([10.19.9.228]) by AZSMGA002.ch.intel.com with ESMTP; 16 Sep 2013 13:44:45 -0700
Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX108.amr.corp.intel.com (10.19.9.228) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 16 Sep 2013 13:44:45 -0700
Received: from fmsmsx105.amr.corp.intel.com ([169.254.5.47]) by fmsmsx111.amr.corp.intel.com ([169.254.2.28]) with mapi id 14.03.0123.003; Mon, 16 Sep 2013 13:44:44 -0700
From: "Sharp, Robert O" <robert.o.sharp@intel.com>
To: "Black, David" <david.black@emc.com>, "storm@ietf.org" <storm@ietf.org>
Thread-Topic: David Black's review of draft-ietf-storm-rdmap-ext-04
Thread-Index: Ac555JDwK6QsDppJRjas//rbxrYADQwn8w8QADLAiRAA+MIQMABvonpgAIsbdWA=
Date: Mon, 16 Sep 2013 20:44:44 +0000
Message-ID: <2ABFA3E36CBB794685BFBA191CC1964952B3A70A@FMSMSX105.amr.corp.intel.com>
References: <8D3D17ACE214DC429325B2B98F3AE712983F2ABC@MX15A.corp.emc.com> <2ABFA3E36CBB794685BFBA191CC1964952B1D820@FMSMSX105.amr.corp.intel.com> <8D3D17ACE214DC429325B2B98F3AE712025D76270F@MX15A.corp.emc.com> <2ABFA3E36CBB794685BFBA191CC1964952B2D3F5@FMSMSX105.amr.corp.intel.com> <8D3D17ACE214DC429325B2B98F3AE712025DA1BD34@MX15A.corp.emc.com>
In-Reply-To: <8D3D17ACE214DC429325B2B98F3AE712025DA1BD34@MX15A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.1.200.108]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [storm] David Black's review of draft-ietf-storm-rdmap-ext-04
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Sep 2013 20:44:55 -0000

Hi David,

This works for us.  Thanks for keeping at it with us.

When I run the nits tool, I get the following...

Miscellaneous warnings:
  -------------------------------------------------------------------------=
---

  -- The exact meaning of the all-uppercase expression 'NOT REQUIRED' is no=
t
     defined in RFC 2119.  If it is intended as a requirements expression, =
it
     should be rewritten using one of the combinations defined in RFC 2119;
     otherwise it should not be all-uppercase.

Should I just keep it all lower case?

Thanks,
Bob

> -----Original Message-----
> From: Black, David [mailto:david.black@emc.com]
> Sent: Saturday, September 14, 2013 12:14 AM
> To: Sharp, Robert O; storm@ietf.org
> Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
>=20
> Hi Bob,
>=20
> Ok, we're down to just topic [1] - thank you for picking up the other cha=
nges:
>=20
> > > [1] Atomics and software running on local host (3, although I agree
> > > with Tom's suggestion to move the text about what's not covered,
> > > including whatever is added/done to respond to this comment).
> > >
> > > > [Authors] Significant text has been added to describe atomic behavi=
or.
> > > > The wire protocol only covers atomicity between atomic operations
> > > > on streams in the context of a single RNIC.  It does not cover
> > > > other RNIC behaviors that cover multiple RNICs or between host
> > > > software not using the RNIC.
> > >
> > > I'm surprised by the latter (host software not using the RNIC).  How
> > > does such host software that wants to coordinate w/remote atomic
> > > operations do so?
> > >
> > > Obviously, the main memory subsystem won't do that, but do RNIC
> > > implementations provide a way to ask the RNIC to do something to
> > > local memory that behaves atomically wrt remote atomic ops
> > > (obviously that would be slower than just accessing the memory from
> > > the/a main CPU)?  If so, a sentence pointing out that this may be
> > > available (possibly depending on the RNIC) would be helpful.
> > >
> > The specifics of the implementation (platform and/or adapter) as well
> > as anything we would need to cover in a verbs document do not seem in
> > scope.  We agree with what you expect and RNIC to at least attempt
> > provide, but do not believe that it should be discussed in this spec.
>=20
> I'm not looking for a "discussion" - a single sentence saying that some R=
NIC
> implementations may provide atomicity behavior wrt local accesses
> performed via the RNIC would suffice.  See suggested text below that pick=
s
> up this point in the second NEW sentence.
>=20
> >
> > > Also the following change would help:
> > >
> > > OLD
> > >         Atomicity guarantees
> > >         across multiple RNICs or between other applications/ULPs runn=
ing on
> > >         the Responder with access to the ULP Buffer are outside the s=
cope of
> > >         this specification.
> > > NEW
> > >         Atomic operations do not provide atomicity guarantees   acros=
s
> > multiple
> > >       RNICs or with other applications/ULPs running on the Responder =
that
> > >       can access the ULP Buffer.
> >
> > We can work to remove the "outside the scope" statement, but the new
> > text above implies that and RNIC will not provide wider guarantees and
> > that is not what we want to say here.  It is likely that
> > implementations will do more than the wire protocol can guarantee.  If =
we
> change the "do not" to a "may not"
> > this works for me.
>=20
> How about this text:
>=20
> NEW
>       The Requester of an atomic operation cannot rely on atomic operatio=
n
>         behavior at the Responder across multiple RNICs or with respect t=
o other
>         applications/ULPs running at the Responder that can access the UL=
P
> Buffer.
>         Some RNIC implementations may provide such atomic behavior, but i=
t is
>         NOT REQUIRED by the atomic operations specified in this document.
>=20
> What I've tried to do is express the lack of guarantee as "cannot rely on=
"
> in the first sentence punctuated by the clear "NOT REQUIRED" statement
> about what RNIC implementations could do in the second sentence.
>=20
> Thanks,
> --David
>=20
> > -----Original Message-----
> > From: Sharp, Robert O [mailto:robert.o.sharp@intel.com]
> > Sent: Wednesday, September 11, 2013 5:09 PM
> > To: Black, David; storm@ietf.org
> > Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
> >
> > Hi David,
> >
> > Thanks again for the review and comments.  Responses below...
> >
> > Thanks,
> > Bob
> >
> > > -----Original Message-----
> > > From: Black, David [mailto:david.black@emc.com]
> > > Sent: Friday, September 06, 2013 6:14 PM
> > > To: Sharp, Robert O; storm@ietf.org
> > > Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
> > >
> > > Hi Robert,
> > >
> > > The new -05 draft is a definite improvement.  I have a few comments
> > > to add - anything that I haven't commented on here is fine (at least =
for
> me).
> > >
> > > [1] Atomics and software running on local host (3, although I agree
> > > with Tom's suggestion to move the text about what's not covered,
> > > including whatever is added/done to respond to this comment).
> > >
> > > > [Authors] Significant text has been added to describe atomic behavi=
or.
> > > > The wire protocol only covers atomicity between atomic operations
> > > > on streams in the context of a single RNIC.  It does not cover
> > > > other RNIC behaviors that cover multiple RNICs or between host
> > > > software not using
> > > the RNIC.
> > >
> > > I'm surprised by the latter (host software not using the RNIC).  How
> > > does such host software that wants to coordinate w/remote atomic
> > > operations do so?
> > >
> > > Obviously, the main memory subsystem won't do that, but do RNIC
> > > implementations provide a way to ask the RNIC to do something to
> > > local memory that behaves atomically wrt remote atomic ops
> > > (obviously that would be slower than just accessing the memory from
> > > the/a main CPU)?  If so, a sentence pointing out that this may be
> > > available (possibly depending
> > on
> > > the RNIC) would be helpful.
> > >
> > The specifics of the implementation (platform and/or adapter) as well
> > as anything we would need to cover in a verbs document do not seem in
> > scope.  We agree with what you expect and RNIC to at least attempt
> > provide, but do not believe that it should be discussed in this spec.
> >
> > > Also the following change would help:
> > >
> > > OLD
> > >         Atomicity guarantees
> > >         across multiple RNICs or between other applications/ULPs runn=
ing on
> > >         the Responder with access to the ULP Buffer are outside the s=
cope of
> > >         this specification.
> > > NEW
> > >         Atomic operations do not provide atomicity guarantees   acros=
s
> > multiple
> > >       RNICs or with other applications/ULPs running on the Responder =
that
> > >       can access the ULP Buffer.
> >
> > We can work to remove the "outside the scope" statement, but the new
> > text above implies that and RNIC will not provide wider guarantees and
> > that is not what we want to say here.  It is likely that
> > implementations will do more than the wire protocol can guarantee.  If =
we
> change the "do not" to a "may not"
> > this works for me.
> >
> > >
> > > My primary reason for this change is to remove the "outside the
> > > scope of
> > this
> > > specification" language.  That's not typical IETF usage, and is
> > > likely to
> > attract
> > > unwanted/unwarranted reviewer attention.  It's better to state what
> > > isn't happening.
> > >
> > > [2] Discovery (1.1)
> > >
> > > > > Moreover, what's wrong with just trying an atomic operation?  If
> > > > > the operation fails, the resulting error will be:
> > > > >
> > > > >    0x0/0x2/0x06, Remote Operation Error / Unexpected OpCode
> > > > >
> > > > > It looks like a FetchAdd with Add Data=3D0 is a no-op that could
> > > > > safely be used for this purpose, providing a simple robust
> > > > > discovery
> > > mechanism.
> > > >
> > > > [Authors] Added text describing current discovery mechanisms and
> > > > how this new capability fits in.
> > >
> > > Even if the authors don't want to recommend this approach (try an
> > > atomic No-Op; either it works or generates an Unexpected OpCode
> > > error), please add a sentence pointing out that it is possible.
> >
> > Added a paragraph
> >
> > >
> > > [3] Add Mask description (5.1.1)
> > >
> > > > > The "multiple fields of selectable length" text in the Add Mask
> > > > > description is not clear - I see how this works, but an example
> > > > > that uses an Add Mask to designate multiple fields would help.
> > > >
> > > > [Authors] Since there are no other operation examples in the
> > > > document, we are not sure if we want to add one for this.
> > > > However, here is an example:
> > >
> > > I see (says the blind man) - I agree that the example is too long to
> > > add,
> > but it
> > > did help me figure out what appears to be missing.  My confusion was
> > > caused by the following sentence:
> > >
> > >    A bit set in the Add Mask field specifies the field boundary.
> > >
> > > This longer sentence would have avoided my confusion:
> > >
> > >    A bit set in the Add Mask field specifies the field boundary; for =
each
> > >    field, a bit is set at the most significant bit position for each =
field,
> > >    causing any carry out of that bit position to be discarded when th=
e
> > >    addition is performed.
> > >
> > > Please use the longer sentence.
> >
> > This is better.  Thanks!
> >
> > >
> > > [3] FetchAdd pseudo code (5.1.1)
> > >
> > > > > the FetchAdd pseudo code contains a lot of doubled complement
> > > > > operations, e.g., carry =3D !(!(sum & 2)) - why is that not carry
> > > > > =3D sum &
> > 2 ??
> > > >
> > > > [Authors]  The double complement gives a result of 0 or 1
> > > > depending on whether the value is zero or non-zero.  The
> > > > subsequent calculations rely
> > on
> > > this.
> > > > It is the equivalent of:
> > > >       If (sum & 2)
> > > >               carry =3D 1
> > > >       else
> > > >               carry =3D 0
> > >
> > > Ok, but that seems too clever; the following would be clearer ('>>'
> > > denotes
> > a
> > > right logical shift):
> > >
> > >         carry =3D (sum & 2) >> 1
> > >
> > > For the other two instances, the loop index provides the shift
> > > quantity,
> > e.g.,
> > >
> > > OLD
> > >       val1 =3D !(!(Original Remote Data Value & bit_location)) NEW
> > >       val1 =3D (Original Remote Data Value & bit_location) >> bit
> > >
> > > I would prefer that shift operations be used instead of doubled
> > > complement operations.
> >
> > This is a nice clarification.  Thanks.
> >
> > >
> > > [4] Swap editorial nit (5.1.2)
> > >
> > > > > This sentence in the last paragraph is problematic standing by it=
self:
> > > > >
> > > > >    Additionally an error MUST be surfaced and a terminate
> > > > >    message MUST be generated.
> > > > >
> > > > > I think that needs to be combined with the previous sentence to
> > > > > introduce a bullet list of what has to happen when a
> > > > > non-64-bit-aligned
> > > address is used:
> > > > >
> > > > >     If a Swap Atomic Operation is attempted on a target buffer ad=
dress
> > > > >     that is not 64-bit aligned, then:
> > > > >
> > > > >     o The operation MUST NOT be performed,
> > > > >     o The Responder's memory MUST NOT be modified,
> > > > >     o The result MUST be surfaced as an error, and
> > > > >     o A terminate message MUST be generated.
> > > > >
> > > > > In addition, it's important to say which error is generated.
> > > > > Section 8.2 indicates 0x0/0x2/0x07, Remote Operation Error /
> > > > > Catastrophic error, localized to RDMAP Stream - say that here als=
o.
> > > >
> > > > [Authors] Section reworked as suggest.  The specific error code is
> > > > referenced instead of repeated.
> > >
> > > Change the sentence before the itemized list to the new sentence
> > > above that starts with "If a" and make the same change to the
> > > CmpSwap text in the next section.
> >
> > Fixed.  Thanks.
> >
> > >
> > > [5] Request Identifier for Atomic operations (5.2.1)
> > >
> > > Editorial change:
> > >
> > > OLD
> > >          The Request Identifier specifies a number that is used to
> > >          identify Atomic Operation Request Message. The value used in
> > >          this field is implementation dependent and outside the scope
> > >          of this specification. The value of this field is reflected
> > >          back to the Local Peer in the Atomic Operation Response
> > >          message.
> > > NEW
> > >          The Request Identifier specifies a number that is used to
> > >          identify Atomic Operation Request Message. The value used in
> > >          this field is selected by the RNIC that sends this message,
> > >          and is reflected back to the Local Peer in the Atomic
> > >          Operation Response message.
> > >
> > > My primary reason this change is to remove the "outside the scope of
> > > this specification" language.  That's not typical IETF usage, and is
> > > likely to
> > attract
> > > unwanted/unwarranted reviewer attention.
> >
> > Fixed.  Thanks!
> >
> > >
> > > [6] IANA Considerations.
> > >
> > > I'll almost certainly find some more text changes that'll be needed
> > > here -
> > I'll
> > > provide those as comments during WG Last Call.  For starters, the
> > > last paragraph in Section 10 should call IANA's attention to the two
> > > new
> > registries
> > > (not just one) and say that they are in Sections
> > > 10.1 and 10.2.
> > >
> > > Thanks,
> > > --David
> > >
> > > > -----Original Message-----
> > > > From: Sharp, Robert O [mailto:robert.o.sharp@intel.com]
> > > > Sent: Thursday, September 05, 2013 6:20 PM
> > > > To: Black, David; storm@ietf.org
> > > > Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
> > > >
> > > > Hi David,
> > > >
> > > > Thanks for the comments!  The author's responses are embedded
> below...
> > > >
> > > > Thanks,
> > > > Bob
> > > >
> > > > > -----Original Message-----
> > > > > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On
> > > > > Behalf Of Black, David
> > > > > Sent: Friday, July 05, 2013 8:03 PM
> > > > > To: storm@ietf.org
> > > > > Subject: [storm] David Black's review of
> > > > > draft-ietf-storm-rdmap-ext-04
> > > > >
> > > > > As I previously indicated, the authors should revise what they
> > > > > can
> > > > reasonably
> > > > > edit this coming week and submit a -05 version of this draft by
> > > > > the midnight UTC cutoff on Monday, July 15 [WARNING - that's
> > > > > midnight Greenwich (Zulu) Time, not any US Time and not British
> Summer Time!].
> > > > >
> > > > > I'm happy to carry any of the comments below over to become
> > > > > initial WG Last Call comments on that -05 version due to the
> > > > > severe delays in dealing with this draft.
> > > > >
> > > > > Surprising omission - the term "atomic" is never defined (!).
> > > > > No, the definition is not obvious ... a crucial question (which
> > > > > could be answered by
> > > > a
> > > > > definition or in Section 5.3) is: "Atomic with respect to what?".
> > > > > There are atomic operations defined in other contexts that are
> > > > > atomic only with respect to other atomic operations (and not
> > > > > atomic wrt other non- atomic operations), and I think
> > > > > considerably more is
> > > intended here.
> > > > > Section 7 does not appear to be sufficient, as it describes
> > > > > behavior from
> > > > the
> > > > > viewpoint of a single operation issuer, which does not include
> > > > > behavior with respect to operations that may have been issued
> > > > > from elsewhere, including local memory access by the Remote Peer.
> > > >
> > > > [Authors] Significant text has been added to describe atomic behavi=
or.
> > > > The wire protocol only covers atomicity between atomic operations
> > > > on streams in the context of a single RNIC.  It does not cover
> > > > other RNIC behaviors that cover multiple RNICs or between host
> > > > software not using
> > > the RNIC.
> > > >
> > > > >
> > > > > Section 4 - say how large the Atomic Request and Atomic Response
> > > > > headers are.
> > > >
> > > > [Authors] Addressed in draft
> > > >
> > > > >
> > > > > Section 4.1 - I think Figure 1 actually contains 3 fields - the
> > > > > two Control
> > > > Fields
> > > > > and the Invalidate STag field (see Figure 4 in RFC 5040).  It
> > > > > would be
> > > > helpful
> > > > > to add some text below the figure to indicate which bytes are
> > > > > which field (this is also a problem in RFC 5040).  Appendix A
> > > > > helps, but the field delineations really need to be here.
> > > >
> > > > [Authors] Text added
> > > >
> > > > >
> > > > > Throughout section 5 - these operations are specified in terms
> > > > > of "destination address".  Would it be better to talk about
> > > > > "buffer
> > offset"?
> > > >
> > > > [Authors] Good comment.  Switched to ULP Buffer address
> > > > terminology to be consistent with the other drafts.
> > > >
> > > > >
> > > > > Section 5:
> > > > >
> > > > >    The discovery of whether the Atomic
> > > > >    Operations are implemented or not is outside the scope of this
> > > > >    specification and it should be handled by the ULPs or applicat=
ions.
> > > > >
> > > > > That's just asking for an IESG Discuss position :-).  At least
> > > > > say something about how discovery could work.  Moreover, what's
> > > > > wrong with just trying an atomic operation?  If the operation
> > > > > fails, the
> > resulting
> > > error will be:
> > > > >
> > > > >    0x0/0x2/0x06, Remote Operation Error / Unexpected OpCode
> > > > >
> > > > > It looks like a FetchAdd with Add Data=3D0 is a no-op that could
> > > > > safely be
> > > > used
> > > > > for this purpose, providing a simple robust discovery mechanism.
> > > >
> > > > [Authors] Added text describing current discovery mechanisms and
> > > > how this new capability fits in.
> > > >
> > > > > As part of this, I would add a requirement that if any of the
> > > > > atomic
> > > > operations
> > > > > are supported, then all of them MUST be supported, so that the
> > > > > FetchAdd no-op can be used to discover all of them.
> > > >
> > > > [Authors] All MUST be supported has been added.
> > > >
> > > > >
> > > > > Section 5.1.1:
> > > > >
> > > > > The "multiple fields of selectable length" text in the Add Mask
> > > > > description
> > > > is
> > > > > not clear - I see how this works, but an example that uses an
> > > > > Add Mask to designate multiple fields would help.
> > > >
> > > > [Authors] Since there are no other operation examples in the
> > > > document, we are not sure if we want to add one for this.
> > > > However, here is an example:
> > > >
> > > > Remote Data Value: 0x000000000000CDEF Add Data:
> 0x000000000000789A
> > > > Add Mask: 0x0000000000000808 =3D=3D b'0..0100000001000'
> > > >
> > > > In this example, the Add Mask specifies that there are three
> > > > independent fields to be added.  That is, the carry is not
> > > > propagated from one field to the next.
> > > > The fields are:
> > > >       Bits 0 - 3
> > > >       Bits 4 - 11
> > > >       Bits 12 - 63
> > > >
> > > > The results of adding the Remote Data Value and the Add Data for
> > > > each field
> > > > are:
> > > >       0xF + 0xA =3D 0X9         (carry is dropped)
> > > >       0xDE + 0x89 =3D 0x67      (carry is dropped)
> > > >       0xC + 0x7 =3D 0x13
> > > > The result of the operation is 0x0000000000013679.
> > > >
> > > > >
> > > > > the FetchAdd pseudo code contains a lot of doubled complement
> > > > > operations, e.g., carry =3D !(!(sum & 2)) - why is that not carry
> > > > > =3D sum &
> > 2 ??
> > > >
> > > > [Authors]  The double complement gives a result of 0 or 1
> > > > depending on whether the value is zero or non-zero.  The
> > > > subsequent calculations rely
> > on
> > > this.
> > > > It is the equivalent of:
> > > >       If (sum & 2)
> > > >               carry =3D 1
> > > >       else
> > > >               carry =3D 0
> > > >
> > > > >
> > > > > Section 5.1.2
> > > > >
> > > > > This sentence in the last paragraph is problematic standing by it=
self:
> > > > >
> > > > >    Additionally an error MUST be surfaced and a terminate
> > > > >    message MUST be generated.
> > > > >
> > > > > I think that needs to be combined with the previous sentence to
> > > > > introduce a bullet list of what has to happen when a
> > > > > non-64-bit-aligned
> > > address is used:
> > > > >
> > > > >     If a Swap Atomic Operation is attempted on a target buffer ad=
dress
> > > > >     that is not 64-bit aligned, then:
> > > > >
> > > > >     o The operation MUST NOT be performed,
> > > > >     o The Responder's memory MUST NOT be modified,
> > > > >     o The result MUST be surfaced as an error, and
> > > > >     o A terminate message MUST be generated.
> > > > >
> > > > > In addition, it's important to say which error is generated.
> > > > > Section 8.2 indicates 0x0/0x2/0x07, Remote Operation Error /
> > > > > Catastrophic error, localized to RDMAP Stream - say that here als=
o.
> > > >
> > > > [Authors] Section reworked as suggest.  The specific error code is
> > > > referenced instead of repeated.
> > > >
> > > > >
> > > > > Section 5.1.3
> > > > >
> > > > > Same comments as last paragraph in Section 5.1.2
> > > > >
> > > > > This section uses "Original Remote Data Value".  Sections 5.1.1
> > > > > and
> > > > > 5.1.2
> > > > use
> > > > > "Original Remote Data".  All three should use the same term, and
> > > > > based on Section 5.2.2, "Original Remote Data Value" appears to
> > > > > be
> > > correct.
> > > >
> > > > [Authors] Corrected
> > > >
> > > > >
> > > > > Section 5.2.1
> > > > >
> > > > >      Request Identifier: 32 bits.
> > > > >
> > > > >          The Request Identifier specifies a number that is used t=
o
> > > > >          identify Atomic Operation Request Message. The use of th=
is
> > > > >          field is implementation dependent and outside the scope =
of
> > > > >          this specification.
> > > > >
> > > > > That's not right.  This identifier is returned in the response
> > > > > and used by
> > > > the
> > > > > Requestor to associate the response to the request.  The
> > > > > Requestor can choose any value it likes that enables it to do
> > > > > that, and the details of how those values are generated is
> > > > > outside the scope of this specification, but their use is definit=
ely in
> scope.
> > > >
> > > > [Authors] Good catch.  Corrected.
> > > >
> > > > >
> > > > > Section 10, IANA Considerations:
> > > > >
> > > > >    0x9, Immediate Data with SE, [RFCXXXX]
> > > > >
> > > > > Spell out SE as "Solicited Event"
> > > >
> > > > [Authors] Corrected.
> > > >
> > > > >
> > > > > Section 10.1
> > > > >
> > > > > This one's my fault, partly.  The specification of the new
> > > > > registry is based
> > > > on a
> > > > > version of the rddp registries draft that was subsequently
> > > > > changed (e.g.,
> > > > the
> > > > > Assignment Policy paragraph needs to be removed.
> > > > >
> > > > > See the -02 version of the rddp registries draft for text to use
> > > > > as a
> > model:
> > > > >
> > > > > http://tools.ietf.org/id/draft-ietf-storm-rddp-registries-02.txt
> > > > >
> > > > > I'd suggest working from Section 3.5 in that -02 version.
> > > >
> > > > [Authors] Corrected.we think.  Also added a Queue Number Registry.
> > > >
> > > > >
> > > > > Thanks,
> > > > > --David
> > > > > ----------------------------------------------------
> > > > > David L. Black, Distinguished Engineer EMC Corporation, 176
> > > > > South St., Hopkinton, MA  01748
> > > > > +1 (508) 293-7953             FAX: +1 (508) 293-7786
> > > > > david.black@emc.com        Mobile: +1 (978) 394-7754
> > > > > ----------------------------------------------------
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > storm mailing list
> > > > > storm@ietf.org
> > > > > https://www.ietf.org/mailman/listinfo/storm
> >


From david.black@emc.com  Mon Sep 16 15:02:57 2013
Return-Path: <david.black@emc.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BEA0211E81D0 for <storm@ietfa.amsl.com>; Mon, 16 Sep 2013 15:02:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.999
X-Spam-Level: 
X-Spam-Status: No, score=-101.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_92=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TMz2D5op6sLN for <storm@ietfa.amsl.com>; Mon, 16 Sep 2013 15:02:54 -0700 (PDT)
Received: from mailuogwhop.emc.com (mailuogwhop.emc.com [168.159.213.141]) by ietfa.amsl.com (Postfix) with ESMTP id A79DF11E81C6 for <storm@ietf.org>; Mon, 16 Sep 2013 15:02:53 -0700 (PDT)
Received: from maildlpprd05.lss.emc.com (maildlpprd05.lss.emc.com [10.253.24.37]) by mailuogwprd02.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r8GM2qGl013111 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Sep 2013 18:02:52 -0400
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd02.lss.emc.com r8GM2qGl013111
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1379368972; bh=7uHtTWQINMLy+Rixg3RoJ4Rmgws=; h=From:To:Date:Subject:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=Hs3dkyFu4+OB3lOC4jVigfp5dstW5FI5ZjvQv3xGUojhmB9htDcP2sfF9ZpxVRlEz rPf3PjTxVFlpAmyINTo5iSdGbo7sh4gg5IZGZmDvYfDa8/BEn6hOP140gF/riEzfiJ qzOXTlvQJDpyBFsR1d0KI363ivP1CLPNev6HgDeY=
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd02.lss.emc.com r8GM2qGl013111
Received: from mailusrhubprd53.lss.emc.com (mailusrhubprd53.lss.emc.com [10.106.48.18]) by maildlpprd05.lss.emc.com (RSA Interceptor); Mon, 16 Sep 2013 15:02:45 -0700
Received: from mxhub04.corp.emc.com (mxhub04.corp.emc.com [10.254.141.106]) by mailusrhubprd53.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id r8GM2jo5030082 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 16 Sep 2013 18:02:45 -0400
Received: from mx15a.corp.emc.com ([169.254.1.46]) by mxhub04.corp.emc.com ([10.254.141.106]) with mapi; Mon, 16 Sep 2013 18:02:45 -0400
From: "Black, David" <david.black@emc.com>
To: "Sharp, Robert O" <robert.o.sharp@intel.com>, "storm@ietf.org" <storm@ietf.org>
Date: Mon, 16 Sep 2013 18:02:43 -0400
Thread-Topic: David Black's review of draft-ietf-storm-rdmap-ext-04
Thread-Index: Ac555JDwK6QsDppJRjas//rbxrYADQwn8w8QADLAiRAA+MIQMABvonpgAIsbdWAAArWL4A==
Message-ID: <8D3D17ACE214DC429325B2B98F3AE712025DA1C026@MX15A.corp.emc.com>
References: <8D3D17ACE214DC429325B2B98F3AE712983F2ABC@MX15A.corp.emc.com> <2ABFA3E36CBB794685BFBA191CC1964952B1D820@FMSMSX105.amr.corp.intel.com> <8D3D17ACE214DC429325B2B98F3AE712025D76270F@MX15A.corp.emc.com> <2ABFA3E36CBB794685BFBA191CC1964952B2D3F5@FMSMSX105.amr.corp.intel.com> <8D3D17ACE214DC429325B2B98F3AE712025DA1BD34@MX15A.corp.emc.com> <2ABFA3E36CBB794685BFBA191CC1964952B3A70A@FMSMSX105.amr.corp.intel.com>
In-Reply-To: <2ABFA3E36CBB794685BFBA191CC1964952B3A70A@FMSMSX105.amr.corp.intel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd53.lss.emc.com
X-EMM-GWVC: 1
X-RSA-Classifications: DLM_1, public
X-EMM-McAfeeVC: 1
Subject: Re: [storm] David Black's review of draft-ietf-storm-rdmap-ext-04
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Sep 2013 22:02:57 -0000

idnits is right about this one, mea culpa ...

        Some RNIC implementations may provide such atomic behavior, but it =
is
      NOT REQUIRED by the atomic operations specified in this document.

"NOT REQUIRED by" -> "OPTIONAL for" should work nicely.

Thanks,
--David


> -----Original Message-----
> From: Sharp, Robert O [mailto:robert.o.sharp@intel.com]
> Sent: Monday, September 16, 2013 4:45 PM
> To: Black, David; storm@ietf.org
> Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
>
> Hi David,
>
> This works for us.  Thanks for keeping at it with us.
>
> When I run the nits tool, I get the following...
>
> Miscellaneous warnings:
>   -----------------------------------------------------------------------=
-----
>
>   -- The exact meaning of the all-uppercase expression 'NOT REQUIRED' is =
not
>      defined in RFC 2119.  If it is intended as a requirements expression=
, it
>      should be rewritten using one of the combinations defined in RFC 211=
9;
>      otherwise it should not be all-uppercase.
>
> Should I just keep it all lower case?
>
> Thanks,
> Bob
>
> > -----Original Message-----
> > From: Black, David [mailto:david.black@emc.com]
> > Sent: Saturday, September 14, 2013 12:14 AM
> > To: Sharp, Robert O; storm@ietf.org
> > Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
> >
> > Hi Bob,
> >
> > Ok, we're down to just topic [1] - thank you for picking up the other
> changes:
> >
> > > > [1] Atomics and software running on local host (3, although I agree
> > > > with Tom's suggestion to move the text about what's not covered,
> > > > including whatever is added/done to respond to this comment).
> > > >
> > > > > [Authors] Significant text has been added to describe atomic beha=
vior.
> > > > > The wire protocol only covers atomicity between atomic operations
> > > > > on streams in the context of a single RNIC.  It does not cover
> > > > > other RNIC behaviors that cover multiple RNICs or between host
> > > > > software not using the RNIC.
> > > >
> > > > I'm surprised by the latter (host software not using the RNIC).  Ho=
w
> > > > does such host software that wants to coordinate w/remote atomic
> > > > operations do so?
> > > >
> > > > Obviously, the main memory subsystem won't do that, but do RNIC
> > > > implementations provide a way to ask the RNIC to do something to
> > > > local memory that behaves atomically wrt remote atomic ops
> > > > (obviously that would be slower than just accessing the memory from
> > > > the/a main CPU)?  If so, a sentence pointing out that this may be
> > > > available (possibly depending on the RNIC) would be helpful.
> > > >
> > > The specifics of the implementation (platform and/or adapter) as well
> > > as anything we would need to cover in a verbs document do not seem in
> > > scope.  We agree with what you expect and RNIC to at least attempt
> > > provide, but do not believe that it should be discussed in this spec.
> >
> > I'm not looking for a "discussion" - a single sentence saying that some=
 RNIC
> > implementations may provide atomicity behavior wrt local accesses
> > performed via the RNIC would suffice.  See suggested text below that pi=
cks
> > up this point in the second NEW sentence.
> >
> > >
> > > > Also the following change would help:
> > > >
> > > > OLD
> > > >         Atomicity guarantees
> > > >         across multiple RNICs or between other applications/ULPs ru=
nning
> on
> > > >         the Responder with access to the ULP Buffer are outside the
> scope of
> > > >         this specification.
> > > > NEW
> > > >         Atomic operations do not provide atomicity guarantees   acr=
oss
> > > multiple
> > > >       RNICs or with other applications/ULPs running on the Responde=
r
> that
> > > >       can access the ULP Buffer.
> > >
> > > We can work to remove the "outside the scope" statement, but the new
> > > text above implies that and RNIC will not provide wider guarantees an=
d
> > > that is not what we want to say here.  It is likely that
> > > implementations will do more than the wire protocol can guarantee.  I=
f we
> > change the "do not" to a "may not"
> > > this works for me.
> >
> > How about this text:
> >
> > NEW
> >       The Requester of an atomic operation cannot rely on atomic operat=
ion
> >         behavior at the Responder across multiple RNICs or with respect=
 to
> other
> >         applications/ULPs running at the Responder that can access the =
ULP
> > Buffer.
> >         Some RNIC implementations may provide such atomic behavior, but=
 it
> is
> >         NOT REQUIRED by the atomic operations specified in this documen=
t.
> >
> > What I've tried to do is express the lack of guarantee as "cannot rely =
on"
> > in the first sentence punctuated by the clear "NOT REQUIRED" statement
> > about what RNIC implementations could do in the second sentence.
> >
> > Thanks,
> > --David
> >
> > > -----Original Message-----
> > > From: Sharp, Robert O [mailto:robert.o.sharp@intel.com]
> > > Sent: Wednesday, September 11, 2013 5:09 PM
> > > To: Black, David; storm@ietf.org
> > > Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
> > >
> > > Hi David,
> > >
> > > Thanks again for the review and comments.  Responses below...
> > >
> > > Thanks,
> > > Bob
> > >
> > > > -----Original Message-----
> > > > From: Black, David [mailto:david.black@emc.com]
> > > > Sent: Friday, September 06, 2013 6:14 PM
> > > > To: Sharp, Robert O; storm@ietf.org
> > > > Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-04
> > > >
> > > > Hi Robert,
> > > >
> > > > The new -05 draft is a definite improvement.  I have a few comments
> > > > to add - anything that I haven't commented on here is fine (at leas=
t for
> > me).
> > > >
> > > > [1] Atomics and software running on local host (3, although I agree
> > > > with Tom's suggestion to move the text about what's not covered,
> > > > including whatever is added/done to respond to this comment).
> > > >
> > > > > [Authors] Significant text has been added to describe atomic beha=
vior.
> > > > > The wire protocol only covers atomicity between atomic operations
> > > > > on streams in the context of a single RNIC.  It does not cover
> > > > > other RNIC behaviors that cover multiple RNICs or between host
> > > > > software not using
> > > > the RNIC.
> > > >
> > > > I'm surprised by the latter (host software not using the RNIC).  Ho=
w
> > > > does such host software that wants to coordinate w/remote atomic
> > > > operations do so?
> > > >
> > > > Obviously, the main memory subsystem won't do that, but do RNIC
> > > > implementations provide a way to ask the RNIC to do something to
> > > > local memory that behaves atomically wrt remote atomic ops
> > > > (obviously that would be slower than just accessing the memory from
> > > > the/a main CPU)?  If so, a sentence pointing out that this may be
> > > > available (possibly depending
> > > on
> > > > the RNIC) would be helpful.
> > > >
> > > The specifics of the implementation (platform and/or adapter) as well
> > > as anything we would need to cover in a verbs document do not seem in
> > > scope.  We agree with what you expect and RNIC to at least attempt
> > > provide, but do not believe that it should be discussed in this spec.
> > >
> > > > Also the following change would help:
> > > >
> > > > OLD
> > > >         Atomicity guarantees
> > > >         across multiple RNICs or between other applications/ULPs ru=
nning
> on
> > > >         the Responder with access to the ULP Buffer are outside the
> scope of
> > > >         this specification.
> > > > NEW
> > > >         Atomic operations do not provide atomicity guarantees   acr=
oss
> > > multiple
> > > >       RNICs or with other applications/ULPs running on the Responde=
r
> that
> > > >       can access the ULP Buffer.
> > >
> > > We can work to remove the "outside the scope" statement, but the new
> > > text above implies that and RNIC will not provide wider guarantees an=
d
> > > that is not what we want to say here.  It is likely that
> > > implementations will do more than the wire protocol can guarantee.  I=
f we
> > change the "do not" to a "may not"
> > > this works for me.
> > >
> > > >
> > > > My primary reason for this change is to remove the "outside the
> > > > scope of
> > > this
> > > > specification" language.  That's not typical IETF usage, and is
> > > > likely to
> > > attract
> > > > unwanted/unwarranted reviewer attention.  It's better to state what
> > > > isn't happening.
> > > >
> > > > [2] Discovery (1.1)
> > > >
> > > > > > Moreover, what's wrong with just trying an atomic operation?  I=
f
> > > > > > the operation fails, the resulting error will be:
> > > > > >
> > > > > >    0x0/0x2/0x06, Remote Operation Error / Unexpected OpCode
> > > > > >
> > > > > > It looks like a FetchAdd with Add Data=3D0 is a no-op that coul=
d
> > > > > > safely be used for this purpose, providing a simple robust
> > > > > > discovery
> > > > mechanism.
> > > > >
> > > > > [Authors] Added text describing current discovery mechanisms and
> > > > > how this new capability fits in.
> > > >
> > > > Even if the authors don't want to recommend this approach (try an
> > > > atomic No-Op; either it works or generates an Unexpected OpCode
> > > > error), please add a sentence pointing out that it is possible.
> > >
> > > Added a paragraph
> > >
> > > >
> > > > [3] Add Mask description (5.1.1)
> > > >
> > > > > > The "multiple fields of selectable length" text in the Add Mask
> > > > > > description is not clear - I see how this works, but an example
> > > > > > that uses an Add Mask to designate multiple fields would help.
> > > > >
> > > > > [Authors] Since there are no other operation examples in the
> > > > > document, we are not sure if we want to add one for this.
> > > > > However, here is an example:
> > > >
> > > > I see (says the blind man) - I agree that the example is too long t=
o
> > > > add,
> > > but it
> > > > did help me figure out what appears to be missing.  My confusion wa=
s
> > > > caused by the following sentence:
> > > >
> > > >    A bit set in the Add Mask field specifies the field boundary.
> > > >
> > > > This longer sentence would have avoided my confusion:
> > > >
> > > >    A bit set in the Add Mask field specifies the field boundary; fo=
r
> each
> > > >    field, a bit is set at the most significant bit position for eac=
h
> field,
> > > >    causing any carry out of that bit position to be discarded when =
the
> > > >    addition is performed.
> > > >
> > > > Please use the longer sentence.
> > >
> > > This is better.  Thanks!
> > >
> > > >
> > > > [3] FetchAdd pseudo code (5.1.1)
> > > >
> > > > > > the FetchAdd pseudo code contains a lot of doubled complement
> > > > > > operations, e.g., carry =3D !(!(sum & 2)) - why is that not car=
ry
> > > > > > =3D sum &
> > > 2 ??
> > > > >
> > > > > [Authors]  The double complement gives a result of 0 or 1
> > > > > depending on whether the value is zero or non-zero.  The
> > > > > subsequent calculations rely
> > > on
> > > > this.
> > > > > It is the equivalent of:
> > > > >       If (sum & 2)
> > > > >               carry =3D 1
> > > > >       else
> > > > >               carry =3D 0
> > > >
> > > > Ok, but that seems too clever; the following would be clearer ('>>'
> > > > denotes
> > > a
> > > > right logical shift):
> > > >
> > > >         carry =3D (sum & 2) >> 1
> > > >
> > > > For the other two instances, the loop index provides the shift
> > > > quantity,
> > > e.g.,
> > > >
> > > > OLD
> > > >       val1 =3D !(!(Original Remote Data Value & bit_location)) NEW
> > > >       val1 =3D (Original Remote Data Value & bit_location) >> bit
> > > >
> > > > I would prefer that shift operations be used instead of doubled
> > > > complement operations.
> > >
> > > This is a nice clarification.  Thanks.
> > >
> > > >
> > > > [4] Swap editorial nit (5.1.2)
> > > >
> > > > > > This sentence in the last paragraph is problematic standing by
> itself:
> > > > > >
> > > > > >    Additionally an error MUST be surfaced and a terminate
> > > > > >    message MUST be generated.
> > > > > >
> > > > > > I think that needs to be combined with the previous sentence to
> > > > > > introduce a bullet list of what has to happen when a
> > > > > > non-64-bit-aligned
> > > > address is used:
> > > > > >
> > > > > >     If a Swap Atomic Operation is attempted on a target buffer
> address
> > > > > >     that is not 64-bit aligned, then:
> > > > > >
> > > > > >     o The operation MUST NOT be performed,
> > > > > >     o The Responder's memory MUST NOT be modified,
> > > > > >     o The result MUST be surfaced as an error, and
> > > > > >     o A terminate message MUST be generated.
> > > > > >
> > > > > > In addition, it's important to say which error is generated.
> > > > > > Section 8.2 indicates 0x0/0x2/0x07, Remote Operation Error /
> > > > > > Catastrophic error, localized to RDMAP Stream - say that here a=
lso.
> > > > >
> > > > > [Authors] Section reworked as suggest.  The specific error code i=
s
> > > > > referenced instead of repeated.
> > > >
> > > > Change the sentence before the itemized list to the new sentence
> > > > above that starts with "If a" and make the same change to the
> > > > CmpSwap text in the next section.
> > >
> > > Fixed.  Thanks.
> > >
> > > >
> > > > [5] Request Identifier for Atomic operations (5.2.1)
> > > >
> > > > Editorial change:
> > > >
> > > > OLD
> > > >          The Request Identifier specifies a number that is used to
> > > >          identify Atomic Operation Request Message. The value used =
in
> > > >          this field is implementation dependent and outside the sco=
pe
> > > >          of this specification. The value of this field is reflecte=
d
> > > >          back to the Local Peer in the Atomic Operation Response
> > > >          message.
> > > > NEW
> > > >          The Request Identifier specifies a number that is used to
> > > >          identify Atomic Operation Request Message. The value used =
in
> > > >          this field is selected by the RNIC that sends this message=
,
> > > >          and is reflected back to the Local Peer in the Atomic
> > > >          Operation Response message.
> > > >
> > > > My primary reason this change is to remove the "outside the scope o=
f
> > > > this specification" language.  That's not typical IETF usage, and i=
s
> > > > likely to
> > > attract
> > > > unwanted/unwarranted reviewer attention.
> > >
> > > Fixed.  Thanks!
> > >
> > > >
> > > > [6] IANA Considerations.
> > > >
> > > > I'll almost certainly find some more text changes that'll be needed
> > > > here -
> > > I'll
> > > > provide those as comments during WG Last Call.  For starters, the
> > > > last paragraph in Section 10 should call IANA's attention to the tw=
o
> > > > new
> > > registries
> > > > (not just one) and say that they are in Sections
> > > > 10.1 and 10.2.
> > > >
> > > > Thanks,
> > > > --David
> > > >
> > > > > -----Original Message-----
> > > > > From: Sharp, Robert O [mailto:robert.o.sharp@intel.com]
> > > > > Sent: Thursday, September 05, 2013 6:20 PM
> > > > > To: Black, David; storm@ietf.org
> > > > > Subject: RE: David Black's review of draft-ietf-storm-rdmap-ext-0=
4
> > > > >
> > > > > Hi David,
> > > > >
> > > > > Thanks for the comments!  The author's responses are embedded
> > below...
> > > > >
> > > > > Thanks,
> > > > > Bob
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: storm-bounces@ietf.org [mailto:storm-bounces@ietf.org] On
> > > > > > Behalf Of Black, David
> > > > > > Sent: Friday, July 05, 2013 8:03 PM
> > > > > > To: storm@ietf.org
> > > > > > Subject: [storm] David Black's review of
> > > > > > draft-ietf-storm-rdmap-ext-04
> > > > > >
> > > > > > As I previously indicated, the authors should revise what they
> > > > > > can
> > > > > reasonably
> > > > > > edit this coming week and submit a -05 version of this draft by
> > > > > > the midnight UTC cutoff on Monday, July 15 [WARNING - that's
> > > > > > midnight Greenwich (Zulu) Time, not any US Time and not British
> > Summer Time!].
> > > > > >
> > > > > > I'm happy to carry any of the comments below over to become
> > > > > > initial WG Last Call comments on that -05 version due to the
> > > > > > severe delays in dealing with this draft.
> > > > > >
> > > > > > Surprising omission - the term "atomic" is never defined (!).
> > > > > > No, the definition is not obvious ... a crucial question (which
> > > > > > could be answered by
> > > > > a
> > > > > > definition or in Section 5.3) is: "Atomic with respect to what?=
".
> > > > > > There are atomic operations defined in other contexts that are
> > > > > > atomic only with respect to other atomic operations (and not
> > > > > > atomic wrt other non- atomic operations), and I think
> > > > > > considerably more is
> > > > intended here.
> > > > > > Section 7 does not appear to be sufficient, as it describes
> > > > > > behavior from
> > > > > the
> > > > > > viewpoint of a single operation issuer, which does not include
> > > > > > behavior with respect to operations that may have been issued
> > > > > > from elsewhere, including local memory access by the Remote Pee=
r.
> > > > >
> > > > > [Authors] Significant text has been added to describe atomic beha=
vior.
> > > > > The wire protocol only covers atomicity between atomic operations
> > > > > on streams in the context of a single RNIC.  It does not cover
> > > > > other RNIC behaviors that cover multiple RNICs or between host
> > > > > software not using
> > > > the RNIC.
> > > > >
> > > > > >
> > > > > > Section 4 - say how large the Atomic Request and Atomic Respons=
e
> > > > > > headers are.
> > > > >
> > > > > [Authors] Addressed in draft
> > > > >
> > > > > >
> > > > > > Section 4.1 - I think Figure 1 actually contains 3 fields - the
> > > > > > two Control
> > > > > Fields
> > > > > > and the Invalidate STag field (see Figure 4 in RFC 5040).  It
> > > > > > would be
> > > > > helpful
> > > > > > to add some text below the figure to indicate which bytes are
> > > > > > which field (this is also a problem in RFC 5040).  Appendix A
> > > > > > helps, but the field delineations really need to be here.
> > > > >
> > > > > [Authors] Text added
> > > > >
> > > > > >
> > > > > > Throughout section 5 - these operations are specified in terms
> > > > > > of "destination address".  Would it be better to talk about
> > > > > > "buffer
> > > offset"?
> > > > >
> > > > > [Authors] Good comment.  Switched to ULP Buffer address
> > > > > terminology to be consistent with the other drafts.
> > > > >
> > > > > >
> > > > > > Section 5:
> > > > > >
> > > > > >    The discovery of whether the Atomic
> > > > > >    Operations are implemented or not is outside the scope of th=
is
> > > > > >    specification and it should be handled by the ULPs or
> applications.
> > > > > >
> > > > > > That's just asking for an IESG Discuss position :-).  At least
> > > > > > say something about how discovery could work.  Moreover, what's
> > > > > > wrong with just trying an atomic operation?  If the operation
> > > > > > fails, the
> > > resulting
> > > > error will be:
> > > > > >
> > > > > >    0x0/0x2/0x06, Remote Operation Error / Unexpected OpCode
> > > > > >
> > > > > > It looks like a FetchAdd with Add Data=3D0 is a no-op that coul=
d
> > > > > > safely be
> > > > > used
> > > > > > for this purpose, providing a simple robust discovery mechanism=
.
> > > > >
> > > > > [Authors] Added text describing current discovery mechanisms and
> > > > > how this new capability fits in.
> > > > >
> > > > > > As part of this, I would add a requirement that if any of the
> > > > > > atomic
> > > > > operations
> > > > > > are supported, then all of them MUST be supported, so that the
> > > > > > FetchAdd no-op can be used to discover all of them.
> > > > >
> > > > > [Authors] All MUST be supported has been added.
> > > > >
> > > > > >
> > > > > > Section 5.1.1:
> > > > > >
> > > > > > The "multiple fields of selectable length" text in the Add Mask
> > > > > > description
> > > > > is
> > > > > > not clear - I see how this works, but an example that uses an
> > > > > > Add Mask to designate multiple fields would help.
> > > > >
> > > > > [Authors] Since there are no other operation examples in the
> > > > > document, we are not sure if we want to add one for this.
> > > > > However, here is an example:
> > > > >
> > > > > Remote Data Value: 0x000000000000CDEF Add Data:
> > 0x000000000000789A
> > > > > Add Mask: 0x0000000000000808 =3D=3D b'0..0100000001000'
> > > > >
> > > > > In this example, the Add Mask specifies that there are three
> > > > > independent fields to be added.  That is, the carry is not
> > > > > propagated from one field to the next.
> > > > > The fields are:
> > > > >       Bits 0 - 3
> > > > >       Bits 4 - 11
> > > > >       Bits 12 - 63
> > > > >
> > > > > The results of adding the Remote Data Value and the Add Data for
> > > > > each field
> > > > > are:
> > > > >       0xF + 0xA =3D 0X9         (carry is dropped)
> > > > >       0xDE + 0x89 =3D 0x67      (carry is dropped)
> > > > >       0xC + 0x7 =3D 0x13
> > > > > The result of the operation is 0x0000000000013679.
> > > > >
> > > > > >
> > > > > > the FetchAdd pseudo code contains a lot of doubled complement
> > > > > > operations, e.g., carry =3D !(!(sum & 2)) - why is that not car=
ry
> > > > > > =3D sum &
> > > 2 ??
> > > > >
> > > > > [Authors]  The double complement gives a result of 0 or 1
> > > > > depending on whether the value is zero or non-zero.  The
> > > > > subsequent calculations rely
> > > on
> > > > this.
> > > > > It is the equivalent of:
> > > > >       If (sum & 2)
> > > > >               carry =3D 1
> > > > >       else
> > > > >               carry =3D 0
> > > > >
> > > > > >
> > > > > > Section 5.1.2
> > > > > >
> > > > > > This sentence in the last paragraph is problematic standing by
> itself:
> > > > > >
> > > > > >    Additionally an error MUST be surfaced and a terminate
> > > > > >    message MUST be generated.
> > > > > >
> > > > > > I think that needs to be combined with the previous sentence to
> > > > > > introduce a bullet list of what has to happen when a
> > > > > > non-64-bit-aligned
> > > > address is used:
> > > > > >
> > > > > >     If a Swap Atomic Operation is attempted on a target buffer
> address
> > > > > >     that is not 64-bit aligned, then:
> > > > > >
> > > > > >     o The operation MUST NOT be performed,
> > > > > >     o The Responder's memory MUST NOT be modified,
> > > > > >     o The result MUST be surfaced as an error, and
> > > > > >     o A terminate message MUST be generated.
> > > > > >
> > > > > > In addition, it's important to say which error is generated.
> > > > > > Section 8.2 indicates 0x0/0x2/0x07, Remote Operation Error /
> > > > > > Catastrophic error, localized to RDMAP Stream - say that here a=
lso.
> > > > >
> > > > > [Authors] Section reworked as suggest.  The specific error code i=
s
> > > > > referenced instead of repeated.
> > > > >
> > > > > >
> > > > > > Section 5.1.3
> > > > > >
> > > > > > Same comments as last paragraph in Section 5.1.2
> > > > > >
> > > > > > This section uses "Original Remote Data Value".  Sections 5.1.1
> > > > > > and
> > > > > > 5.1.2
> > > > > use
> > > > > > "Original Remote Data".  All three should use the same term, an=
d
> > > > > > based on Section 5.2.2, "Original Remote Data Value" appears to
> > > > > > be
> > > > correct.
> > > > >
> > > > > [Authors] Corrected
> > > > >
> > > > > >
> > > > > > Section 5.2.1
> > > > > >
> > > > > >      Request Identifier: 32 bits.
> > > > > >
> > > > > >          The Request Identifier specifies a number that is used=
 to
> > > > > >          identify Atomic Operation Request Message. The use of =
this
> > > > > >          field is implementation dependent and outside the scop=
e of
> > > > > >          this specification.
> > > > > >
> > > > > > That's not right.  This identifier is returned in the response
> > > > > > and used by
> > > > > the
> > > > > > Requestor to associate the response to the request.  The
> > > > > > Requestor can choose any value it likes that enables it to do
> > > > > > that, and the details of how those values are generated is
> > > > > > outside the scope of this specification, but their use is defin=
itely
> in
> > scope.
> > > > >
> > > > > [Authors] Good catch.  Corrected.
> > > > >
> > > > > >
> > > > > > Section 10, IANA Considerations:
> > > > > >
> > > > > >    0x9, Immediate Data with SE, [RFCXXXX]
> > > > > >
> > > > > > Spell out SE as "Solicited Event"
> > > > >
> > > > > [Authors] Corrected.
> > > > >
> > > > > >
> > > > > > Section 10.1
> > > > > >
> > > > > > This one's my fault, partly.  The specification of the new
> > > > > > registry is based
> > > > > on a
> > > > > > version of the rddp registries draft that was subsequently
> > > > > > changed (e.g.,
> > > > > the
> > > > > > Assignment Policy paragraph needs to be removed.
> > > > > >
> > > > > > See the -02 version of the rddp registries draft for text to us=
e
> > > > > > as a
> > > model:
> > > > > >
> > > > > > http://tools.ietf.org/id/draft-ietf-storm-rddp-registries-02.tx=
t
> > > > > >
> > > > > > I'd suggest working from Section 3.5 in that -02 version.
> > > > >
> > > > > [Authors] Corrected.we think.  Also added a Queue Number Registry=
.
> > > > >
> > > > > >
> > > > > > Thanks,
> > > > > > --David
> > > > > > ----------------------------------------------------
> > > > > > David L. Black, Distinguished Engineer EMC Corporation, 176
> > > > > > South St., Hopkinton, MA  01748
> > > > > > +1 (508) 293-7953             FAX: +1 (508) 293-7786
> > > > > > david.black@emc.com        Mobile: +1 (978) 394-7754
> > > > > > ----------------------------------------------------
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > storm mailing list
> > > > > > storm@ietf.org
> > > > > > https://www.ietf.org/mailman/listinfo/storm
> > >
>


From internet-drafts@ietf.org  Mon Sep 16 18:49:21 2013
Return-Path: <internet-drafts@ietf.org>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7563E11E8251; Mon, 16 Sep 2013 18:49:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.574
X-Spam-Level: 
X-Spam-Status: No, score=-102.574 tagged_above=-999 required=5 tests=[AWL=0.026, BAYES_00=-2.599, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BjYJyzBgfVWM; Mon, 16 Sep 2013 18:49:20 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id D944721F9C72; Mon, 16 Sep 2013 18:49:20 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.71.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20130917014920.17989.25245.idtracker@ietfa.amsl.com>
Date: Mon, 16 Sep 2013 18:49:20 -0700
Cc: storm@ietf.org
Subject: [storm] I-D Action: draft-ietf-storm-rdmap-ext-07.txt
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Sep 2013 01:49:21 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the STORage Maintenance Working Group of the =
IETF.

	Title           : RDMA Protocol Extensions
	Author(s)       : Hemal Shah
                          Felix Marti
                          Wael Noureddine
                          Asgeir Eiriksson
                          Robert Sharp
	Filename        : draft-ietf-storm-rdmap-ext-07.txt
	Pages           : 36
	Date            : 2013-09-16

Abstract:
   This document specifies extensions to the IETF Remote Direct Memory
   Access Protocol (RDMAP [RFC5040]). RDMAP provides read and write
   services directly to applications and enables data to be transferred
   directly into Upper Layer Protocol (ULP) Buffers without
   intermediate data copies. The extensions specified in this document
   provide the following capabilities and/or improvements: Atomic
   Operations and Immediate Data.




The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-storm-rdmap-ext

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-storm-rdmap-ext-07

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-storm-rdmap-ext-07


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From ttalpey@microsoft.com  Mon Sep 30 13:48:41 2013
Return-Path: <ttalpey@microsoft.com>
X-Original-To: storm@ietfa.amsl.com
Delivered-To: storm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D707B21F9E69 for <storm@ietfa.amsl.com>; Mon, 30 Sep 2013 13:48:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.599
X-Spam-Level: 
X-Spam-Status: No, score=-103.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i+5MxngwGXqK for <storm@ietfa.amsl.com>; Mon, 30 Sep 2013 13:48:36 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1lp0157.outbound.protection.outlook.com [207.46.163.157]) by ietfa.amsl.com (Postfix) with ESMTP id 6CF8621F9E6B for <storm@ietf.org>; Mon, 30 Sep 2013 13:48:33 -0700 (PDT)
Received: from DM2PR03CA002.namprd03.prod.outlook.com (10.141.52.150) by SN2PR03MB045.namprd03.prod.outlook.com (10.255.175.145) with Microsoft SMTP Server (TLS) id 15.0.785.10; Mon, 30 Sep 2013 20:48:29 +0000
Received: from BN1AFFO11FD042.protection.gbl (2a01:111:f400:7c10::115) by DM2PR03CA002.outlook.office365.com (2a01:111:e400:2414::22) with Microsoft SMTP Server (TLS) id 15.0.785.10 via Frontend Transport; Mon, 30 Sep 2013 20:48:29 +0000
Received: from mail.microsoft.com (131.107.125.37) by BN1AFFO11FD042.mail.protection.outlook.com (10.58.52.253) with Microsoft SMTP Server (TLS) id 15.0.785.10 via Frontend Transport; Mon, 30 Sep 2013 20:48:28 +0000
Received: from TK5EX14MBXC284.redmond.corp.microsoft.com ([169.254.1.203]) by TK5EX14HUBC105.redmond.corp.microsoft.com ([157.54.80.48]) with mapi id 14.03.0136.001; Mon, 30 Sep 2013 20:47:30 +0000
From: Tom Talpey <ttalpey@microsoft.com>
To: "storm@ietf.org" <storm@ietf.org>
Thread-Topic: Working Group Last Call - RDMA Protocol Extensions
Thread-Index: Ac6+Gs6sJ+ImLB7LQd2GdnKZRIwo3Q==
Date: Mon, 30 Sep 2013 20:47:29 +0000
Message-ID: <614F550557B82C44AC27C492ADA391AA1BD297B7@TK5EX14MBXC284.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.34]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Forefront-Antispam-Report: CIP:131.107.125.37; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(189002)(199002)(46406003)(4396001)(50986001)(47736001)(47976001)(49866001)(76482001)(81342001)(50466002)(76796001)(76786001)(15202345003)(81542001)(63696002)(20776003)(47776003)(66066001)(81816001)(54356001)(80976001)(53806001)(80022001)(81686001)(79102001)(46102001)(51856001)(23726002)(65816001)(56816003)(69226001)(83072001)(15975445006)(47446002)(44976005)(77982001)(19580405001)(83322001)(76176001)(54316002)(56776001)(59766001)(74366001)(74502001)(6806004)(74876001)(33656001)(77096001)(19580395003)(74662001)(31966008)(74706001)(55846006); DIR:OUT; SFP:; SCL:1; SRVR:SN2PR03MB045; H:mail.microsoft.com; CLIP:131.107.125.37; FPR:; RD:InfoDomainNonexistent; MX:1; A:1; LANG:en; 
X-O365ENT-EOP-Header: Message processed by -  O365_ENT: Allow from ranges (Engineering ONLY)
X-Forefront-PRVS: 0985DA2459
X-OriginatorOrg: DuplicateDomain-a84fc36a-4ed7-4e57-ab1c-3e967bcbad48.microsoft.com
Subject: [storm] Working Group Last Call - RDMA Protocol Extensions
X-BeenThere: storm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Storage Maintenance WG <storm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/storm>, <mailto:storm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/storm>
List-Post: <mailto:storm@ietf.org>
List-Help: <mailto:storm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/storm>, <mailto:storm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Sep 2013 20:48:42 -0000

This message is to announce the STORM working group Last Call on the follow=
ing document:

RDMA Protocol Extensions
http://tools.ietf.org/html/draft-ietf-storm-rdmap-ext-07.txt

This document updates RFC5040 (Remote Direct Memory Access Protocol) to ext=
end support for new capabilities in support of RDMA-aware applications and =
upper layers.=20

Last Call comments are due by Tuesday, October 15 2013 at 2400 UTC (2 weeks=
 and one day from today). Any necessary updates will therefore still be abl=
e to be submitted before the Vancouver publication deadline of October 21.

Please send all technical comments to the STORM WG mailing list: storm@ietf=
.org
Editorial comments may be sent directly to the authors: draft-storm-rdmap-e=
xt@tools.ietf.org

Tom Talpey
STORM WG co-chair

