|
@@ -471,6 +471,7 @@ static void handle_tx(struct vhost_net *net)
|
|
goto out;
|
|
goto out;
|
|
|
|
|
|
vhost_disable_notify(&net->dev, vq);
|
|
vhost_disable_notify(&net->dev, vq);
|
|
|
|
+ vhost_net_disable_vq(net, vq);
|
|
|
|
|
|
hdr_size = nvq->vhost_hlen;
|
|
hdr_size = nvq->vhost_hlen;
|
|
zcopy = nvq->ubufs;
|
|
zcopy = nvq->ubufs;
|
|
@@ -556,6 +557,7 @@ static void handle_tx(struct vhost_net *net)
|
|
% UIO_MAXIOV;
|
|
% UIO_MAXIOV;
|
|
}
|
|
}
|
|
vhost_discard_vq_desc(vq, 1);
|
|
vhost_discard_vq_desc(vq, 1);
|
|
|
|
+ vhost_net_enable_vq(net, vq);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
if (err != len)
|
|
if (err != len)
|