[openib-general] Re: RMPP Message Format Errors

Hal Rosenstock halr at voltaire.com
Fri Aug 26 06:05:30 PDT 2005


On Fri, 2005-08-26 at 01:16, Sean Hefty wrote: 
> >In any case, doesn't the initial payload length need to be the number of
> >segments times (hdr_len - offsetof(struct ib_rmpp_mad, data)) + data_len
> >? If so, that's part of the problem.
> 
> I believe that the payload is being calculated correctly.  It should be the
> number of segments * 220 bytes per packet, or at least that was my
> interpretation of the spec.

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).

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

-- Hal




More information about the general mailing list