From 0d641cb121687152f0e9b2deb1267c184de00cf1 Mon Sep 17 00:00:00 2001 From: pmikus Date: Tue, 16 May 2023 11:39:13 +0000 Subject: fix(core): AVF unbind Signed-off-by: pmikus Change-Id: Ifa3964f290d75ebae094d1d46ce27b5d133c2158 (cherry picked from commit 5c46025b176cc2c4a69414ddc663115a313bf1ac) --- resources/libraries/python/InterfaceUtil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- cgit 1.2.3-korg