[openib-general] user_mad questions

Sean Hefty mshefty at ichips.intel.com
Thu Feb 23 15:07:38 PST 2006


Roland Dreier wrote:
>     Sean> Second, when a failed send is reported, there's a mismatch
>     Sean> between the size of the data copied to the user and the size
>     Sean> returned from ib_umad_read().  The copied data is
>     Sean> sizeof(ib_user_mad) + sizeof(ib_mad).  The reported size
>     Sean> turns out to be sizeof(ib_user_mad) + sizeof(ib_mad_hdr).
>     Sean> It appears that the data copy is off.
> 
> Yes, that seems to be a long-standing bug.  Not sure when that was introduced.

I have a patch to fix this as part of some general RMPP cleanup/optimizations.

- Sean



More information about the general mailing list