From 4351d6cebd29c3e3f43b4839e903077537dd200c Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Mon, 13 Mar 2023 13:32:48 +0000 Subject: [PATCH] T2516: Exclude veth interfaces from duplex and speed check Exclude interfaces with 'veth' driver from duplex and speed check --- python/vyos/ethtool.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py index abf8de688e..bc3402059f 100644 --- a/python/vyos/ethtool.py +++ b/python/vyos/ethtool.py @@ -1,4 +1,4 @@ -# Copyright 2021-2022 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 @@ -21,7 +21,7 @@ # 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'] + 'iavf', 'ice', 'i40e', 'hv_netvsc', 'veth'] class Ethtool: """