[openib-general] user_mad questions
Hal Rosenstock
halr at voltaire.com
Fri Feb 24 07:49:26 PST 2006
Hi Sean,
On Thu, 2006-02-23 at 18:07, Sean Hefty wrote:
> 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.
Should the fix for this be separate from other RMPP changes ?
-- Hal
More information about the general
mailing list