Bug 68581

Summary: Please make reported tun/tap link speed configurable
Product: Drivers Reporter: Andras Korn (korn-kernel.org)
Component: NetworkAssignee: drivers_network (drivers_network)
Status: NEW ---    
Severity: enhancement CC: alan, gert, stephen, szg00000
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.12.3 Subsystem:
Regression: No Bisected commit-id:

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