[rddp] MPA Reject frame

"Talpey, Thomas" <Thomas.Talpey@netapp.com> Wed, 03 March 2004 02:10 UTC

Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA20774 for <rddp-archive@odin.ietf.org>; Tue, 2 Mar 2004 21:10:25 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AyLpe-0007xN-0Q for rddp-archive@odin.ietf.org; Tue, 02 Mar 2004 21:09:58 -0500
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i2329vpM030581 for rddp-archive@odin.ietf.org; Tue, 2 Mar 2004 21:09:57 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AyLpd-0007xA-MJ for rddp-web-archive@optimus.ietf.org; Tue, 02 Mar 2004 21:09:57 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA20741 for <rddp-web-archive@ietf.org>; Tue, 2 Mar 2004 21:09:54 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AyLpb-0005Qp-00 for rddp-web-archive@ietf.org; Tue, 02 Mar 2004 21:09:55 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1AyLog-0005IB-00 for rddp-web-archive@ietf.org; Tue, 02 Mar 2004 21:09:00 -0500
Received: from optimus.ietf.org ([132.151.1.19]) by ietf-mx with esmtp (Exim 4.12) id 1AyLnn-0005A3-00 for rddp-web-archive@ietf.org; Tue, 02 Mar 2004 21:08:03 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AyLnm-0007V7-Om; Tue, 02 Mar 2004 21:08:02 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AyLmp-0007I7-QX for rddp@optimus.ietf.org; Tue, 02 Mar 2004 21:07:03 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA20652 for <rddp@ietf.org>; Tue, 2 Mar 2004 21:07:01 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AyLmn-00051M-00 for rddp@ietf.org; Tue, 02 Mar 2004 21:07:01 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1AyLlx-0004sZ-00 for rddp@ietf.org; Tue, 02 Mar 2004 21:06:11 -0500
Received: from mx01.netapp.com ([198.95.226.53]) by ietf-mx with esmtp (Exim 4.12) id 1AyLl8-0004aY-00 for rddp@ietf.org; Tue, 02 Mar 2004 21:05:18 -0500
Received: from hawk.corp.netapp.com (hawk [10.57.156.122]) by mx01.netapp.com (8.12.10/8.12.10/NTAP-1.4) with ESMTP id i2324iJC017081 for <rddp@ietf.org>; Tue, 2 Mar 2004 18:04:44 -0800 (PST)
Received: from svlexc01.hq.netapp.com (svlexc01.corp.netapp.com [10.10.22.171]) by hawk.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id i2324i8L001629 for <rddp@ietf.org>; Tue, 2 Mar 2004 18:04:44 -0800 (PST)
Received: from tmt.netapp.com ([10.58.52.209]) by silver.hq.netapp.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 2 Mar 2004 21:04:39 -0500
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C400C3.E2635580"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
content-class: urn:content-classes:message
Date: Tue, 02 Mar 2004 18:03:58 -0800
Message-ID: <6.0.3.0.2.20040302200752.01b3f848@silver.nane.netapp.com>
Thread-Topic: MPA Reject frame
Thread-Index: AcQAw+PFhRl/gL1EQHCPW72//adD2Q==
From: "Talpey, Thomas" <Thomas.Talpey@netapp.com>
To: rddp@ietf.org
Subject: [rddp] MPA Reject frame
Sender: rddp-admin@ietf.org
Errors-To: rddp-admin@ietf.org
X-BeenThere: rddp@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/rddp>, <mailto:rddp-request@ietf.org?subject=unsubscribe>
List-Id: IETF Remote Direct Data Placement (rddp) WG <rddp.ietf.org>
List-Post: <mailto:rddp@ietf.org>
List-Help: <mailto:rddp-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/rddp>, <mailto:rddp-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.8 required=5.0 tests=AWL,HTML_30_40,HTML_MESSAGE autolearn=no version=2.60

I have a comment on an issue posted to the mailing list and
replied to in <http://www.ietf.org/internet-drafts/draft-culley-mpa-issueresponses-00.txt>
(Pasted below for reference) The proposal was for an
explicit MPA reject frame, and the response argues that
this is not necessary.

This document, in effect, counters that "reject" is to be
an upper layer issue, that is, private data should carry the
rejection, followed by a connection close. This does not
address the proposal.

The desire is to provide a ULP *independent* mechanism to
support rejection of incoming MPA/RDDP connection requests.
Implementing explicit rejection in MPA requires only a single
bit in the MPA Request/Response header.

It's not at all practical to use a connection closure to indicate
reject, even after an MPA frame. MPA initiators cannot be
expected to wait for a connection closure during startup, nor
could they discern between MPA frames received prior to it,
should it occur.

To leave reject out of the MPA connection, and leave the
issue to upper layers, would invoke many ULP changes, and
wire-level incompatibilities. Incorporation of reject into MPA
is by far the better, and more interoperable, choice.

Tom.


>4  Adding a "rejected connection" bit
>
>   Arkady Kanevsky submitted a comment to the reflector, quoted
>   below:
>
>        The MPA draft now defines very nicely an Initiator/Responder
>        sequence. But it looks deficient for a broad set of ULPs.
>        Most of the client-server ULP uses two type of Responses:
>        "accept" and "reject". The MPA draft does not provide a way
>        to differentiate between these 2 responses.
>
>        Here is one example of an application use. One of the common
>        way the private data is used is to negotiate RDMA Read
>        credits for a connection to be used by RDDP. An Initiator
>        passes in private data a requested RDMA credits. Responder
>        either accepts a connection or rejects a request specifying
>        how many RDMA Read credits it can support.
>
>        Currently the Responder has 2 legal choices.
>        One it can terminate a connection.
>        This does not convey any information to the Initiator.
>
>        The second choice is to generate Responder Frame even though
>        RDMA Read credits requested can not be satisfied.
>        This will establish connection but it can not be used as
>        intended by the Initiator. Initiator can either tear down the
>        established stream mode connection or use connection with
>        Responder RDMA credits supported.
>
>        This is de-facto ULP protocol since Responder Frame will
>        include the RDMA Read credits it can support. On top of that
>        both sides have to agree on the action they will take.
>
>        While ULP can use a protocol over private data to
>        differentiate between accept and reject, given a commonality
>        of this semantic for ULPs we can use one bit from the
>        Reserved area of MPA frame for the Responder frame to
>        differentiate between accept and reject responses.
>
>        Proposal:
>
>        for Responder MPA frame the 1st Reserved bit to be used as
>        accept/reject bit. 0 for accept, 1 for reject.
>
>        The bit will be called Type (T) in figure 7 {of the MPA
>        draft}.
>
>
>   Arkady is mostly correct in his analysis, but he may have missed
>   one point; that is that the initiator has the opportunity and
>   right to examine the private data in the MPA Response Frame before
>   binding DDP to MPA.  It may either complete the connection setup
>   by binding DDP (for an "accepted" connection), or tear the
>   connection down (for a "rejected" connection).  It is also legal
>   for the responder to tear the connection down immediately after
>   sending a "rejected" MPA Response Frame.  In either case, no DDP
>   connection is actually established until both sides have seen the
>   private data in the MPA Response Frame.  In both cases the
>   initiator can get a "reason" for a rejected connection.  The
>   choice is up to the ULP and can be encoded into the response
>   private data just as easily as in a specific bit.
>
>        Note: it is also legal for the responder to tear down the TCP
>        connection before sending a response frame, although this
>        offers no opportunity to send a "rejected reason".  Again the
>        choice is up to the ULP.
>
>   Putting the accept/reject bit in a standard place would be useful
>   if MPA or another standard layer needed to examine that bit for
>   its own uses.  As currently defined, however, MPA must send
>   private data to the ULP for examination, and depends on the ULP
>   for the next step (continue or teardown).  So MPA could not do
>   anything with that bit other than pass it on to the ULP.
>
>   The author believes that defining an "accept/reject" bit is not
>   necessary, that the response private data allows all the room for
>   such information necessary (including more detailed reasons if the
>   ULP needs them).  Adding such a bit would also require adding
>   another input and output command parameter to the MPA ULP
>   interface which may be insufficient for many applications anyway.