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:58 +0000
commit0d641cb121687152f0e9b2deb1267c184de00cf1 (patch)
tree62f5716313ad3a0467320e92baf0eb3f1aefafbf
parentdee2e19bbfdbaa944536db27310a539e2b725b0d (diff)
fix(core): AVF unbindoper-230515
Signed-off-by: pmikus <peter.mikus@protonmail.ch> Change-Id: Ifa3964f290d75ebae094d1d46ce27b5d133c2158 (cherry picked from commit 5c46025b176cc2c4a69414ddc663115a313bf1ac)
-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
)