From: Nikolay Aleksandrov <redacted>
Hi,
Patch 1 adds ethtool speed/duplex validation functions which check if the
value is defined. Patch 2 adds support for ethtool (get|set)_settings and
uses the validation functions to check the user-supplied values.
v2: split in 2 patches to allow everyone to make use of the validation
functions and allow virtio_net devices to be half duplex
Cheers,
Nik
Nikolay Aleksandrov (2):
ethtool: add speed/duplex validation functions
virtio_net: add ethtool support for set and get of settings
drivers/net/virtio_net.c | 41 +++++++++++++++++++++++++++++++++++++++++
include/uapi/linux/ethtool.h | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
--
2.4.3