summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcuongdt1994 <63875204+cuongdt1994@users.noreply.github.com>2023-06-14 19:09:13 +0700
committercuongdt1994 <63875204+cuongdt1994@users.noreply.github.com>2023-06-14 19:09:13 +0700
commitfed4261d79a0ffb3780e9ed2fd3ccb524a248b7e (patch)
treebbb4c61b7591e49172738c532bce5c7503f23415
parentdd1cdc4ec18ef000f39228f773e1ceafc9fce766 (diff)
downloadvyos-1x-fed4261d79a0ffb3780e9ed2fd3ccb524a248b7e.tar.gz
vyos-1x-fed4261d79a0ffb3780e9ed2fd3ccb524a248b7e.zip
T5290: Failing commits for SR-IOV interfaces using ixgbevf driver due to change speed/duplex settings
This is the same problem as reported in T4297. By definition it is not possible to change speed and duplex settings at SR-IOV virtual functions driven by ixgbevf driver. I think the solution is the same as well, that is to add 'ixgbevf' into _drivers_without_speed_duplex_flow in /usr/lib/python3/dist-packages/vyos/ethtool.py. It fixed the problem for me with Intel x520 NICs.
-rw-r--r--python/vyos/ethtool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ethtool.py b/python/vyos/ethtool.py
index 1b1e54dfb..68234089c 100644
--- a/python/vyos/ethtool.py
+++ b/python/vyos/ethtool.py
@@ -21,7 +21,7 @@ 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', 'hv_netvsc', 'veth']
+ 'iavf', 'ice', 'i40e', 'hv_netvsc', 'veth', 'ixgbevf']
class Ethtool:
"""