[openib-general] Re: Some Initial RMPP Comments and Questions

Hal Rosenstock halr at voltaire.com
Mon May 2 12:23:14 PDT 2005


On Mon, 2005-05-02 at 15:07, Sean Hefty wrote:
> I'm considering changing the API to this:
> 
> ib_coalesce_recv_mad(mad_agent, mad_recv_wc, user_buffer, buf)
> 
> The mad_agent is needed in order to know if there's an RMPP header.  If 
> there is, then there may be padding at the end of the MAD which the 
> user didn't allocate buffer space for.  The user_buffer parameter would 
> be used to indicate which copy routine to user: memcpy or copy_to_user.

Sounds right to me.

-- Hal




More information about the general mailing list