summaryrefslogtreecommitdiffstats
path: root/net/netlink/genetlink.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-02-07 23:27:55 +0200
committerDavid S. Miller <davem@davemloft.net>2016-02-11 09:52:12 -0500
commit4456ed04ea44b800d691b18c14a68ec9894d2aca (patch)
treec29ff1cde178f4ea26f4648d30d6a5863d1eb089 /net/netlink/genetlink.c
parent809dc75e9b82fcae9c3c48b4eec4708c005259f3 (diff)
downloadop-kernel-dev-4456ed04ea44b800d691b18c14a68ec9894d2aca.zip
op-kernel-dev-4456ed04ea44b800d691b18c14a68ec9894d2aca.tar.gz
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>
Diffstat (limited to 'net/netlink/genetlink.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud