search for: xdp_socket

Displaying 4 results from an estimated 4 matches for "xdp_socket".

Did you mean: udp_socket
2023 Mar 02
1
[PATCH vhost 07/10] virtio_ring: add api virtio_dma_map() for advance dma
...tiated, advertising a DMA dev without > > dma_ops. > > > Do you mean we provide this API? > > virtio_get_dma_dev() > > If it returns NULL, the caller will use the physical memory address directly. If > this func return a dma_dev, the caller should use DMA API. cc the XDP_SOCKET's maintainers. First of all, Jason does not want to encapsulate the API of DMA by Virtio. It is best to pass DMA Device to XSK, XSK uses DMA API for DMA MAP operation directly. I agree with this idea. However, there are several problems under Virtio: 1. In some virtualization scenarios, we do...
2023 Mar 02
1
[PATCH vhost 07/10] virtio_ring: add api virtio_dma_map() for advance dma
...ps. > > > > > > Do you mean we provide this API? > > > > virtio_get_dma_dev() > > > > If it returns NULL, the caller will use the physical memory address directly. If > > this func return a dma_dev, the caller should use DMA API. > > > cc the XDP_SOCKET's maintainers. > > First of all, Jason does not want to encapsulate the API of DMA by Virtio. It is > best to pass DMA Device to XSK, XSK uses DMA API for DMA MAP operation directly. > I agree with this idea. > > However, there are several problems under Virtio: > 1. In som...
2023 Mar 02
2
[PATCH vhost 07/10] virtio_ring: add api virtio_dma_map() for advance dma
...tio_get_dma_dev() > > > > > > > > > > If it returns NULL, the caller will use the physical memory address directly. If > > > > > this func return a dma_dev, the caller should use DMA API. > > > > > > > > > > > > cc the XDP_SOCKET's maintainers. > > > > > > > > First of all, Jason does not want to encapsulate the API of DMA by Virtio. It is > > > > best to pass DMA Device to XSK, XSK uses DMA API for DMA MAP operation directly. > > > > I agree with this idea. > > >...
2023 Mar 02
1
[PATCH vhost 07/10] virtio_ring: add api virtio_dma_map() for advance dma
...mean we provide this API? > > > > > > virtio_get_dma_dev() > > > > > > If it returns NULL, the caller will use the physical memory address directly. If > > > this func return a dma_dev, the caller should use DMA API. > > > > > > cc the XDP_SOCKET's maintainers. > > > > First of all, Jason does not want to encapsulate the API of DMA by Virtio. It is > > best to pass DMA Device to XSK, XSK uses DMA API for DMA MAP operation directly. > > I agree with this idea. > > > > However, there are several problem...