pos = cap.cap_next;
}
- if (!pci_cfg)
- clib_error_return (error, "modern virtio pci device found");
-
if (common_cfg == 0 || notify_base == 0 || dev_cfg == 0 || isr == 0)
{
virtio_log_debug (vim, vif, "legacy virtio pci device found");
return error;
}
+ if (!pci_cfg)
+ clib_error_return (error, "modern virtio pci device found");
+
virtio_log_debug (vim, vif, "transitional virtio pci device found");
return error;
}
vnet_hw_interface_set_input_node (vnm, vif->hw_if_index,
virtio_input_node.index);
vnet_hw_interface_assign_rx_thread (vnm, vif->hw_if_index, 0, ~0);
+ virtio_vring_set_numa_node (vm, vif, 0);
if (virtio_pci_is_link_up (vm, vif) & VIRTIO_NET_S_LINK_UP)
{