aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface/rx_queue.c
diff options
context:
space:
mode:
authorMohammed Hawari <mohammed@hawari.fr>2021-09-21 17:44:26 +0200
committerDamjan Marion <dmarion@me.com>2021-09-22 08:24:04 +0000
commit266929f2e498a8748edd8fc6ba5ef4e28226d04c (patch)
treeff4235a8ff833ed890991c71785a2f80ce14c584 /src/vnet/interface/rx_queue.c
parent5aa06abf247ec2b2c6d3b891daf60fbac7d28096 (diff)
interface: fix poll vector realloc
Change-Id: I60815b5827b4406228fd6b490f4ac1f874bac974 Signed-off-by: Mohammed Hawari <mohammed@hawari.fr> Type: fix
Diffstat (limited to 'src/vnet/interface/rx_queue.c')
-rw-r--r--src/vnet/interface/rx_queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/interface/rx_queue.c b/src/vnet/interface/rx_queue.c
index 7632b190705..cec0296519c 100644
--- a/src/vnet/interface/rx_queue.c
+++ b/src/vnet/interface/rx_queue.c
@@ -228,7 +228,7 @@ vnet_hw_if_set_rx_queue_thread_index (vnet_main_t *vnm, u32 queue_index,
hi->name, rxq->queue_id, thread_index);
}
-void
+vnet_hw_if_rxq_poll_vector_t *
vnet_hw_if_generate_rxq_int_poll_vector (vlib_main_t *vm,
vlib_node_runtime_t *node)
{
@@ -252,6 +252,7 @@ vnet_hw_if_generate_rxq_int_poll_vector (vlib_main_t *vm,
pv->dev_instance = rxq->dev_instance;
pv->queue_id = rxq->queue_id;
}
+ return rt->rxq_vector_int;
}
/*