Skip to content

Commit

Permalink
issue: 4067241 Fix doca_buf LSO chaining
Browse files Browse the repository at this point in the history
Use correct API to append doca_buf to the tail of the doca_buf list.

Signed-off-by: Alexander Grissik <[email protected]>
  • Loading branch information
AlexanderGrissik committed Sep 10, 2024
1 parent ced59c2 commit 60f59f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/dev/hw_queue_tx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2139,7 +2139,8 @@ uint32_t hw_queue_tx::send_doca_lso(struct iovec &h, struct pbuf *p, bool is_zer
return_doca_buf(tx_doca_buf);
return 0;
}
doca_buf_chain_list(prev_doca_buf, next_doca_buf);

doca_buf_chain_list_tail(tx_doca_buf, prev_doca_buf, next_doca_buf);
prev_doca_buf = next_doca_buf;
p = p->next;
}
Expand Down

0 comments on commit 60f59f9

Please sign in to comment.