[openib-general] RE: RMPP Message Format Errors

Eitan Zahavi eitan at mellanox.co.il
Sun Aug 21 22:54:33 PDT 2005


Hi Sean,
 
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 ?
 
EZ
 
Eitan Zahavi
Design Technology Director
Mellanox Technologies LTD
Tel:+972-4-9097208
Fax:+972-4-9593245
P.O. Box 586 Yokneam 20692 ISRAEL
 
-----Original Message-----
From: Sean Hefty [mailto:sean.hefty at intel.com] 
Sent: Monday, August 22, 2005 1:01 AM
To: 'Eitan Zahavi'; Hal Rosenstock
Cc: OPENIB GENERAL; Liran Sorani; Amit Krig; Aviram Gutman
Subject: RE: RMPP Message Format Errors
 
Please let me know if you will have time to dig into these problems or if I
should try and resolve them myself and provide patches. 
I will not be able to look at this until early next week (with IDF running
this week), but I will try to do so.   So, it wouldn't surprise me if the
receive side accepted an invalid RMPP MAD.
- Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050822/300c1571/attachment.html>


More information about the general mailing list