Re: "Last Call" on DDP draft: Error Codes
Caitlin Bestler <[email protected]>
| Newsgroups | gmane.ietf.rddp |
|---|---|
| Message-ID | <[email protected]> |
I have a minor concern on the The DDP Error Codes defined in section 9.2 (and used in the RDMAP terminate message). In general terms, the draft should clarify that a given packet may have error conditions that comply with more than one of the error codes listed, and in that case the implementation may select any of the correct error codes, even if it is not the "best" error code. My specific concern is with the distinction between "Invalid STag" and "STag not associated with DDP Stream". It implies that an STag can be "valid", but just not on the current stream. For many implementations and local interfaces that is indeed a valid distinction. However, it should be made clear that the existence of distinct error codes does not mandate that design. If the STag is not valid on the specific stream for the use attempted, the implementation should be free to simply use the "STag not associated with DDP Stream" error regardless of whether the STag is valid for other uses possibly on other DDP Streams. Indeed, a better description of the error would be "STag is not valid for use attempted." The rationale: 1) Providing any information about other streams is a violation of generally accepted security practices. Differentiating between "Invalid STag" and "STag not valid here" is akin to differentiating between "no such user" and "wrong password". 2) STag validation may be scoped to the DDP Stream and/or Protection Domain. Determining whether or not the STag is valid *anywhere* may require additional work. 3) STag validation may be handled distinctly for RDMA Read Responses, in which case the receiver only knows that the STag supplied is invalid as an RDMA Read Response on this DDP Stream at this moment. Similarly, for untagged buffer errors: if the MSN is out of range an implementation may or may not know -- Caitlin Bestler - [email protected] - http://asomi.com/