aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmikus <peter.mikus@protonmail.ch>2023-05-16 11:39:13 +0000
committerPeter Mikus <peter.mikus@protonmail.ch>2023-05-16 11:50:48 +0000
commiteffbce27651daea4f0909f9c1640362b149dda80 (patch)
tree007141e9b7037327bf05c5863e1bc25925ee2514
parent64ee27c7c884e4c408f0732955936aef6cf109c5 (diff)
fix(core): AVF unbind
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ifa3964f290d75ebae094d1d46ce27b5d133c2158
-rw-r--r--resources/libraries/python/InterfaceUtil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py
index 3ab96d1b4d..24a65e86a9 100644
--- a/resources/libraries/python/InterfaceUtil.py
+++ b/resources/libraries/python/InterfaceUtil.py
@@ -1888,7 +1888,7 @@ class InterfaceUtil:
current_driver = DUTSetup.get_pci_dev_driver(
node, vf_pci_addr.replace(":", r"\:")
)
- if current_driver and current_driver != uio_driver:
+ if current_driver:
DUTSetup.pci_vf_driver_unbind(
node, pf_pci_addr, vf_id
)