[openib-general] [PATCH] added comments to ib_mad.h - minor update

Hal Rosenstock halr at voltaire.com
Thu Aug 5 17:44:33 PDT 2004


On Thu, 2004-08-05 at 15:45, Sean Hefty wrote:
> Just including the file, since a diff marked nearly every line...

This answered a number of my previous questions. Code talks...

I still have a few questions:

ib_mad_agent has lo_tid of 32 bits. What are the other 32 bits of tid ?
I vaguely recall some email (thread) went by on this.

ib_mad_send_wr.sg_list indicates first entry must reference a data
buffer of 256 bytes. Is the "base" RMPP header in it ? Which fields
must be filled in by the client (RMPPActive, RRespTime, and length) ?
Will length be in the first segment only (total length) or also in the
last segment ? On the receive side, we need to handle either if we have
to deal with non OpenIB implementations :-(

What about subsequent entries in the s-g list for send ? Are they also
constrained to be 256 bytes or something else ? I would presume
RMPP would rewrite the RMPP header based on the first header and
update the appropriate fields.

Is timeout_ms used for Ttime when it is a RMPP send ?

I am still wondering about the RMPP direction switch (IsDS) and whether
this needs to be exposed somehow.

-- Hal




More information about the general mailing list