aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/interface_api.c2
-rw-r--r--src/vnet/interface_cli.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/interface_api.c b/src/vnet/interface_api.c
index b75ec574d1c..5b2f2fc0788 100644
--- a/src/vnet/interface_api.c
+++ b/src/vnet/interface_api.c
@@ -1103,7 +1103,7 @@ static void vl_api_sw_interface_rx_placement_dump_t_handler
vnet_hw_if_rx_queue_t **all_queues = 0;
vnet_hw_if_rx_queue_t **qptr;
vnet_hw_if_rx_queue_t *q;
- vec_foreach (q, vnm->interface_main.hw_if_rx_queues)
+ pool_foreach (q, vnm->interface_main.hw_if_rx_queues)
vec_add1 (all_queues, q);
vec_sort_with_function (all_queues, vnet_hw_if_rxq_cmp_cli_api);
diff --git a/src/vnet/interface_cli.c b/src/vnet/interface_cli.c
index 3cb32a225ab..a901e17e413 100644
--- a/src/vnet/interface_cli.c
+++ b/src/vnet/interface_cli.c
@@ -1612,7 +1612,7 @@ show_interface_rx_placement_fn (vlib_main_t * vm, unformat_input_t * input,
vnet_hw_if_rx_queue_t **all_queues = 0;
vnet_hw_if_rx_queue_t **qptr;
vnet_hw_if_rx_queue_t *q;
- vec_foreach (q, vnm->interface_main.hw_if_rx_queues)
+ pool_foreach (q, vnm->interface_main.hw_if_rx_queues)
vec_add1 (all_queues, q);
vec_sort_with_function (all_queues, vnet_hw_if_rxq_cmp_cli_api);
u32 prev_node = ~0;