Displaying 5 results from an estimated 5 matches for "virtqueue_add_split_premapped".
2023 Feb 20
1
[PATCH vhost 04/10] virtio_ring: split: introduce virtqueue_add_split_premapped()
...g_dma_dev(vq),
> > extra[i].addr,
> > extra[i].len,
> > @@ -788,6 +792,47 @@ static inline int virtqueue_add_split(struct virtqueue *_vq,
> > return err;
> > }
> >
> > +static inline int virtqueue_add_split_premapped(struct virtqueue *_vq,
> > + struct scatterlist *sgs[],
> > + unsigned int total_sg,
> > + unsigned int out_sgs,
> > +...
2023 Mar 07
1
[PATCH vhost v1 03/12] virtio_ring: split: introduce virtqueue_add_split_premapped()
On Tue, 7 Mar 2023 14:43:42 +0800, Jason Wang <jasowang at redhat.com> wrote:
> On Thu, Mar 2, 2023 at 7:59?PM Xuan Zhuo <xuanzhuo at linux.alibaba.com> wrote:
> >
> > virtqueue_add_split() only supports virtual addresses, dma is completed
> > in virtqueue_add_split().
> >
> > In some scenarios (such as the AF_XDP scenario), the memory is allocated
>
2023 Mar 07
2
[PATCH vhost v1 03/12] virtio_ring: split: introduce virtqueue_add_split_premapped()
On Thu, Mar 2, 2023 at 7:59?PM Xuan Zhuo <xuanzhuo at linux.alibaba.com> wrote:
>
> virtqueue_add_split() only supports virtual addresses, dma is completed
> in virtqueue_add_split().
>
> In some scenarios (such as the AF_XDP scenario), the memory is allocated
> and DMA is completed in advance, so it is necessary for us to support
> passing the DMA address to virtio
2023 Feb 14
11
[PATCH vhost 00/10] virtio core prepares for AF_XDP
...core
Please review.
Thanks.
Xuan Zhuo (10):
virtio_ring: split: refactor virtqueue_add_split() for premapped
virtio_ring: packed: separate prepare code from
virtuque_add_indirect_packed()
virtio_ring: packed: refactor virtqueue_add_packed() for premapped
virtio_ring: split: introduce virtqueue_add_split_premapped()
virtio_ring: packed: introduce virtqueue_add_packed_premapped()
virtio_ring: introduce virtqueue_add_inbuf_premapped()
virtio_ring: add api virtio_dma_map() for advance dma
virtio_ring: introduce dma sync api for virtio
virtio_ring: correct the expression of the description of
virtq...
2023 Mar 02
12
[PATCH vhost v1 00/12] virtio core prepares for AF_XDP
...Is to virtio core
Please review.
Thanks.
v1:
1. expose dma device. NO introduce the api for dma and sync
2. split some commit for review.
Xuan Zhuo (12):
virtio_ring: split: refactor virtqueue_add_split() for premapped
virtio_ring: split: separate DMA codes
virtio_ring: split: introduce virtqueue_add_split_premapped()
virtio_ring: packed: separate prepare code from
virtuque_add_indirect_packed()
virtio_ring: packed: refactor virtqueue_add_packed() for premapped
virtio_ring: packed: separate DMA codes
virtio_ring: packed: introduce virtqueue_add_packed_premapped()
virtio_ring: introduce virtqueue_...