mbox series

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

Message ID 20250122061600.16781-1-jasowang@redhat.com (mailing list archive)
Headers show
Series don't clean packets in start_xmit in TX NAPI mode | expand

Message

Jason Wang Jan. 22, 2025, 6:15 a.m. UTC
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(-)