[openib-general] RE: RMPP Message Format Errors
Hal Rosenstock
halr at voltaire.com
Tue Aug 23 15:56:01 PDT 2005
Hi Eitan,
You wrote:
"Note that the current implementation of the RMPP code ignores the payload length on the receive side, and instead relies on the last bit to determine the end of a transfer."
But the receive side needs to calculate back the correct size of the assembled MAD.
If it is done in kernel or user it does not matter. To my best knowledge the only way to calculate how many records are enclosed in an RMPP message is to use the paylen and offset.
How can it be done without looking at paylen ?
All Sean is saying is that the receive RMPP ignores a non zero PayLen in a first segment and uses the last bit (and obviously the PayLen in the last segment) to determine the received length (of the reassembled MAD).
-- Hal
More information about the general
mailing list