ethtool: add speed/duplex validation functions
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Wed, 3 Feb 2016 03:04:36 +0000 (04:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Feb 2016 19:30:45 +0000 (14:30 -0500)
commit103a8ad1fa3b261c78dfc842cb315defe9d40be0
tree6d5a59bcdac0b7dec295944a26830752ea099935
parent13340a0a71c9a25fe801239eb82914db0ad070f6
ethtool: add speed/duplex validation functions

Add functions which check if the speed/duplex are defined.

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