Skip to content

Commit e693648

Browse files
Konstantin Taranovnmorey
authored andcommitted
providers/mana: fix multi sge send
[ Upstream commit dc9f551 ] Iterate over SGEs during WQE creation. Fixes: ec26fed ("providers/mana: Post recv and post send") Signed-off-by: Konstantin Taranov <kotaranov@microsoft.com> Signed-off-by: Nicolas Morey <nmorey@suse.com>
1 parent ea4ca01 commit e693648

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

providers/mana/wr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static inline void gdma_write_sge(struct gdma_wqe *wqe, void *oob_sge,
9595
num_sge1--;
9696
}
9797

98-
for (i = 0; i < num_sge; ++i, ++gdma_sgl) {
98+
for (i = 0; i < num_sge; ++i, ++gdma_sgl, ++sge) {
9999
if (i == num_sge1)
100100
gdma_sgl = wqe->sgl2;
101101

0 commit comments

Comments
 (0)