From: Stephen Hemminger Subject: Re: [PATCH 1/1] tun: change speed from 10M to dynamically configured Date: Thu, 12 Feb 2015 04:55:58 -0800 Message-ID: <20150212045558.5091262a@uryu.home.lan> References: <1423719323-4667-1-git-send-email-Yanjun.Zhu@windriver.com> <1423719323-4667-2-git-send-email-Yanjun.Zhu@windriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: , , , , To: Zhu Yanjun Return-path: Received: from mail-ie0-f176.google.com ([209.85.223.176]:44543 "EHLO mail-ie0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751846AbbBLM4D (ORCPT ); Thu, 12 Feb 2015 07:56:03 -0500 Received: by iecar1 with SMTP id ar1so11484595iec.11 for ; Thu, 12 Feb 2015 04:56:02 -0800 (PST) In-Reply-To: <1423719323-4667-2-git-send-email-Yanjun.Zhu@windriver.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 12 Feb 2015 13:35:23 +0800 Zhu Yanjun wrote: > From: Zhu Yanjun > > The default speed of normal nic is 1000M while the default speed > of tun is 10M. Now the default speed of tun is changed to 1000M. > And there are 3 options: 10M, 100M and 1000M to the speed of tun. > The command "ethtool -s tun0 speed 10/100/1000" can configure the > speed of tun dynamically. > > CC: Michael S. Tsirkin > CC: Jason Wang > CC: Al Viro > Signed-off-by: Zhu Yanjun > Signed-off-by: Zhu Yanjun Why limit to 10/100/1000 speed? Ethtool speed can be any value >