netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/1] tun: dynamically set speed of tun
@ 2015-02-13  3:35 Zhu Yanjun
  2015-02-13  3:35 ` [PATCH V2 1/1] tun: change speed from 10M to dynamically configured Zhu Yanjun
  0 siblings, 1 reply; 7+ messages in thread
From: Zhu Yanjun @ 2015-02-13  3:35 UTC (permalink / raw)
  To: netdev, mst, jasowang, viro, davem, sergei.shtylyov

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(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-13 10:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-13  3:35 [PATCH V2 0/1] tun: dynamically set speed of tun Zhu Yanjun
2015-02-13  3:35 ` [PATCH V2 1/1] tun: change speed from 10M to dynamically configured Zhu Yanjun
2015-02-13  3:44   ` Jonathon Reinhart
2015-02-13  5:31     ` yzhu1
2015-02-13  5:42       ` Jonathon Reinhart
2015-02-13  5:56         ` yzhu1
2015-02-13 10:37   ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).