[openib-general] [PATCH] [MAD] changes to ib_create_send_mad
Sean Hefty
mshefty at ichips.intel.com
Thu May 5 10:33:09 PDT 2005
Hal Rosenstock wrote:
>>I will see if I can reproduce this using the numbers that you gave. What
>>size did you specify for the sge? The total number of segments is
>>calculated using the sge sizes.
>
>
> Isn't that calculated and filled in by ib_create_send_mad ?
>
> buf_size = get_buf_length(hdr_len, data_len)
> ...
> send_buf->sge.length = buf_size;
>
> I pretty sure I leave this along after calling ib_create_send_mad. Is
> there something that needs to be done here ?
I didn't realize that you were calling this. No, there's nothing more that
you should need to do.
- Sean
More information about the general
mailing list