summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2021-02-15 14:48:33 +0100
committerBeno�t Ganne <bganne@cisco.com>2021-02-26 09:16:01 +0000
commit455779f84e2883dcfad095e25132d0d74ec15bfc (patch)
tree77164c4506cd41797d256318b1d20df2573437dc /src/vnet
parentc5fe57dac12a46fa618259643909afaec1ac5aae (diff)
interface: fix sh int rx
Type: fix Change-Id: Iebe2db66af1e769486a117d6284375ce5ffff0b4 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/vnet')
-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;