Sean Hefty wrote:
I believe that the 220 byte payload length is for all RMPP MADs. Only the
common and RMPP header lengths are ignored.
Yes.
Doesn't it need to account for a "partial" rather than full last segment
transferred data in the first segment length ?
Yes I think it needs to use the partial 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.
I agree the text might be missing an example or two for clarification.
Anyway, we probably can use the IB Analyzer as the ultimate
interpretation test. Note that there are IB implementations that uses
the first segment payload length as the source of packet length and
count on it to represent the correct DATA length.
We can take your interpretation to discussion in the IBTA MGTWG for
further discussion.
Is the effort for fixing it big?
Thanks
Eitan
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general