diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-11 21:12:38 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-11 21:12:38 +0200 |
commit | 02f2700d4e3742bacf534c5bd6c4118c66a18aff (patch) | |
tree | 9012c8acce2ddac7556d38b504bc26ea7627db4d /python | |
parent | d214d689a6c01b333f62362457959b5cfd48f9f5 (diff) | |
download | vyos-1x-02f2700d4e3742bacf534c5bd6c4118c66a18aff.tar.gz vyos-1x-02f2700d4e3742bacf534c5bd6c4118c66a18aff.zip |
vyos.ethtool: T4327: add Hyper-V NIC driver to speed/duplex ignore list
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/ethtool.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py index 672ee2cc9..2b6012a73 100644 --- a/python/vyos/ethtool.py +++ b/python/vyos/ethtool.py @@ -1,4 +1,4 @@ -# Copyright 2021 VyOS maintainers and contributors <maintainers@vyos.io> +# Copyright 2021-2022 VyOS maintainers and contributors <maintainers@vyos.io> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -18,8 +18,10 @@ import re from vyos.util import popen -# These drivers do not support using ethtool to change the speed, duplex, or flow control settings -_drivers_without_speed_duplex_flow = ['vmxnet3', 'virtio_net', 'xen_netfront', 'iavf', 'ice', 'i40e'] +# These drivers do not support using ethtool to change the speed, duplex, or +# flow control settings +_drivers_without_speed_duplex_flow = ['vmxnet3', 'virtio_net', 'xen_netfront', + 'iavf', 'ice', 'i40e', 'hv_netvsc'] class Ethtool: """ |