From 02f2700d4e3742bacf534c5bd6c4118c66a18aff Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 11 Apr 2022 21:12:38 +0200 Subject: vyos.ethtool: T4327: add Hyper-V NIC driver to speed/duplex ignore list --- python/vyos/ethtool.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'python/vyos') 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 +# Copyright 2021-2022 VyOS maintainers and contributors # # 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: """ -- cgit v1.2.3