- 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);
- vnet_hw_interface_set_rx_mode (vnm, ppif->hw_if_index, 0,
- VNET_HW_IF_RX_MODE_POLLING);
+ vnet_hw_if_set_input_node (vnm, ppif->hw_if_index,
+ mrvl_pp2_input_node.index);
+ /* FIXME: only one RX queue ? */
+ ppif->inqs[0].queue_index = vnet_hw_if_register_rx_queue (
+ vnm, ppif->hw_if_index, 0, VNET_HW_IF_RXQ_THREAD_ANY);
+
+ vnet_hw_if_set_rx_queue_mode (vnm, ppif->inqs[0].queue_index,
+ VNET_HW_IF_RX_MODE_POLLING);
+ vnet_hw_if_update_runtime_data (vnm, ppif->hw_if_index);