diff options
author | pmikus <peter.mikus@protonmail.ch> | 2023-05-16 11:39:13 +0000 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2023-05-16 11:50:58 +0000 |
commit | 0d641cb121687152f0e9b2deb1267c184de00cf1 (patch) | |
tree | 62f5716313ad3a0467320e92baf0eb3f1aefafbf /resources/libraries/python | |
parent | dee2e19bbfdbaa944536db27310a539e2b725b0d (diff) |
fix(core): AVF unbindoper-230515
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: Ifa3964f290d75ebae094d1d46ce27b5d133c2158
(cherry picked from commit 5c46025b176cc2c4a69414ddc663115a313bf1ac)
Diffstat (limited to 'resources/libraries/python')
-rw-r--r-- | resources/libraries/python/InterfaceUtil.py | 2 |
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 ) |