Thread (7 messages) 7 messages, 4 authors, 2025-02-28

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

From: Lei Yang <hidden>
Date: 2025-02-28 10:04:36
Also in: lkml, virtualization

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

Tested-by: Lei Yang <redacted>

On Mon, Feb 24, 2025 at 4:20 PM [off-list ref] wrote:
Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller [off-list ref]:

On Tue, 18 Feb 2025 10:39:08 +0800 you wrote:
quoted
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

  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help