X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdevices%2Fvirtio%2Fnode.c;h=78d071a24ed98a3789726e4782551f38e7f42b1e;hb=80659b4624d55e2d293198b06c5c6077b3ba816b;hp=6627456de0059d45be3b626255d4136074aabb05;hpb=ef20f0eff7f0e6ed75f316eb7080aa655de077ff;p=vpp.git diff --git a/src/vnet/devices/virtio/node.c b/src/vnet/devices/virtio/node.c index 6627456de00..78d071a24ed 100644 --- a/src/vnet/devices/virtio/node.c +++ b/src/vnet/devices/virtio/node.c @@ -96,8 +96,10 @@ more: next = vring->desc_next; avail = vring->avail->idx; - n_slots = vlib_buffer_alloc_to_ring (vm, vring->buffers, next, vring->size, - n_slots); + n_slots = + vlib_buffer_alloc_to_ring_from_pool (vm, vring->buffers, next, + vring->size, n_slots, + vring->buffer_pool_index); if (n_slots == 0) return;