Re: [PATCH repost net-next] ethtool: future-proof interface for speed extensions

2016-02-11 Thread David Miller
From: "Michael S. Tsirkin" Date: Sun, 7 Feb 2016 23:27:55 +0200 > Many virtual and not quite virtual devices allow any speed to be set > through ethtool. In particular, this applies to the virtio-net devices. > Document this fact to make sure people don't assume the enum lists all > possible valu

[PATCH repost net-next] ethtool: future-proof interface for speed extensions

2016-02-07 Thread Michael S. Tsirkin
Many virtual and not quite virtual devices allow any speed to be set through ethtool. In particular, this applies to the virtio-net devices. Document this fact to make sure people don't assume the enum lists all possible values. Reserve values greater than INT_MAX for future extension and to avoid