Skip to content

RFC don't clean packets in start_xmit in TX NAPI mode

Jason Wang lkml netdev virtualization 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio-net: factor out logic for stopping TXdrivers/net/virtio_net.c+22 -40 replies
2/2virtio-net: free old xmit skbs only in NAPIdrivers/net/virtio_net.c+18 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.34.1