Fix inline sends with num_sge > 1

A work request with IBV_SEND_INLINE set and more than one gather entry
does not have its data copied into the WQE correctly, because the
offset is not updated properly.  Add the missing update of off when a
gather entry does not fill an inline segment exactly.

Signed-off-by: Gleb Natapov <glebn@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
1 file changed