Re: [PATCH v8 11/16] virtio_ring: packed: extract the logic of alloc queue

2022-03-29 Thread Jason Wang
On Wed, Mar 30, 2022 at 2:13 PM Xuan Zhuo wrote: > > On Wed, 30 Mar 2022 11:50:49 +0800, Jason Wang wrote: > > > > 在 2022/3/24 下午4:28, Xuan Zhuo 写道: > > > On Tue, 22 Mar 2022 14:38:12 +0800, Jason Wang > > > wrote: > > >> 在 2022/3/14 下午5:34, Xuan Zhuo 写道: > > >>> Separate the logic of packed to

Re: [PATCH v8 11/16] virtio_ring: packed: extract the logic of alloc queue

2022-03-29 Thread Xuan Zhuo
On Wed, 30 Mar 2022 11:50:49 +0800, Jason Wang wrote: > > 在 2022/3/24 下午4:28, Xuan Zhuo 写道: > > On Tue, 22 Mar 2022 14:38:12 +0800, Jason Wang wrote: > >> 在 2022/3/14 下午5:34, Xuan Zhuo 写道: > >>> Separate the logic of packed to create vring queue. > >>> > >>> For the convenience of passing paramet

Re: [PATCH v8 11/16] virtio_ring: packed: extract the logic of alloc queue

2022-03-29 Thread Jason Wang
在 2022/3/24 下午4:28, Xuan Zhuo 写道: On Tue, 22 Mar 2022 14:38:12 +0800, Jason Wang wrote: 在 2022/3/14 下午5:34, Xuan Zhuo 写道: Separate the logic of packed to create vring queue. For the convenience of passing parameters, add a structure vring_packed. This feature is required for subsequent virt

Re: [PATCH v8 11/16] virtio_ring: packed: extract the logic of alloc queue

2022-03-24 Thread Xuan Zhuo
On Tue, 22 Mar 2022 14:38:12 +0800, Jason Wang wrote: > > 在 2022/3/14 下午5:34, Xuan Zhuo 写道: > > Separate the logic of packed to create vring queue. > > > > For the convenience of passing parameters, add a structure > > vring_packed. > > > > This feature is required for subsequent virtuqueue reset

Re: [PATCH v8 11/16] virtio_ring: packed: extract the logic of alloc queue

2022-03-21 Thread Jason Wang
在 2022/3/14 下午5:34, Xuan Zhuo 写道: Separate the logic of packed to create vring queue. For the convenience of passing parameters, add a structure vring_packed. This feature is required for subsequent virtuqueue reset vring. Signed-off-by: Xuan Zhuo --- drivers/virtio/virtio_ring.c | 121 +++

[PATCH v8 11/16] virtio_ring: packed: extract the logic of alloc queue

2022-03-14 Thread Xuan Zhuo
Separate the logic of packed to create vring queue. For the convenience of passing parameters, add a structure vring_packed. This feature is required for subsequent virtuqueue reset vring. Signed-off-by: Xuan Zhuo --- drivers/virtio/virtio_ring.c | 121 ++- 1 fi