Hal Rosenstock 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 ?

It will take some time for me to separate out this change, but I can do that. I didn't discover this until near the end of the updates that I was trying to do, which were actually related to receive handling...

- Sean
_______________________________________________
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