From f7661b7803af4925944b09b73ef90e49027f5f2f Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Mon, 13 Mar 2023 13:51:25 +0000 Subject: T2516: Exclude veth interfaces from duplex and speed check Exclude interfaces with 'veth' driver from duplex and speed check --- python/vyos/ethtool.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py index 672ee2cc9..256c9535b 100644 --- a/python/vyos/ethtool.py +++ b/python/vyos/ethtool.py @@ -1,4 +1,4 @@ -# Copyright 2021 VyOS maintainers and contributors +# Copyright 2021-2023 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 @@ -19,7 +19,8 @@ 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'] +_drivers_without_speed_duplex_flow = ['vmxnet3', 'virtio_net', 'xen_netfront', + 'iavf', 'ice', 'i40e', 'veth'] class Ethtool: """ -- cgit v1.2.3