Skip to content

tun: dynamically set speed of tun

Zhu Yanjun netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 17 repliesIn review
  2. v21 patch 5 repliesSuperseded
  3. v11 patch 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1tun: change speed from 10M to dynamically configureddrivers/net/tun.c include/uapi/linux/if_tun.h+47 -117 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchSergei ShtylyovJonathon ReinhartAndy Gospodarek
1/1R-b R-b A-b

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 v3 thread

Cover letter [PATCH V3 0/1] tun: dynamically set speed of tun

V3:

Follow the advice from Jonathon Reinhart, a new patch is made.

V2:

Follow the advice from Sergei, a new patch is made.

V1:

The default speed of tun is 10M while the normal nic speed is 1000M. When the speed of tun is accessed by the userspace application, the default 10M is not proper. In this case, the default tun speed is changed to 1000M. And this speed can be dynamically configured by the command "ethtool -s tunX speed 10/100/1000".

Zhu Yanjun (1):
tun: change speed from 10M to dynamically configured

 drivers/net/tun.c           | 42 +++++++++++++++++++++++++++++++++++++++++-
 include/uapi/linux/if_tun.h |  5 +++++
 2 files changed, 46 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.1