Re: [PATCH net-next 0/5] virtio-net: sq support premapped mode

2024-02-22 Thread Xuan Zhuo
On Thu, 22 Feb 2024 14:45:08 -0500, "Michael S. Tsirkin" wrote: > On Tue, Jan 16, 2024 at 03:59:19PM +0800, Xuan Zhuo wrote: > > This is the second part of virtio-net support AF_XDP zero copy. > > My understanding is, there's going to be another version of all > this work? YES. http://lore.kern

Re: [PATCH net-next 0/5] virtio-net: sq support premapped mode

2024-02-22 Thread Michael S. Tsirkin
On Tue, Jan 16, 2024 at 03:59:19PM +0800, Xuan Zhuo wrote: > This is the second part of virtio-net support AF_XDP zero copy. My understanding is, there's going to be another version of all this work? -- MST

Re: [PATCH net-next 1/5] virtio_ring: introduce virtqueue_get_buf_ctx_dma()

2024-02-22 Thread Michael S. Tsirkin
On Tue, Jan 16, 2024 at 03:59:20PM +0800, Xuan Zhuo wrote: > introduce virtqueue_get_buf_ctx_dma() to collect the dma info when > get buf from virtio core for premapped mode. > > If the virtio queue is premapped mode, the virtio-net send buf may > have many desc. Every desc dma address need to be