[openib-general] user_mad check question

Sean Hefty sean.hefty at intel.com
Mon Jul 10 11:51:58 PDT 2006


>I disagree, this implies a non-symmetric translation of the TID for
>SENDs (ie. it would be translated on the outbound SEND but not on any
>corresponding inbound SEND which might be a reply).  The CM and BMA
>established the precedent for a SEND based protocol where TID was
>important and class specific information implied request/response
>status.

I'm not following you here.  Any MAD that is not a response must have a unique
TID when going out of the same port as another MAD of the same class.  If
different agents are generating sends for the same class, then that uniqueness
is enforced by setting of the upper 32-bits of the TID.  Kernel agents are
expected to do this themselves.  Userspace agents have this done for them.

>I recommend only translating the TID on output MADs for messages we
>understand well enough to ensure the reverse translation would occur
>when the response arrived back to the sender (BMA is one such case,
>non-SEND messages is another).

No reverse translation is done.

>The test above for BM should include && Method==SEND.  The BMA protocol
>also uses Get/Set and other methods, this response bit test is only
>applicable to the SEND method for the BMA.

It looked like the attribute modifier is always zero except when it is a
response.

- Sean




More information about the general mailing list