On Thu, 25 Jan 2024 14:14:58 +0800, Jason Wang wrote:
> On Thu, Jan 25, 2024 at 1:52 PM Xuan Zhuo wrote:
> >
> > On Thu, 25 Jan 2024 13:42:05 +0800, Xuan Zhuo
> > wrote:
> > > On Thu, 25 Jan 2024 11:39:28 +0800, Jason Wang
> > > wrote:
> > > > On Tue, Jan 16, 2024 at 3:59 PM Xuan Zhuo
> > >
On Thu, 25 Jan 2024 11:39:20 +0800, Jason Wang wrote:
> On Tue, Jan 16, 2024 at 3:59 PM Xuan Zhuo wrote:
> >
> > If the xsk is enabling, the xsk tx will share the send queue.
>
> Any reason for this? Technically, virtio-net can work as other NIC
> like 256 queues. There could be some work like op
On Thu, Jan 25, 2024 at 1:52 PM Xuan Zhuo wrote:
>
> On Thu, 25 Jan 2024 13:42:05 +0800, Xuan Zhuo
> wrote:
> > On Thu, 25 Jan 2024 11:39:28 +0800, Jason Wang wrote:
> > > On Tue, Jan 16, 2024 at 3:59 PM Xuan Zhuo
> > > wrote:
> > > >
> > > > This is the second part of virtio-net support AF_X
On Thu, 25 Jan 2024 11:39:03 +0800, Jason Wang wrote:
> On Tue, Jan 16, 2024 at 3:59 PM Xuan Zhuo wrote:
> >
> > Introduce helper virtqueue_get_dma_premapped(), then the driver
> > can know whether dma unmap is needed.
> >
> > Signed-off-by: Xuan Zhuo
> > ---
> > drivers/net/virtio/main.c
On Thu, 25 Jan 2024 13:42:05 +0800, Xuan Zhuo
wrote:
> On Thu, 25 Jan 2024 11:39:28 +0800, Jason Wang wrote:
> > On Tue, Jan 16, 2024 at 3:59 PM Xuan Zhuo
> > wrote:
> > >
> > > This is the second part of virtio-net support AF_XDP zero copy.
> > >
> > > The whole patch set
> > > http://lore.ke
On Thu, 25 Jan 2024 11:39:28 +0800, Jason Wang wrote:
> On Tue, Jan 16, 2024 at 3:59 PM Xuan Zhuo wrote:
> >
> > This is the second part of virtio-net support AF_XDP zero copy.
> >
> > The whole patch set
> > http://lore.kernel.org/all/20231229073108.57778-1-xuanz...@linux.alibaba.com
> >
> > ##
On Tue, Jan 16, 2024 at 3:59 PM Xuan Zhuo wrote:
>
> This is the second part of virtio-net support AF_XDP zero copy.
>
> The whole patch set
> http://lore.kernel.org/all/20231229073108.57778-1-xuanz...@linux.alibaba.com
>
> ## About the branch
>
> This patch set is pushed to the net-next branch, b
On Tue, Jan 16, 2024 at 3:59 PM Xuan Zhuo wrote:
>
> If the xsk is enabling, the xsk tx will share the send queue.
Any reason for this? Technically, virtio-net can work as other NIC
like 256 queues. There could be some work like optimizing the
interrupt allocations etc.
> But the xsk requires th
On Tue, Jan 16, 2024 at 3:59 PM Xuan Zhuo wrote:
>
> Introduce helper virtqueue_get_dma_premapped(), then the driver
> can know whether dma unmap is needed.
>
> Signed-off-by: Xuan Zhuo
> ---
> drivers/net/virtio/main.c | 22 +-
> drivers/net/virtio/virtio_net.h | 3 --