[PATCH net-next RFC 0/2] don't clean packets in start_xmit in TX NAPI mode

From: Jason Wang
Date: Wed Jan 22 2025 - 01:16:34 EST


Hi all:

This is an RFC to try to speed up TX by avoid cleaning transmitted
packets in start_xmit() when TX NAPI mode is enabled. This increase
25%-62% PPS depending on the setups while keeping the TCP throughput.

More numbers could be seen in patch 2.

Thanks

Jason Wang (2):
virtio-net: factor out logic for stopping TX
virtio-net: free old xmit skbs only in NAPI

drivers/net/virtio_net.c | 53 ++++++++++++++++++++++++++++++----------
1 file changed, 40 insertions(+), 13 deletions(-)

--
2.34.1