ethtool: future-proof interface for speed extensions
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 7 Feb 2016 21:27:55 +0000 (23:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 14:52:12 +0000 (09:52 -0500)
commit4456ed04ea44b800d691b18c14a68ec9894d2aca
treec29ff1cde178f4ea26f4648d30d6a5863d1eb089
parent809dc75e9b82fcae9c3c48b4eec4708c005259f3
ethtool: future-proof interface for speed extensions

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 conflict with SPEED_UNKNOWN.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/ethtool.h