diff options
author | Daniil Baturin <daniil@vyos.io> | 2023-03-16 14:11:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 14:11:58 +0000 |
commit | 5dcaa00e5f782d80ee941ca948d71e6ad788f6d8 (patch) | |
tree | 99e1e0a543b73681c0a084898a588d663e30e479 /python/vyos/ethtool.py | |
parent | fda93b223239eb5040374754323ae51160785610 (diff) | |
parent | f7661b7803af4925944b09b73ef90e49027f5f2f (diff) | |
download | vyos-1x-5dcaa00e5f782d80ee941ca948d71e6ad788f6d8.tar.gz vyos-1x-5dcaa00e5f782d80ee941ca948d71e6ad788f6d8.zip |
Merge pull request #1887 from sever-sever/T2516-eq1.3.3-epa1
T2516: Exclude veth interfaces from duplex and speed check
Diffstat (limited to 'python/vyos/ethtool.py')
-rw-r--r-- | python/vyos/ethtool.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 <maintainers@vyos.io> +# Copyright 2021-2023 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 @@ -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: """ |