[openib-general] Re: RMPP Message Format Errors

Sean Hefty sean.hefty at intel.com
Fri Aug 26 10:54:10 PDT 2005


>The 220 byte payload length is for SA. That's mostly right but assumes
>the last segment will be full (and accounted for by the paylen in the
>last segment).

I believe that the 220 byte payload length is for all RMPP MADs.  Only the
common and RMPP header lengths are ignored.


>Doesn't it need to account for a "partial" rather than full last segment
>transferred data in the first segment length ?

What I couldn't easily tell from the spec is whether a partial last segment is
included in the initial payload length or not.  I read it as: "PayloadLength
counts all the bytes in the TransferredData field of the DATA packet format."
In my interpretation, partial data is indicated by the PayloadLength field in
the last segment only.  It's quite possible that my interpretation is incorrect,
in which case the calculation in the RMPP code is off.

- Sean




More information about the general mailing list