diff options
author | David S. Miller <davem@davemloft.net> | 2016-02-07 14:30:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-07 14:30:55 -0500 |
commit | e63591933b16689268dac5db9cb2cab29c8dce54 (patch) | |
tree | 1e2505c493c436ad2caca684eedd8bcb50988027 /net/ipv4/tcp.c | |
parent | 13340a0a71c9a25fe801239eb82914db0ad070f6 (diff) | |
parent | 16032be56c1f66770da15cb94f0eb366c37aff6e (diff) |
Merge branch 'virtio_net_ethtool_settings'
Nikolay Aleksandrov says:
====================
virtio_net: add ethtool get/set settings support
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
v3: added a check to return error if the user tries to change anything else
besides duplex/speed as per Michael's comment
v4: Set port type to PORT_OTHER
v5: clear diff1.port (ignore port) when checking for changes since we set
it now and ethtool uses it in the set request
Sorry about the pointless iterations, should've all covered now.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
0 files changed, 0 insertions, 0 deletions