[ofa-general] [PATCH 1/3] IB/ipath - fix the length returned in loopback UD completion queue entries

Roland Dreier rdreier at cisco.com
Mon Oct 27 15:30:13 PDT 2008


 > UD packets sent to the local IB port (loopback) have a zero length
 > reported in the send work request completion entry. This fixes it
 > by using a copy of the WQE to copy the data.

According to the IB spec (as I read it at least), the bytes transferred
field of a completion entry is only defined for receive completions, and
for RDMA read and atomic operation send completions.  The value in a UD
send completion is undefined anyway.  So is this patch really worth it?



More information about the general mailing list