Re: [PATCH net-next] virtio-net: tweak for better TX performance in NAPI mode

From: Lei Yang
Date: Fri Feb 28 2025 - 05:11:21 EST


I tested this patch with virtio-net regression tests, everything works fine.

Tested-by: Lei Yang <leiyang@xxxxxxxxxx>

On Mon, Feb 24, 2025 at 4:20 PM <patchwork-bot+netdevbpf@xxxxxxxxxx> wrote:
>
> Hello:
>
> This patch was applied to netdev/net-next.git (main)
> by David S. Miller <davem@xxxxxxxxxxxxx>:
>
> On Tue, 18 Feb 2025 10:39:08 +0800 you wrote:
> > There are several issues existed in start_xmit():
> >
> > - Transmitted packets need to be freed before sending a packet, this
> > introduces delay and increases the average packets transmit
> > time. This also increase the time that spent in holding the TX lock.
> > - Notification is enabled after free_old_xmit_skbs() which will
> > introduce unnecessary interrupts if TX notification happens on the
> > same CPU that is doing the transmission now (actually, virtio-net
> > driver are optimized for this case).
> >
> > [...]
>
> Here is the summary with links:
> - [net-next] virtio-net: tweak for better TX performance in NAPI mode
> https://git.kernel.org/netdev/net-next/c/e13b6da7045f
>
> You are awesome, thank you!
> --
> Deet-doot-dot, I am a bot.
> https://korg.docs.kernel.org/patchwork/pwbot.html
>
>
>