Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
memif: fix tx desc length for chained buffers in copy mode
[vpp.git]
/
src
/
plugins
/
memif
/
device.c
diff --git
a/src/plugins/memif/device.c
b/src/plugins/memif/device.c
index
8e902fe
..
fce4ab2
100644
(file)
--- a/
src/plugins/memif/device.c
+++ b/
src/plugins/memif/device.c
@@
-177,6
+177,7
@@
retry:
{
slot++;
free_slots--;
+ d0->length = dst_off;
d0->flags = MEMIF_DESC_FLAG_NEXT;
d0 = &ring->desc[slot & mask];
dst_off = 0;