Skip to content

RFC tun: lockless xmit

Paolo Abeni netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tun: don't require serialization lock on txdrivers/net/tun.c+1 -110 replies
2/2tun: don't set a default qdiscdrivers/net/tun.c+1 -09 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchEric DumazetJason WangHannes Frederic Sowa
1/2A-b A-b A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH RFC 0/2] tun: lockless xmit

This patch series try to remove the need for any lock in the tun device xmit path, significantly improving the forwarding performance when multiple processes are accessing the tun device (i.e. in a nic->bridge->tun->vm scenario).

The lockless xmit is obtained explicitly setting the NETIF_F_LLTX feature bit and removing the default qdisc.

Unlikely most virtual devices, the tun driver has featured a default qdisc for a long period, but it already lost such feature in linux 4.3.

Paolo Abeni (2):
tun: don't require serialization lock on tx
tun: don't set a default qdisc

 drivers/net/tun.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
1.8.3.1