[openib-general] ib_mad.h ib_mad_post_send questions and a minor commentary change
Sean Hefty
mshefty at ichips.intel.com
Tue Sep 7 08:37:46 PDT 2004
On Mon, 06 Sep 2004 15:36:27 -0700
Roland Dreier <roland at topspin.com> wrote:
> Hal> Also, if this were to occur in the middle of an RMPP
> Hal> transaction, should this be detected and any special actions
> Hal> taken ? Or would this just rely on normal RMPP handling at
> Hal> the other end to detect any issues ?
>
> There's no reason for a send request to fail in normal operation, so I
> don't see much that the MAD layer can try to do to recover. In any
> case, I'd like to see some real code that actually can be used, at
> least in the normal case as soon as possible. So I would suggest
> deferring secondary issues like this until after we have a working
> implementation.
In such a case, we can just complete the MAD with an error.
> Hal> I also have a related implementation question. The ib_mad
> Hal> client supplies wr_id in the send WR. If it turns out that it
> Hal> might be better to use wr_ids in some special encoded way, is
> Hal> it acceptable to do that as long as the client wr_id is
> Hal> returned in the send WC ?
>
> I don't see any reason why not. Do you see any problems?
I think that's perfectly acceptable. It may be nice to avoid saving/restoring wr_id, but I'm not sure if it's possible to do that and track RMPP and request/responses.
More information about the general
mailing list