From 859b59133c143b09fed86af1d409d320fa45424f Mon Sep 17 00:00:00 2001 From: Jianlin Lv Date: Fri, 27 Sep 2019 09:35:41 +0800 Subject: api: Add API support for marvell PP2 plugin Support create/delete interface with PP2 api Type: feature Signed-off-by: Jianlin Lv Change-Id: Ia9c0ac0f237fd9f71f5480d736d6bcabee763fff --- src/plugins/marvell/pp2/pp2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/marvell/pp2/pp2.c') diff --git a/src/plugins/marvell/pp2/pp2.c b/src/plugins/marvell/pp2/pp2.c index 411e28b212b..36b191a178b 100644 --- a/src/plugins/marvell/pp2/pp2.c +++ b/src/plugins/marvell/pp2/pp2.c @@ -300,6 +300,7 @@ mrvl_pp2_create_if (mrvl_pp2_create_if_args_t * args) sw = vnet_get_hw_sw_interface (vnm, ppif->hw_if_index); ppif->sw_if_index = sw->sw_if_index; ppif->per_interface_next_index = ~0; + args->sw_if_index = sw->sw_if_index; vnet_hw_interface_set_input_node (vnm, ppif->hw_if_index, mrvl_pp2_input_node.index); vnet_hw_interface_assign_rx_thread (vnm, ppif->hw_if_index, 0, ~0); -- cgit 1.2.3-korg