Re: MPA issue (3): Rejected Connection bit - Rough Consensus
Caitlin Bestler <[email protected]>
| Newsgroups | gmane.ietf.rddp |
|---|---|
| Message-ID | <[email protected]> |
On Apr 19, 2004, at 10:26 PM, Carrier, John wrote: > > > If by 'idle' mode, you mean that MPA is no longer consuming the > TCP stream (what I think I called 'inactive' mode), then I agree. > > If we specify a return to this 'idle' mode, as Tom suggests, then > after MPA sends the reply frame with the rejected bit set, the > next step is under ULP control. MPA only actively terminates the > connection for an invalid Request or Reply frame. MPA has no other > active role in connection termination (eg, once in full MPA mode, > if there are errors in the FPDUs, MPA reports the error to DDP and > DDP is responsible for closing the connection). > > > During connection startup, after MPA has sent the Reply frame with > the rejected bit set, the ULP at the MPA Responder can do one of > the following: > > * keep the connection in TCP only mode, > * terminate the connection, or > * re-start MPA mode (ie enable MPA to receive another Request frame) > > To keep the two half-connections symmetrical, the MPA Initiator should > also transition to 'idle' mode after it has received a Reply frame with > the rejected bit set. The ULP at the initiator can then do one of the > following: > > * keep the connection in TCP only mode > * terminate the connection, or > * re-start MPA mode by sending another MPA Request frame > > I don't have a usage model in mind, so does this make sense? If you add the caveat that the ULP may (and quite frequently will) exercise the local interface to instruct the MPA mode to terminate the TCP connection immediately if MPA mode cannot be entered. It is a purely local matter, but it may save a user/kernel round-trip, so we don't want to imply that the local interface should avoid offering such an option. "RDMA or bust" protocols would use this. "Optional RDMA" protocols currently negotiate RDMA in pure streaming mode, and then hence are "RDMA or bust" once they make that decision. Tom's earlier post essentially said that had a back-out from RDMA entry been present in the MPA Private Data exchange from the very beginning, that the NFS over RDMA draft might well have made use of it -- and presumably future ULPs could find such a capability useful.