<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [openib-general] [RMPP] RMPP formatting assumptions</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Seems ok to me.</FONT>
</P>
<BR>

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

</BODY>
</HTML>