Re: [PATCH 12/16] vhost-net: introduce restart and stop for vhost_net's vqs

2022-07-26 Thread Kangjie Xu
在 2022/7/26 12:16, Jason Wang 写道: 在 2022/7/18 19:17, Kangjie Xu 写道: Introduce vhost_virtqueue_restart(), which can restart the virtqueue when the vhost net started running before. Introduce vhost_virtqueue_stop(), which can disable the vq and unmap vrings and the desc of the vq. When

Re: [PATCH 12/16] vhost-net: introduce restart and stop for vhost_net's vqs

2022-07-25 Thread Jason Wang
在 2022/7/18 19:17, Kangjie Xu 写道: Introduce vhost_virtqueue_restart(), which can restart the virtqueue when the vhost net started running before. Introduce vhost_virtqueue_stop(), which can disable the vq and unmap vrings and the desc of the vq. When disabling the vq, the function is blocked

[PATCH 12/16] vhost-net: introduce restart and stop for vhost_net's vqs

2022-07-18 Thread Kangjie Xu
Introduce vhost_virtqueue_restart(), which can restart the virtqueue when the vhost net started running before. Introduce vhost_virtqueue_stop(), which can disable the vq and unmap vrings and the desc of the vq. When disabling the vq, the function is blocked and waits for a reply. Combining the