RMPP: Fix payload length of middle RMPP sent segments. Middle payload lengths should be 0 on the send side.
(This is a compliance and should not be an interop issue as middle payload lengths are supposed to be ignored on receive). Signed-off-by: Hal Rosenstock <[EMAIL PROTECTED]> Note also that diff -p did not show the routine name for this 1 line change. Index: mad_rmpp.c =================================================================== --- mad_rmpp.c (revision 3197) +++ mad_rmpp.c (working copy) @@ -602,6 +603,7 @@ mad_send_wr->sg_list[1].length = sizeof(struct ib_rmpp_mad) - mad_send_wr->data_offset; mad_send_wr->sg_list[1].lkey = mad_send_wr->sg_list[0].lkey; + rmpp_mad->rmpp_hdr.paylen_newwin = 0; } if (mad_send_wr->seg_num == mad_send_wr->total_seg) { _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general