[openib-general] [RMPP] RMPP formatting assumptions

Eitan Zahavi eitan at mellanox.co.il
Fri Apr 1 01:29:12 PST 2005


Seems ok to me.


> -----Original Message-----
> From: Sean Hefty [mailto:mshefty at ichips.intel.com]
> Sent: Friday, April 01, 2005 2:16 AM
> To: openib-general
> Subject: Re: [openib-general] [RMPP] RMPP formatting assumptions
> 
> So far, here are my assumptions regarding the formatting of the RMPP MADs.
> 
> The following fields in the RMPP header are set by the user:
> Version, Type = DATA, RTime, Flags = ACTIVE, and Status = 0
> 
> The RMPP code will set the SegNum and update the Flags, but uses the
> ACTIVE bit to determine if the user requires RMPP for a given transfer.
>   I could easily have the RMPP code set some of these fields, but
> thought that the caller might be able to initialize them more efficiently.
> 
> The WR length of a transfer should equal the size of the MAD header,
> the RMPP header, class specific header for SA or vendor, plus a data
> buffer that is evenly divisible by the size of the class' Data field.
> This requirement is needed to prevent the RMPP code from allocating and
> copying data segments.
> 
> The payload field in the RMPP header should be set to the size of the
> class specific header plus the number of valid bytes of user data in
> the data buffer.  The RMPP code will adjust the payload value to
> account for multiple headers.
> 
> Comments?
> 
> - Sean
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050401/2d5b56ce/attachment.html>


More information about the general mailing list