From effbce27651daea4f0909f9c1640362b149dda80 Mon Sep 17 00:00:00 2001 From: pmikus Date: Tue, 16 May 2023 11:39:13 +0000 Subject: [PATCH] fix(core): AVF unbind Signed-off-by: pmikus Change-Id: Ifa3964f290d75ebae094d1d46ce27b5d133c2158 --- 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 ) -- 2.16.6