search for: virtio_dma_map_page

Displaying 8 results from an estimated 8 matches for "virtio_dma_map_page".

2023 Feb 21
2
[PATCH vhost 07/10] virtio_ring: add api virtio_dma_map() for advance dma
.../virtio/virtio_ring.c > > > +++ b/drivers/virtio/virtio_ring.c > > > @@ -3172,4 +3172,96 @@ const struct vring *virtqueue_get_vring(struct virtqueue *vq) > > > } > > > EXPORT_SYMBOL_GPL(virtqueue_get_vring); > > > > > > +/** > > > + * virtio_dma_map_page - get the DMA addr of the memory for virtio device > > > + * @dev: virtio device > > > + * @page: the page of the memory to DMA > > > + * @offset: the offset of the memory inside page > > > + * @length: memory length > > > + * @dir: DMA direction > &g...
2023 Feb 21
2
[PATCH vhost 07/10] virtio_ring: add api virtio_dma_map() for advance dma
.../virtio/virtio_ring.c > > > +++ b/drivers/virtio/virtio_ring.c > > > @@ -3172,4 +3172,96 @@ const struct vring *virtqueue_get_vring(struct virtqueue *vq) > > > } > > > EXPORT_SYMBOL_GPL(virtqueue_get_vring); > > > > > > +/** > > > + * virtio_dma_map_page - get the DMA addr of the memory for virtio device > > > + * @dev: virtio device > > > + * @page: the page of the memory to DMA > > > + * @offset: the offset of the memory inside page > > > + * @length: memory length > > > + * @dir: DMA direction > &g...
2023 Feb 20
1
[PATCH vhost 07/10] virtio_ring: add api virtio_dma_map() for advance dma
...9c7f 100644 > > --- a/drivers/virtio/virtio_ring.c > > +++ b/drivers/virtio/virtio_ring.c > > @@ -3172,4 +3172,96 @@ const struct vring *virtqueue_get_vring(struct virtqueue *vq) > > } > > EXPORT_SYMBOL_GPL(virtqueue_get_vring); > > > > +/** > > + * virtio_dma_map_page - get the DMA addr of the memory for virtio device > > + * @dev: virtio device > > + * @page: the page of the memory to DMA > > + * @offset: the offset of the memory inside page > > + * @length: memory length > > + * @dir: DMA direction > > + * > > + * This...
2023 Mar 02
1
[PATCH vhost 07/10] virtio_ring: add api virtio_dma_map() for advance dma
...rtio_ring.c > > > > > @@ -3172,4 +3172,96 @@ const struct vring *virtqueue_get_vring(struct virtqueue *vq) > > > > > } > > > > > EXPORT_SYMBOL_GPL(virtqueue_get_vring); > > > > > > > > > > +/** > > > > > + * virtio_dma_map_page - get the DMA addr of the memory for virtio device > > > > > + * @dev: virtio device > > > > > + * @page: the page of the memory to DMA > > > > > + * @offset: the offset of the memory inside page > > > > > + * @length: memory length > &...
2023 Mar 02
1
[PATCH vhost 07/10] virtio_ring: add api virtio_dma_map() for advance dma
...; > > @@ -3172,4 +3172,96 @@ const struct vring *virtqueue_get_vring(struct virtqueue *vq) > > > > > > } > > > > > > EXPORT_SYMBOL_GPL(virtqueue_get_vring); > > > > > > > > > > > > +/** > > > > > > + * virtio_dma_map_page - get the DMA addr of the memory for virtio device > > > > > > + * @dev: virtio device > > > > > > + * @page: the page of the memory to DMA > > > > > > + * @offset: the offset of the memory inside page > > > > > > + * @length:...
2023 Mar 02
2
[PATCH vhost 07/10] virtio_ring: add api virtio_dma_map() for advance dma
...struct virtqueue *vq) > > > > > > > > > } > > > > > > > > > EXPORT_SYMBOL_GPL(virtqueue_get_vring); > > > > > > > > > > > > > > > > > > +/** > > > > > > > > > + * virtio_dma_map_page - get the DMA addr of the memory for virtio device > > > > > > > > > + * @dev: virtio device > > > > > > > > > + * @page: the page of the memory to DMA > > > > > > > > > + * @offset: the offset of the memory inside pag...
2023 Mar 02
1
[PATCH vhost 07/10] virtio_ring: add api virtio_dma_map() for advance dma
...172,96 @@ const struct vring *virtqueue_get_vring(struct virtqueue *vq) > > > > > > > } > > > > > > > EXPORT_SYMBOL_GPL(virtqueue_get_vring); > > > > > > > > > > > > > > +/** > > > > > > > + * virtio_dma_map_page - get the DMA addr of the memory for virtio device > > > > > > > + * @dev: virtio device > > > > > > > + * @page: the page of the memory to DMA > > > > > > > + * @offset: the offset of the memory inside page > > > > > &gt...
2023 Feb 14
11
[PATCH vhost 00/10] virtio core prepares for AF_XDP
XDP socket(AF_XDP) is an excellent bypass kernel network framework. The zero copy feature of xsk (XDP socket) needs to be supported by the driver. The performance of zero copy is very good. ENV: Qemu with vhost. vhost cpu | Guest APP CPU |Guest Softirq CPU | PPS -----------------------------|---------------|------------------|------------ xmit by sockperf: 90% | 100%