Re: [PATCH v12 22/40] virtio_ring: introduce virtqueue_resize()

2022-07-21 Thread Jason Wang
在 2022/7/20 11:04, Xuan Zhuo 写道: Introduce virtqueue_resize() to implement the resize of vring. Based on these, the driver can dynamically adjust the size of the vring. For example: ethtool -G. virtqueue_resize() implements resize based on the vq reset function. In case of failure to allocate a

[PATCH v12 22/40] virtio_ring: introduce virtqueue_resize()

2022-07-19 Thread Xuan Zhuo
Introduce virtqueue_resize() to implement the resize of vring. Based on these, the driver can dynamically adjust the size of the vring. For example: ethtool -G. virtqueue_resize() implements resize based on the vq reset function. In case of failure to allocate a new vring, it will give up resize a