Re: Re: [PATCH] virtio: Make vring_new_virtqueue support for packed vring

2024-10-01 Thread Michael S. Tsirkin
On Tue, Oct 01, 2024 at 05:30:51PM +0800, Wenyu Huang wrote: > It used for testing in tools/virtio/vringh_test.c. > If vring_new_virtqueue supports packed vring, we can add support for > packed vring to vringh and test it. Pls say this in the commit log.

Re: Re: [PATCH] virtio: Make vring_new_virtqueue support for packed vring

2024-10-01 Thread Wenyu Huang
It used for testing in tools/virtio/vringh_test.c. If vring_new_virtqueue supports packed vring, we can add support for packed vring to vringh and test it.

Re: [PATCH] virtio: Make vring_new_virtqueue support for packed vring

2024-09-24 Thread Jason Wang
On Sat, Sep 21, 2024 at 4:21 AM Wenyu Huang wrote: > > From: Wenyu Huang > > It's also available for packed ring now. > > Signed-off-by: Wenyu Huang > --- Patch seems to be fine at a first glance. Is this used for testing or transport like remoteproc? Thanks

Re: [PATCH] virtio: Make vring_new_virtqueue support for packed vring

2024-09-24 Thread Michael S. Tsirkin
On Sat, Sep 21, 2024 at 04:21:41AM +0800, Wenyu Huang wrote: > From: Wenyu Huang > > It's also available for packed ring now. > > Signed-off-by: Wenyu Huang More specifically, what are you trying to address here? Which configuration did not work but does now? > --- > drivers/virtio/virtio_r

[PATCH] virtio: Make vring_new_virtqueue support for packed vring

2024-09-20 Thread Wenyu Huang
From: Wenyu Huang It's also available for packed ring now. Signed-off-by: Wenyu Huang --- drivers/virtio/virtio_ring.c | 153 +-- 1 file changed, 92 insertions(+), 61 deletions(-) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index be