|
@@ -1930,7 +1930,9 @@ static int virtnet_probe(struct virtio_device *vdev)
|
|
goto free_unregister_netdev;
|
|
goto free_unregister_netdev;
|
|
}
|
|
}
|
|
|
|
|
|
- virtnet_set_affinity(vi);
|
|
|
|
|
|
+ rtnl_lock();
|
|
|
|
+ virtnet_set_queues(vi, vi->curr_queue_pairs);
|
|
|
|
+ rtnl_unlock();
|
|
|
|
|
|
/* Assume link up if device can't report link status,
|
|
/* Assume link up if device can't report link status,
|
|
otherwise get link status from config. */
|
|
otherwise get link status from config. */
|