armada: fix feature arc for secondary interfaces

Fixes an issue preventing a feature to be configured on a secondary interface.

Type: fix
Signed-off-by: Guillaume Solignac <gsoligna@cisco.com>
Change-Id: I8ecd80988d22291013cd0addae6dc25043aaea98
This commit is contained in:
Guillaume Solignac 2024-11-15 11:37:40 +01:00 committed by Damjan Marion
parent 8fadde6f01
commit aac5e686f3

View File

@ -348,7 +348,7 @@ foreach_vnet_dev_rx_queue_runtime_helper (vlib_node_runtime_t *node,
rxq->if_rt_data.next_index = ifs->primary_interface.rx_next_index;
vec_foreach_pointer (rtd, rxq->sec_if_rt_data)
if (rtd)
rtd->next_index = si[rtd->sec_if_index]->next_index;
rtd->next_index = si[rtd->sec_if_index]->rx_next_index;
}
if (req.update_feature_arc)