From 22ad815d654294d77ccbb2b7286a73b544bf3f52 Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Mon, 11 Feb 2019 18:44:18 -0500 Subject: fix assert failure Change-Id: I9a2e8ea2bf334dd8dabf3d25abbcc91087a43882 Signed-off-by: Dave Barach --- src/plugins/dpdk/device/node.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/plugins/dpdk/device') diff --git a/src/plugins/dpdk/device/node.c b/src/plugins/dpdk/device/node.c index eed2736ea61..bd23319d5af 100644 --- a/src/plugins/dpdk/device/node.c +++ b/src/plugins/dpdk/device/node.c @@ -441,6 +441,12 @@ dpdk_device_input (vlib_main_t * vm, dpdk_main_t * dm, dpdk_device_t * xd, if (PREDICT_FALSE (dm->pcap[VLIB_RX].pcap_enable)) { u32 bi0; + + if (single_next) + vlib_get_buffer_indices_with_offset (vm, (void **) ptd->mbufs, + ptd->buffers, n_rx_packets, + sizeof (struct rte_mbuf)); + n_left = n_rx_packets; buffers = ptd->buffers; while (n_left) -- cgit 1.2.3-korg