Bug 68581 - Please make reported tun/tap link speed configurable
Summary: Please make reported tun/tap link speed configurable
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Network (show other bugs)
Hardware: All Linux
: P1 enhancement
Assignee: drivers_network@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-11 20:53 UTC by Andras Korn
Modified: 2016-03-19 17:26 UTC (History)
4 users (show)

See Also:
Kernel Version: 3.12.3
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Andras Korn 2014-01-11 20:53:22 UTC
Hi,

currently tun.c has this:

/* ethtool interface */
static int tun_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
{

    cmd->supported = 0;
    cmd->advertising = 0;
    ethtool_cmd_speed_set(cmd, SPEED_10);

However, when load balancing over e.g. OpenVPN links, it would be great to be able to set the speed of a link (which manifests as a tun or tap device) to some specific value. (Of course, if only common Ethernet speeds such as 10, 100, 1000 and 10000 are supported by the ethtool interface, then this would still be less than ideal.)
Comment 1 Alan 2014-01-13 15:27:11 UTC
Previous discussion at

http://www.spinics.net/lists/netdev/msg243955.html

Not sure where it went after that

Note You need to log in before you can comment on or make changes to this bug.