Re: [PATCH vhost v10 07/10] virtio_ring: introduce helpers for premapped

2023-06-22 Thread Michael S. Tsirkin
On Fri, Jun 02, 2023 at 05:22:03PM +0800, Xuan Zhuo wrote: > This patch introduces three helpers for premapped mode. > > * virtqueue_get_buf_premapped > * virtqueue_detach_unused_buf_premapped > > The above helpers work like the non-premapped funcs. But a cursor is > passed. > > virtqueue_detach

Re: [PATCH vhost v10 07/10] virtio_ring: introduce helpers for premapped

2023-06-05 Thread Xuan Zhuo
On Mon, 5 Jun 2023 01:38:48 -0400, "Michael S. Tsirkin" wrote: > On Mon, Jun 05, 2023 at 10:06:51AM +0800, Xuan Zhuo wrote: > > On Sun, 4 Jun 2023 09:45:14 -0400, "Michael S. Tsirkin" > > wrote: > > > On Fri, Jun 02, 2023 at 05:22:03PM +0800, Xuan Zhuo wrote: > > > > This patch introduces three

Re: [PATCH vhost v10 07/10] virtio_ring: introduce helpers for premapped

2023-06-04 Thread Michael S. Tsirkin
On Mon, Jun 05, 2023 at 10:06:51AM +0800, Xuan Zhuo wrote: > On Sun, 4 Jun 2023 09:45:14 -0400, "Michael S. Tsirkin" > wrote: > > On Fri, Jun 02, 2023 at 05:22:03PM +0800, Xuan Zhuo wrote: > > > This patch introduces three helpers for premapped mode. > > > > > > * virtqueue_get_buf_premapped > >

Re: [PATCH vhost v10 07/10] virtio_ring: introduce helpers for premapped

2023-06-04 Thread Xuan Zhuo
On Sun, 4 Jun 2023 09:45:14 -0400, "Michael S. Tsirkin" wrote: > On Fri, Jun 02, 2023 at 05:22:03PM +0800, Xuan Zhuo wrote: > > This patch introduces three helpers for premapped mode. > > > > * virtqueue_get_buf_premapped > > * virtqueue_detach_unused_buf_premapped > > > > The above helpers work l

Re: [PATCH vhost v10 07/10] virtio_ring: introduce helpers for premapped

2023-06-04 Thread Michael S. Tsirkin
On Fri, Jun 02, 2023 at 05:22:03PM +0800, Xuan Zhuo wrote: > This patch introduces three helpers for premapped mode. > > * virtqueue_get_buf_premapped > * virtqueue_detach_unused_buf_premapped > > The above helpers work like the non-premapped funcs. But a cursor is > passed. > > virtqueue_detach