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

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to